All circuits are busy

Hello Ninjas,

I’ve just set my SPA 3102 with FreePBX. The SPA 3102’s pstn line port is connected to a fixed GSM cellular terminal using this guide http://www.freepbx.org/support/documentation/howtos/howto-linksys-spa-3102-sipura-spa-3000-freepbx

The SIP trunk registers and I am able to get incoming calls. However whenever I try to make an outgoing call I get ‘All circuits are busy.’

A couple of solutions I have seen online haven’t worked for me eg lowering the line voltage on the pstn line to 10 or increasing the min. CPC duration to 0.5.

I’m on freepbx 2.10.1.2 and Asterisk 1.8.11.0.

I’m a complete noob at this so I have no idea what where I could be wrong.

Here is my log

[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:6] Set(“SIP/001-00000039”, “USEROUTCID=”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:7] Set(“SIP/001-00000039”, “EMERGENCYCID=”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:8] Set(“SIP/001-00000039”, “TRUNKOUTCID=0721799837”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/001-00000039”, “1?trunkcid”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Goto (macro-outbound-callerid,s,12)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/001-00000039”, “1?Set(CALLERID(all)=0721799837)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:13] ExecIf(“SIP/001-00000039”, “0?Set(CALLERID(all)=)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:14] ExecIf(“SIP/001-00000039”, “0?Set(CALLERID(all)=)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:15] ExecIf(“SIP/001-00000039”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:12] GosubIf(“SIP/001-00000039”, “0?sub-flp-2,s,1()”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:13] Set(“SIP/001-00000039”, “OUTNUM=0722630810”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:14] Set(“SIP/001-00000039”, “custom=SIP/1-pstn”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:15] ExecIf(“SIP/001-00000039”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:16] ExecIf(“SIP/001-00000039”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:17] Macro(“SIP/001-00000039”, “dialout-trunk-predial-hook,”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] MacroExit(“SIP/001-00000039”, “”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:18] GotoIf(“SIP/001-00000039”, “0?bypass,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:19] ExecIf(“SIP/001-00000039”, “1?Set(CONNECTEDLINE(num,i)=0722630810)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:20] ExecIf(“SIP/001-00000039”, “1?Set(CONNECTEDLINE(name,i)=CID:0721799837)”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:21] GotoIf(“SIP/001-00000039”, “0?customtrunk”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:22] Dial(“SIP/001-00000039”, “SIP/1-pstn/0722630810,300,”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] netsock2.c: == Using SIP RTP TOS bits 184
[2012-11-22 08:21:54] VERBOSE[20909] netsock2.c: == Using SIP RTP CoS mark 5
[2012-11-22 08:21:54] VERBOSE[20909] app_dial.c: – Called SIP/1-pstn/0722630810
[2012-11-22 08:21:54] VERBOSE[20909] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:23] NoOp(“SIP/001-00000039”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:24] Goto(“SIP/001-00000039”, “s-CONGESTION,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Goto (macro-dialout-trunk,s-CONGESTION,1)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] Set(“SIP/001-00000039”, “RC=34”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:2] Goto(“SIP/001-00000039”, “34,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Goto (macro-dialout-trunk,34,1)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] Goto(“SIP/001-00000039”, “continue,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/001-00000039”, “1?noreport”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Goto (macro-dialout-trunk,continue,3)
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:3] NoOp(“SIP/001-00000039”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:4] Set(“SIP/001-00000039”, “CALLERID(number)=001”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:6] Macro(“SIP/001-00000039”, “outisbusy,”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] Progress(“SIP/001-00000039”, “”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/001-00000039”, “0?emergency,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/001-00000039”, “0?intracompany,1”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] pbx.c: – Executing [[email protected]:4] Playback(“SIP/001-00000039”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2012-11-22 08:21:54] VERBOSE[20909] file.c: – <SIP/001-00000039> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2012-11-22 08:21:56] VERBOSE[20909] file.c: – <SIP/001-00000039> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
[2012-11-22 08:21:58] VERBOSE[20909] pbx.c: – Executing [[email protected]:5] Congestion(“SIP/001-00000039”, “20”) in new stack
[2012-11-22 08:21:58] WARNING[20909] channel.c: Prodding channel ‘SIP/001-00000039’ failed
[2012-11-22 08:21:58] VERBOSE[20909] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/001-00000039’ in macro ‘outisbusy’
[2012-11-22 08:21:58] VERBOSE[20909] pbx.c: == Spawn extension (from-internal, 0722630810, 6) exited non-zero on ‘SIP/001-00000039’
[2012-11-22 08:21:58] VERBOSE[20909] pbx.c: – Executing [[email protected]:1] Hangup(“SIP/001-00000039”, “”) in new stack
[2012-11-22 08:21:58] VERBOSE[20909] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/001-00000039’