AccountEntry:
[callcentrevoip]
type=peer
username=1576
secret={my_secret}
host=67.215.225.96
dtmfmode=rfc2833
context=default
insecure=very
disallow=all
allow=ulaw
canreinvite=no
qualify=1000
DialPlan
exten => _3361XXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _3361XXXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _3361XXXXXXXXX,3,Hangup
exten => _331XXXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _331XXXXXXXXXX,2,Dial(${CALLCENTREVOIP}/${EXTEN:2},60,tTo)
exten => _331XXXXXXXXXX,3,Hangup
Trying to dial 3312127539393 (some random NY number)
sip show peers
Name/username Host Dyn Forcerport ACL Port Status
callcentrevoip/1576 67.215.225.96 N 5060 UNREACHABLE
gs102/gs102 (Unspecified) D N 0 UNKNOWN
test01/test01 (Unspecified) D N 0 UNKNOWN
test02/test02 192.168.124.1 D N 20580 OK (8 ms)
4 sip peers [Monitored: 1 online, 3 offline Unmonitored: 0 online, 0 offline]
(I am using XLite with test02)
sip show registry
Host dnsmgr Username Refresh State Reg.Time
67.215.225.96:5060 N 1576 105 Registered Mon, 17 Mar 2014 18:14:42
1 SIP registrations.
when calling , the result is:
== Using SIP RTP CoS mark 5
[Mar 17 18:16:27] -- Executing [3312127539393@default:1] AGI("SIP/test02-00000001", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 17 18:16:46] -- <SIP/test02-00000001>AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 17 18:16:46] -- Executing [3312127539393@default:2] Dial("SIP/test02-00000001", "SIP/callcentrevoip/12127539393,60,tTo") in new stack
[Mar 17 18:16:46] WARNING[5294]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Mar 17 18:16:46] == Everyone is busy/congested at this time (1:0/0/1)
[Mar 17 18:16:50] -- Executing [3312127539393@default:3] Hangup("SIP/test02-00000001", "") in new stack
[Mar 17 18:16:50] == Spawn extension (default, 3312127539393, 3) exited non-zero on 'SIP/test02-00000001'
[Mar 17 18:16:50] -- Executing [h@default:1] AGI("SIP/test02-00000001", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Mar 17 18:16:50] -- <SIP/test02-00000001>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
thank you for helping me.