PSTN Calling: "All Circuits Are Busy"
Hi,
Every time I make a call from both soft phone or IP phone to a local number using the OpenVox A800P10 I get the "All Circuits are busy"
BTW:
I setup a Zap trunk for local calling and created an Outbound route.
What should I do and where should I look?
Thanks in advance.
-- Executing [4724727@from-internal:1] Macro("SIP/2121-0922ef38", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2121-0922ef38", "user-callerid: device 2121") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2121-0922ef38", "AMPUSER=2121") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2121-0922ef38", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2121-0922ef38", "1|Set|REALCALLERIDNUM=2121") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2121-0922ef38", "REALCALLERIDNUM is 2121") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2121-0922ef38", "AMPUSER=2121") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2121-0922ef38", "AMPUSERCIDNAME=sam") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2121-0922ef38", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2121-0922ef38", "AMPUSERCID=2121") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2121-0922ef38", "CALLERID(all)="sam" <2121>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2121-0922ef38", "REALCALLERIDNUM=2121") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2121-0922ef38", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2121-0922ef38", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2121-0922ef38", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2121-0922ef38", "Using CallerID "sam" <2121>") in new stack
-- Executing [4724727@from-internal:2] Set("SIP/2121-0922ef38", "_NODEST=") in new stack
-- Executing [4724727@from-internal:3] Macro("SIP/2121-0922ef38", "record-enable|2121|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2121-0922ef38", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2121-0922ef38", "recordingcheck|20080509-145751|1210334271.5") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080509-145751|1210334271.5: Outbound recording enabled.
recordingcheck|20080509-145751|1210334271.5: CALLFILENAME=OUT2121-20080509-145751-1210334271.5
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/2121-0922ef38", "OUT2121-20080509-145751-1210334271.5.wav") in new stack
-- Executing [4724727@from-internal:4] Macro("SIP/2121-0922ef38", "dialout-trunk|1|4724727||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2121-0922ef38", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/2121-0922ef38", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2121-0922ef38", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2121-0922ef38", "DIAL_NUMBER=4724727") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2121-0922ef38", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2121-0922ef38", "GROUP()=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2121-0922ef38", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2121-0922ef38", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/2121-0922ef38", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/2121-0922ef38", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/2121-0922ef38", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/2121-0922ef38", "REALCALLERIDNUM is 2121") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/2121-0922ef38", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("SIP/2121-0922ef38", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("SIP/2121-0922ef38", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/2121-0922ef38", "TRUNKOUTCID=014783717") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/2121-0922ef38", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/2121-0922ef38", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:17] Set("SIP/2121-0922ef38", "CALLERID(all)=014783717") in new stack
-- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/2121-0922ef38", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/2121-0922ef38", "CallerID set to "" <014783717>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/2121-0922ef38", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/2121-0922ef38
== fixlocalprefix: Dialpattern ZXXXXXX matched. 4724727 -> 4724727
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2121-0922ef38", "OUTNUM=4724727") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2121-0922ef38", "custom=ZAP/Saudi") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2121-0922ef38", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2121-0922ef38", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2121-0922ef38", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2121-0922ef38", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/2121-0922ef38", "ZAP/Saudi/4724727|300|") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/2121-0922ef38", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/2121-0922ef38", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/2121-0922ef38", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing [4724727@from-internal:5] Macro("SIP/2121-0922ef38", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/2121-0922ef38", "all-circuits-busy-now|noanswer") in new stack
--
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/2121-0922ef38' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/2121-0922ef38'
== End MixMonitor Recording SIP/2121-0922ef38
Hi, I also run zap show channel 3, here is how it looks:
Channel 3 is the FXS on my OpenVoxA800P10
trixbox1*CLI> zap show channel 3
Channel: 3LI>
File Descriptor: 17
Span: 11*CLI>
Extension: I>
Dialing: noI>
Context: from-pstn
Caller ID: I>
Calling TON: 0
Caller ID name:
Destroy: 0LI>
InAlarm: 0LI>
Signalling Type: FXS Kewlstart
Radio: 0*CLI>
Owner:
Real:
Callwait:
Threeway:
Confno: -1LI>
Propagated Conference: -1
Real in conference: 0
DSP: no1*CLI>
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Hookstate (FXS only): Offhook
OK,
I deleted the old trunks and old outbound routes. Created 3 new trunks, one for local numbers, one for mobile numbers and a third for international.
I am able to call local numbers now, but when calling mobile numbers it shows that it is ringing I do not get any error messages but the call never reach the destination.
Can you please help.
-- Executing [0504232103@from-internal:1] Macro("SIP/2121-b7706098", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2121-b7706098", "user-callerid: device 2121") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2121-b7706098", "AMPUSER=2121") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2121-b7706098", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2121-b7706098", "1|Set|REALCALLERIDNUM=2121") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2121-b7706098", "REALCALLERIDNUM is 2121") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2121-b7706098", "AMPUSER=2121") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2121-b7706098", "AMPUSERCIDNAME=sam") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2121-b7706098", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2121-b7706098", "AMPUSERCID=2121") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2121-b7706098", "CALLERID(all)="sam" <2121>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2121-b7706098", "REALCALLERIDNUM=2121") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2121-b7706098", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2121-b7706098", "TTL: ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2121-b7706098", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2121-b7706098", "Using CallerID "sam" <2121>") in new stack
-- Executing [0504232103@from-internal:2] Set("SIP/2121-b7706098", "_NODEST=") in new stack
-- Executing [0504232103@from-internal:3] Macro("SIP/2121-b7706098", "record-enable|2121|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2121-b7706098", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2121-b7706098", "recordingcheck|20080509-225652|1210363012.44") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080509-225652|1210363012.44: Outbound recording enabled.
recordingcheck|20080509-225652|1210363012.44: CALLFILENAME=OUT2121-20080509-225652-1210363012.44
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:999] MixMonitor("SIP/2121-b7706098", "OUT2121-20080509-225652-1210363012.44.wav") in new stack
-- Executing [0504232103@from-internal:4] Macro("SIP/2121-b7706098", "dialout-trunk|3|0504232103||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2121-b7706098", "DIAL_TRUNK=3") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/2121-b7706098", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2121-b7706098", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2121-b7706098", "DIAL_NUMBER=0504232103") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2121-b7706098", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2121-b7706098", "GROUP()=OUT_3") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2121-b7706098", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2121-b7706098", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/2121-b7706098", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/2121-b7706098", "outbound-callerid|3") in new stack
-- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/2121-b7706098", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing [s@macro-outbound-callerid:3] NoOp("SIP/2121-b7706098", "REALCALLERIDNUM is 2121") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/2121-b7706098", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing [s@macro-outbound-callerid:9] Set("SIP/2121-b7706098", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:10] Set("SIP/2121-b7706098", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/2121-b7706098", "TRUNKOUTCID=014783717") in new stack
-- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/2121-b7706098", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/2121-b7706098", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:17] Set("SIP/2121-b7706098", "CALLERID(all)=014783717") in new stack
-- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/2121-b7706098", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing [s@macro-outbound-callerid:22] NoOp("SIP/2121-b7706098", "CallerID set to "" <014783717>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/2121-b7706098", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== Begin MixMonitor Recording SIP/2121-b7706098
== fixlocalprefix: Dialpattern 05042XXXXX matched. 0504232103 -> 0504232103
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2121-b7706098", "OUTNUM=0504232103") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2121-b7706098", "custom=ZAP/g1") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2121-b7706098", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2121-b7706098", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2121-b7706098", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2121-b7706098", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/2121-b7706098", "ZAP/g1/0504232103|300|") in new stack
-- Called g1/0504232103
-- Zap/1-1 is ringing
-- Zap/1-1 is ringing
-- Zap/1-1 is ringing
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2121-b7706098' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2121-b7706098'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/2121-b7706098", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2121-b7706098", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/2121-b7706098", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2121-b7706098", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/2121-b7706098", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/2121-b7706098", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/2121-b7706098", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2121-b7706098' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2121-b7706098'
== End MixMonitor Recording SIP/2121-b7706098

Member Since:
2008-04-28