Hi there,
I register carrier with account entry:
disallow=all
allow=alaw
type=friend
host=ip address
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
and Dialplan entry:
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/CablenetSIP/${EXTEN:2},,tTor)
exten => _X.,3,Hangup
I create also 2 extensions 201 and 202 and try to make call.Bellow is what I got...
[Aug 30 14:34:07] -- Executing [202@default:1] Dial("SIP/201-00000006", "SIP/202|60|") in new stack
[Aug 30 14:34:07] WARNING[8171]: pbx.c:1442 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Dial(SIP/202|60|))
[Aug 30 14:34:07] == Using SIP RTP CoS mark 5
[Aug 30 14:34:11] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 30 14:34:40] ERROR[8171]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("202|60|", "(null)", ...): System error
[Aug 30 14:34:40] WARNING[8171]: chan_sip.c:5865 create_addr: No such host: 202|60|
[Aug 30 14:34:40] WARNING[8171]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Aug 30 14:34:40] == Everyone is busy/congested at this time (1:0/0/1)
[Aug 30 14:34:40] -- Executing [202@default:2] Goto("SIP/201-00000006", "default,85026666666666202,1") in new stack
[Aug 30 14:34:40] -- Goto (default,85026666666666202,1)
[Aug 30 14:34:40] -- Executing [85026666666666202@default:1] Wait("SIP/201-00000006", "1") in new stack
[Aug 30 14:34:41] -- Executing [85026666666666202@default:2] VoiceMail("SIP/201-00000006", "202,u") in new stack
[Aug 30 14:34:42] WARNING[8171]: file.c:666 ast_openstream_full: File vm-theperson does not exist in any format
[Aug 30 14:34:42] WARNING[8171]: file.c:957 ast_streamfile: Unable to open vm-theperson (format 0x4 (ulaw)): No such file or directory
[Aug 30 14:34:42] == Spawn extension (default, 85026666666666202, 2) exited non-zero on 'SIP/201-00000006'
[Aug 30 14:34:42] -- Executing [h@default:1] DeadAGI("SIP/201-00000006", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Aug 30 14:34:42] WARNING[8171]: res_agi.c:3930 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
[Aug 30 14:34:42] -- <SIP/201-00000006>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
linux-4mta*CLI>
Any idea what I done wrong.From SIP provider looks OK:
linux-4mta*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
201/201 192.168.1.20 D N 51370 OK (101 ms)
202/202 192.168.1.124 D N 5060 OK (1 ms)
CablenetSIP 172.16.80.100 N 5060 OK (15 ms)
Thank you,
Ivan
Vicibox 5.0 from .iso | Vicidial VERSION: 2.8-408a BUILD: 130711-2208 | Asterisk 1.8.23.0| Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel |