Answer the question
In order to leave comments, you need to log in
Asterisk lost extensions?
Hello! Asterisk stopped seeing extensions in contexts, rejects everything. It used to work properly, please help me figure it out?
Call from 'prov' (IP провайдера:5060) to extension 'наш номер телефона' rejected because extension not found in context 'input'.
[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=DAHDI/G2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[наш номер телефона]
exten => _XXX,1,Dial(SIP/${EXTEN})
exten => _XXXXXX,1,Dial(SIP/prov/${EXTEN})
exten => _8XXXXXXXXXX,1,Dial(SIP/prov/${EXTEN})
exten => _+7XXXXXXXXXX,1,Dial(SIP/prov/8${EXTEN:2})
[input]
exten => наш номер телефона,n,Dial(SIP/101&SIP/102,30)
Answer the question
In order to leave comments, you need to log in
solution - the problem was with changing the owner of the extensions.conf file, opened it on Mac OS, via SFTP, apparently the owner has changed. After returning the rights to the file to the asterisk, everything worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question