asmodaisda
30/01/2014, 14h44
Bonjour,
J'ai installer asterisk sous debian (apt-get)
Apres avoir configurer le sip.conf et le extension.conf mes telephones s'enregistre sans erreur mais lorsque j'essaye de passer une communication en interne j'ai ces messages :
[Jan 30 13:43:07] NOTICE[11076]: chan_sip.c:22753 handle_request_invite: Call from '112' (192.168.1.211:5060) to extension '111' rejected because extension not found in context 'default'.
[Jan 30 13:43:13] NOTICE[11076]: chan_sip.c:22753 handle_request_invite: Call from '111' (192.168.1.212:5060) to extension '112' rejected because extension not found in context 'default'.
sip.conf :
[general]
port=5060
disallow=all
allow=gsm
allow=alaw
allow=ulaw
[111]
type=friend
host=dynamic
username=111
secret=test
callerid="poste1" <111>
context=default
[112]
type=friend
host=dynamic
username=112
secret=test
callerid="poste2" <112>
context=default
extensions.conf
[general]
[default]
exten => 111,1,Dial(SIP/poste1,10,tr)
exten => 111,2,Voicemail(111)
exten => 111,3,playBack(vm-goodbye)
exten => 111,4,HangUp()
exten => 112,1,Dial(SIP/poste1,10,tr)
exten => 112,2,Voicemail(112)
exten => 112,3,playBack(vm-goodbye)
exten => 112,4,HangUp()
Par avance merci ;)
J'ai installer asterisk sous debian (apt-get)
Apres avoir configurer le sip.conf et le extension.conf mes telephones s'enregistre sans erreur mais lorsque j'essaye de passer une communication en interne j'ai ces messages :
[Jan 30 13:43:07] NOTICE[11076]: chan_sip.c:22753 handle_request_invite: Call from '112' (192.168.1.211:5060) to extension '111' rejected because extension not found in context 'default'.
[Jan 30 13:43:13] NOTICE[11076]: chan_sip.c:22753 handle_request_invite: Call from '111' (192.168.1.212:5060) to extension '112' rejected because extension not found in context 'default'.
sip.conf :
[general]
port=5060
disallow=all
allow=gsm
allow=alaw
allow=ulaw
[111]
type=friend
host=dynamic
username=111
secret=test
callerid="poste1" <111>
context=default
[112]
type=friend
host=dynamic
username=112
secret=test
callerid="poste2" <112>
context=default
extensions.conf
[general]
[default]
exten => 111,1,Dial(SIP/poste1,10,tr)
exten => 111,2,Voicemail(111)
exten => 111,3,playBack(vm-goodbye)
exten => 111,4,HangUp()
exten => 112,1,Dial(SIP/poste1,10,tr)
exten => 112,2,Voicemail(112)
exten => 112,3,playBack(vm-goodbye)
exten => 112,4,HangUp()
Par avance merci ;)