Re: Проблема с SIP
Хм... Вообще не понял почему, но после перезагрузки сервака, вроде как релоад появился....
ну а вот при звонке с номера 1001 на номер 1002 ругается:
TICE[1646] chan_sip.c: Received SIP subscribe for peer without mailbox: 1002
[Aug 13 17:01:23] WARNING[1653] pbx.c: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Verbose(1|Extensions 1001))
[Aug 13 17:01:23] VERBOSE[1653] app_verbose.c: 1|Extensions 1001
[Aug 13 17:01:23] WARNING[1653] app_dial.c: Unable to create channel of type 'Sip' (cause 20 - Unknown)
[Aug 13 17:02:20] NOTICE[1646] chan_sip.c: Received SIP subscribe for peer without mailbox: 1002
вот sip.conf:
Файл: sip.conf Строка 1 Позиция 0 234 байт 100%
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[authentication]
[1001]
type=friend
context=phones
host=dynamic
secret=test1001
[1002]
type=friend
context=phones
host=dynamic
secret=test1002
ну а вот extensions.conf
[globals]
[general]
autofallthrought=yes
[default]
exten => s,1,Verbouse(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => 1001,1,Verbose(1|Extensions 1001)
exten => 1001,n,Dial(Sip/1001,30)
exten => 1001,n,Hangup()
exten => 1002,1,Verbose(1|Extensions 1002)
exten => 1002,n,Dial(Sip/1002,30)
exten => 1002,n,Hangup()
exten => 500,1,Verbose(1|Echo test application)
exten =>500,n,Echo()
exten => 500,n,Hangup()
[phones]
include => internal
|