@BigJ wrote:
Hello.
Thanks in advance. I just rolled out a PBX setup in my office. This is my first venture in this space (PBX), so I’m a newb. My problem is that I am able to receive inbound calls, but when making outbound calls, I get the “all circuits busy” message.
Background: I set up two Cisco SPA 525 phones in my office and have created extensions for maybe 6 users. I’m on VoicePulse and that as working for I/B and O/B calls. The problem here was that Verizon would change my IP every 24 hours and I’d lose registration until I performed a manual reset. Easiest thing was to get a static IP w/ Verizon, which I did.
Adjusting the settings after that change is where the outbound calls broke, but I can’t figure out why. I get that there’s a “congestion” error, but none of the phones are being used at the time. We’re not making 5 outgoing calls at once. Of note I also added a third phone to the system, same type as the others.
I’ll paste an outgoing call. Phone numbers/ IP’s removed.
PBX Firmware: 12.7.6-1904-1.sng7
freepbxCLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [TestCallOut@from-internal:1] Macro(“SIP/103-0000006a”, “user-callerid,LIMIT”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/103-0000006a”, “TOUCH_MONITOR=1561752560.109”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/103-0000006a”, “AMPUSER=103”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/103-0000006a”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/103-0000006a”, “1?Set(REALCALLERIDNUM=103)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/103-0000006a”, “AMPUSER=103”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/103-0000006a”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/103-0000006a”, “AMPUSERCIDNAME=FD3”) in new stack
– Executing [s@macro-user-callerid:8] ExecIf(“SIP/103-0000006a”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/103-0000006a”, “0?report”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/103-0000006a”, “AMPUSERCID=103”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/103-0000006a”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-user-callerid:12] Set(“SIP/103-0000006a”, “CALLERID(all)=“FD3” <103>”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/103-0000006a”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/103-0000006a”, “1?Set(GROUP(concurrency_limit)=103)”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/103-0000006a”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] NoOp(“SIP/103-0000006a”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“SIP/103-0000006a”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/103-0000006a”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,37)
– Executing [s@macro-user-callerid:37] Set(“SIP/103-0000006a”, “CALLERID(number)=103”) in new stack
– Executing [s@macro-user-callerid:38] Set(“SIP/103-0000006a”, “CALLERID(name)=FD3”) in new stack
– Executing [s@macro-user-callerid:39] GotoIf(“SIP/103-0000006a”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:40] Set(“SIP/103-0000006a”, “CDR(cnam)=FD3”) in new stack
– Executing [s@macro-user-callerid:41] Set(“SIP/103-0000006a”, “CDR(cnum)=103”) in new stack
– Executing [s@macro-user-callerid:42] Set(“SIP/103-0000006a”, “CHANNEL(language)=en”) in new stack
– Executing [TestCallOut@from-internal:2] Set(“SIP/103-0000006a”, “ROUTEUSER=103”) in new stack
– Executing [TestCallOut@from-internal:3] Set(“SIP/103-0000006a”, “ROUTEUSER=103”) in new stack
– Executing [TestCallOut@from-internal:4] GotoIf(“SIP/103-0000006a”, “1?notblind”) in new stack
– Goto (from-internal,TestCallOut,7)
– Executing [TestCallOut@from-internal:7] GotoIf(“SIP/103-0000006a”, “1?restrictedroute-c4ca4238a0b923820dcc509a6f75849b,TestCallOut,2:outbound-allroutes,TestCallOut,2”) in new stack
– Goto (restrictedroute-c4ca4238a0b923820dcc509a6f75849b,TestCallOut,2)
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:2] Gosub(“SIP/103-0000006a”, “sub-record-check,s,1(out,TestCallOut,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/103-0000006a”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/103-0000006a”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/103-0000006a”, “NOW=1561752560”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/103-0000006a”, “__DAY=28”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/103-0000006a”, “__MONTH=06”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/103-0000006a”, “__YEAR=2019”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/103-0000006a”, “__TIMESTR=20190628-160920”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/103-0000006a”, “__FROMEXTEN=103”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/103-0000006a”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/103-0000006a”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/103-0000006a”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/103-0000006a”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/103-0000006a”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/103-0000006a”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/103-0000006a”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/103-0000006a”, “Outbound Recording Check from 103 to TestCallOut”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/103-0000006a”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/103-0000006a”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/103-0000006a”, “recordcheck,1(dontcare,out,TestCallOut)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/103-0000006a”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/103-0000006a”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/103-0000006a”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/103-0000006a”, “”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:3] ExecIf(“SIP/103-0000006a”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:4] Set(“SIP/103-0000006a”, “MOHCLASS=default”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:5] ExecIf(“SIP/103-0000006a”, “1?Set(TRUNKCIDOVERRIDE=VoicePulseNumber)”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:6] Set(“SIP/103-0000006a”, “_NODEST=”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:7] Macro(“SIP/103-0000006a”, “dialout-trunk,1,1TestCallOut,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/103-0000006a”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/103-0000006a”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/103-0000006a”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:4] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERID(num)=103)”) in new stack
– Executing [s@macro-dialout-trunk:5] GotoIf(“SIP/103-0000006a”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/103-0000006a”, “DIAL_NUMBER=1TestCallOut”) in new stack
– Executing [s@macro-dialout-trunk:7] Set(“SIP/103-0000006a”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dialout-trunk:8] Set(“SIP/103-0000006a”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:9] Set(“SIP/103-0000006a”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/103-0000006a”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:11] GotoIf(“SIP/103-0000006a”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:12] GotoIf(“SIP/103-0000006a”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:13] Macro(“SIP/103-0000006a”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] NoOp(“SIP/103-0000006a”, “103”) in new stack
– Executing [s@macro-outbound-callerid:2] NoOp(“SIP/103-0000006a”, “”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“SIP/103-0000006a”, “off”) in new stack
– Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [s@macro-outbound-callerid:6] ExecIf(“SIP/103-0000006a”, “0?Set(REALCALLERIDNUM=103)”) in new stack
– Executing [s@macro-outbound-callerid:7] ExecIf(“SIP/103-0000006a”, “0?Set(AMPUSER=103)”) in new stack
– Executing [s@macro-outbound-callerid:8] GotoIf(“SIP/103-0000006a”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] Set(“SIP/103-0000006a”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:13] Set(“SIP/103-0000006a”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:14] Set(“SIP/103-0000006a”, “TRUNKOUTCID=VoicePulseNumber”) in new stack
– Executing [s@macro-outbound-callerid:15] GotoIf(“SIP/103-0000006a”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,21)
– Executing [s@macro-outbound-callerid:21] ExecIf(“SIP/103-0000006a”, “1?Set(CALLERID(all)=VoicePulseNumber)”) in new stack
– Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:23] ExecIf(“SIP/103-0000006a”, “1?Set(CALLERID(all)=VoicePulseNumber)”) in new stack
– Executing [s@macro-outbound-callerid:24] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:25] ExecIf(“SIP/103-0000006a”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:26] Set(“SIP/103-0000006a”, “CDR(outbound_cnum)=VoicePulseNumber”) in new stack
– Executing [s@macro-outbound-callerid:27] Set(“SIP/103-0000006a”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:14] GosubIf(“SIP/103-0000006a”, “1?sub-flp-1,s,1()”) in new stack
– Executing [s@sub-flp-1:1] ExecIf(“SIP/103-0000006a”, “1?Return()”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“SIP/103-0000006a”, “OUTNUM=1TestCallOut”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“SIP/103-0000006a”, “custom=SIP/norman”) in new stack
– Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/103-0000006a”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/103-0000006a”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:19] Macro(“SIP/103-0000006a”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/103-0000006a”, “”) in new stack
– Executing [s@macro-dialout-trunk:20] GotoIf(“SIP/103-0000006a”, “0?skipcrm”) in new stack
– Executing [s@macro-dialout-trunk:21] Set(“SIP/103-0000006a”, “__CRM_DIRECTION=OUTBOUND”) in new stack
– Executing [s@macro-dialout-trunk:22] Set(“SIP/103-0000006a”, “__CRM_DESTINATION=1TestCallOut”) in new stack
– Executing [s@macro-dialout-trunk:23] Set(“SIP/103-0000006a”, “__CRM_SOURCE=103”) in new stack
– Executing [s@macro-dialout-trunk:24] AGI(“SIP/103-0000006a”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
– <SIP/103-0000006a>AGI Script sangomacrm.agi completed, returning 0
– Executing [s@macro-dialout-trunk:25] Set(“SIP/103-0000006a”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
– Executing [s@macro-dialout-trunk:26] NoOp(“SIP/103-0000006a”, “CRM Finished”) in new stack
– Executing [s@macro-dialout-trunk:27] GotoIf(“SIP/103-0000006a”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:28] ExecIf(“SIP/103-0000006a”, “1?Set(CONNECTEDLINE(num,i)=1TestCallOut)”) in new stack
– Executing [s@macro-dialout-trunk:29] ExecIf(“SIP/103-0000006a”, “1?Set(CONNECTEDLINE(name,i)=CID:VoicePulseNumber)”) in new stack
– Executing [s@macro-dialout-trunk:30] ExecIf(“SIP/103-0000006a”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)VoicePulseNumber)”) in new stack
– Executing [s@macro-dialout-trunk:31] GotoIf(“SIP/103-0000006a”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:32] Dial(“SIP/103-0000006a”, “SIP/norman/1TestCallOut,300,Tb(func-apply-sipheaders^s^1,(1))”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– SIP/norman-0000006b Internal Gosub(func-apply-sipheaders,s,1(1)) start
– Executing [s@func-apply-sipheaders:1] ExecIf(“SIP/norman-0000006b”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
– Executing [s@func-apply-sipheaders:2] NoOp(“SIP/norman-0000006b”, “Applying SIP Headers to channel SIP/norman-0000006b”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“SIP/norman-0000006b”, “TECH=SIP”) in new stack
– Executing [s@func-apply-sipheaders:4] Set(“SIP/norman-0000006b”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:5] While(“SIP/norman-0000006b”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“SIP/norman-0000006b”, “”) in new stack
== Spawn extension (from-pstn, TestCallOut, 1) exited non-zero on ‘SIP/norman-0000006b’
– SIP/norman-0000006b Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
– Called SIP/norman/1TestCallOut
[2019-06-28 16:09:20] NOTICE[14438][C-0000003f]: chan_sip.c:24042 handle_response_invite: Failed to authenticate on INVITE to ‘sip:VoicePulseNumber@MyStaticIP:5062;tag=as06dddc8f’
– SIP/norman-0000006b is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dialout-trunk:33] NoOp(“SIP/103-0000006a”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 21”) in new stack
– Executing [s@macro-dialout-trunk:34] GotoIf(“SIP/103-0000006a”, “0?continue,1:s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/103-0000006a”, “RC=21”) in new stack
– Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/103-0000006a”, “21,1”) in new stack
– Goto (macro-dialout-trunk,21,1)
– Executing [21@macro-dialout-trunk:1] Goto(“SIP/103-0000006a”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/103-0000006a”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/103-0000006a”, “1?Set(CALLERID(number)=103)”) in new stack
– Executing [TestCallOut@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:8] Macro(“SIP/103-0000006a”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/103-0000006a”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/103-0000006a”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/103-0000006a”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/103-0000006a”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
– <SIP/103-0000006a> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
– <SIP/103-0000006a> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:5] Congestion(“SIP/103-0000006a”, “20”) in new stack
[2019-06-28 16:09:24] WARNING[8160][C-0000003f]: channel.c:5080 ast_prod: Prodding channel ‘SIP/103-0000006a’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/103-0000006a’ in macro ‘outisbusy’
== Spawn extension (restrictedroute-c4ca4238a0b923820dcc509a6f75849b, TestCallOut, 8) exited non-zero on ‘SIP/103-0000006a’
– Executing [h@restrictedroute-c4ca4238a0b923820dcc509a6f75849b:1] Hangup(“SIP/103-0000006a”, “”) in new stack
== Spawn extension (restrictedroute-c4ca4238a0b923820dcc509a6f75849b, h, 1) exited non-zero on ‘SIP/103-0000006a’
– SIP/103-0000006a Internal Gosub(crm-hangup,s,1) start
– Executing [s@crm-hangup:1] NoOp(“SIP/103-0000006a”, “Sending Hangup to CRM”) in new stack
– Executing [s@crm-hangup:2] NoOp(“SIP/103-0000006a”, “HANGUP CAUSE: 34”) in new stack
– Executing [s@crm-hangup:3] ExecIf(“SIP/103-0000006a”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
– Executing [s@crm-hangup:4] NoOp(“SIP/103-0000006a”, “MASTER CHANNEL: 1561752560.109 = 1561752560.109”) in new stack
– Executing [s@crm-hangup:5] GotoIf(“SIP/103-0000006a”, “0?return”) in new stack
– Executing [s@crm-hangup:6] Set(“SIP/103-0000006a”, “__CRM_HANGUP=1”) in new stack
– Executing [s@crm-hangup:7] AGI(“SIP/103-0000006a”, “sangomacrm.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
– <SIP/103-0000006a>AGI Script sangomacrm.agi completed, returning 0
– Executing [s@crm-hangup:8] Return(“SIP/103-0000006a”, “”) in new stack
== Spawn extension (restrictedroute-c4ca4238a0b923820dcc509a6f75849b, h, 1) exited non-zero on ‘SIP/103-0000006a’
– SIP/103-0000006a Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
freepbxCLI>
Posts: 5
Participants: 2