A
A
Alexander2015-08-03 15:14:30
Asterisk
Alexander, 2015-08-03 15:14:30

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'.

extensions.conf parameters:
[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

2 answer(s)
A
Alexander, 2015-08-03
@Urgarth

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.

V
Vladimir, 2015-08-03
@rostel

[input]
exten => наш номер телефона,1,Dial(SIP/101&SIP/102,30)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question