[Asterisk-Users] trying to make outbound calls
Jason Brashear
jason at austinfx.com
Tue Nov 8 21:25:59 MST 2005
OK I am trying to setup outbound calling using two ZAP channels.
This is a Asterisk at home install 1.5 works great but having trouble dialing
out using the ZAP Channels.
I can call in on the POT lines and it rings through.
Problem is dialing out.
Here is what it said:
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1003-5785'
-- Executing Macro("SIP/1003-3802", "dialout-trunk|1|15125382214") in
new stack
-- Executing GotoIf("SIP/1003-3802", "1?3:2)") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/1003-3802", "record-enable|1003|OUT") in new
stack
-- Executing GotoIf("SIP/1003-3802", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing GotoIf("SIP/1003-3802", "1?5:8") in new stack
-- Goto (macro-record-enable,s,5)
-- Executing DBget("SIP/1003-3802", "RecEnable=RECORD-OUT/1003") in new
stack
-- DBget: varname=RecEnable, family=RECORD-OUT, key=1003
-- DBget: Value not found in database.
-- Executing SetVar("SIP/1003-3802",
"CALLFILENAME=OUT1003-20051108-231813-1131509893.12") in new stack
-- Executing Goto("SIP/1003-3802", "s|14") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing GotoIf("SIP/1003-3802", "0?15:99") in new stack
-- Goto (macro-record-enable,s,99)
-- Executing NoOp("SIP/1003-3802", "NO RECORDING NEEDED") in new stack
-- Executing GotoIf("SIP/1003-3802", "1?7") in new stack
-- Goto (macro-dialout-trunk,s,7)
-- Executing GotoIf("SIP/1003-3802", "0?9") in new stack
-- Executing SetCallerID("SIP/1003-3802", "6092392505") in new stack
-- Executing SetGroup("SIP/1003-3802", "OUT_1") in new stack
-- Executing CheckGroup("SIP/1003-3802", "1") in new stack
-- Executing SetVar("SIP/1003-3802", "DIAL_NUMBER=15125382214") in new
stack
-- Executing SetVar("SIP/1003-3802", "DIAL_TRUNK=1") in new stack
-- Executing AGI("SIP/1003-3802", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing SetVar("SIP/1003-3802", "OUTNUM=15125382214") in new stack
-- Executing Cut("SIP/1003-3802", "custom=OUT_1|:|1") in new stack
-- Executing GotoIf("SIP/1003-3802", "0?19") in new stack
-- Executing Dial("SIP/1003-3802", "ZAP/g1/15125382214") in new stack
== Everyone is busy/congested at this time
-- Executing Goto("SIP/1003-3802", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/1003-3802", "Dial failed due to CHANUNAVAIL") in
new stack
-- Executing Macro("SIP/1003-3802", "outisbusy") in new stack
-- Executing Playback("SIP/1003-3802", "allison7/all-circuits-busy-now")
in new stack
-- Playing 'allison7/all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/1003-3802", "allison7/pls-try-call-later") in
new stack
-- Playing 'allison7/pls-try-call-later' (language 'en')
-- Executing Macro("SIP/1003-3802", "hangupcall") in new stack
-- Executing ResetCDR("SIP/1003-3802", "w") in new stack
-- Executing NoCDR("SIP/1003-3802", "") in new stack
-- Executing Wait("SIP/1003-3802", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/1003-3802' in macro 'hangupcall'
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on
'SIP/1003-3802' in macro 'outisbusy'
== Spawn extension (from-internal, 915125382214, 2) exited non-zero on
'SIP/1003-3802'
-- Executing Macro("SIP/1003-3802", "hangupcall") in new stack
-- Executing ResetCDR("SIP/1003-3802", "w") in new stack
-- Executing NoCDR("SIP/1003-3802", "") in new stack
-- Executing Wait("SIP/1003-3802", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/1003-3802' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/1003-3802'
More information about the asterisk-users
mailing list