STrange "All Circuits Are Busy' Scenario

I have been running asterisk for years, but changed servers a few weeks ago, moving everything to as new as possible, so on:
Redhat SHMZ release 6.6
FreePBX 13.0.190.11

I have several numbers supplied via 2 trunks from the same supplier - the trunks are setup the same.
I have several extensions, all remote.

Incoming calls work everywhere.

Outgoing only works on one trunk, the other giving ACAB.

Here is the log:

[2017-01-21 11:02:16] VERBOSE[1984][C-0000dfc3] netsock2.c: Using SIP RTP TOS bits 184
[2017-01-21 11:02:16] VERBOSE[1984][C-0000dfc3] netsock2.c: Using SIP RTP CoS mark 5
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@from-internal:1] Macro(“SIP/-0000e0da”, “user-callerid,LIMIT”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/-0000e0da”, “TOUCH_MONITOR=1484996536.57620”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/-0000e0da”, “AMPUSER=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“SIP/-0000e0da”, “0?report”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“SIP/-0000e0da”, “1?Set(REALCALLERIDNUM=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/-0000e0da”, “AMPUSER=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“SIP/-0000e0da”, “0?limit”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:7] Set(“SIP/-0000e0da”, “AMPUSERCIDNAME=Paul Kelly - Home Office”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/-0000e0da”, “0?report”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:9] Set(“SIP/-0000e0da”, “AMPUSERCID=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/-0000e0da”, “__DIAL_OPTIONS=Ttr”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:11] Set(“SIP/-0000e0da”, “CALLERID(all)=“Paul Kelly - Home Office” <>”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:12] GotoIf(“SIP/-0000e0da”, “0?limit”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/-0000e0da”, “1?Set(GROUP(concurrency_limit)=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“SIP/-0000e0da”, “0?Set(CHANNEL(language)=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:15] GotoIf(“SIP/-0000e0da”, “1?continue”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:29] Set(“SIP/-0000e0da”, “CALLERID(number)=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:30] Set(“SIP/-0000e0da”, “CALLERID(name)=Paul Kelly - Home Office”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“SIP/-0000e0da”, “0?cnum”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:32] Set(“SIP/-0000e0da”, “CDR(cnam)=Paul Kelly - Home Office”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:33] Set(“SIP/-0000e0da”, “CDR(cnum)=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-user-callerid:34] Set(“SIP/-0000e0da”, “CHANNEL(language)=en”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@from-internal:2] Set(“SIP/-0000e0da”, “ROUTEUSER=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@from-internal:3] GotoIf(“SIP/-0000e0da”, “1?notblind”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (from-internal,,6)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@from-internal:6] GotoIf(“SIP/-0000e0da”, “1?restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,,2:outbound-allroutes,,2”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,,2)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:2] Gosub(“SIP/-0000e0da”, “sub-record-check,s,1(out,,dontcare)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/-0000e0da”, “0?initialized”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/-0000e0da”, “__REC_STATUS=INITIALIZED”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/-0000e0da”, “NOW=1484996536”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/-0000e0da”, “__DAY=21”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/-0000e0da”, “__MONTH=01”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/-0000e0da”, “__YEAR=2017”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/-0000e0da”, “__TIMESTR=20170121-110216”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/-0000e0da”, “__FROMEXTEN=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/-0000e0da”, “__MON_FMT=wav”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/-0000e0da”, “Recordings initialized”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/-0000e0da”, “0?Set(ARG3=dontcare)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/-0000e0da”, “REC_POLICY_MODE_SAVE=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/-0000e0da”, “0?Set(REC_STATUS=NO)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/-0000e0da”, “3?checkaction”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (sub-record-check,s,17)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/-0000e0da”, “1?sub-record-check,out,1”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (sub-record-check,out,1)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/-0000e0da”, "Outbound Recording Check from to ") in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/-0000e0da”, “RECMODE=dontcare”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/-0000e0da”, “1?Goto(routewins)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (sub-record-check,out,7)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/-0000e0da”, “recordcheck,1(dontcare,out,)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/-0000e0da”, “Starting recording check against dontcare”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/-0000e0da”, “dontcare”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/-0000e0da”, “”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/-0000e0da”, “”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:3] ExecIf(“SIP/-0000e0da”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:4] Set(“SIP/-0000e0da”, “MOHCLASS=default”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:5] ExecIf(“SIP/-0000e0da”, “1?Set(TRUNKCIDOVERRIDE=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:6] Set(“SIP/-0000e0da”, “_NODEST=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:7] Macro(“SIP/-0000e0da”, “dialout-trunk,2,,off”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/-0000e0da”, “DIAL_TRUNK=2”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/-0000e0da”, “0?sub-pincheck,s,1()”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/-0000e0da”, “0?disabletrunk,1”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:4] Set(“SIP/-0000e0da”, “DIAL_NUMBER=”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:5] Set(“SIP/-0000e0da”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/-0000e0da”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/-0000e0da”, “0?nomax”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/-0000e0da”, “0?chanfull”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/-0000e0da”, “0?skipoutcid”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:10] Set(“SIP/-0000e0da”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:11] Macro(“SIP/-0000e0da”, “outbound-callerid,2”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/-0000e0da”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/-0000e0da”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/-0000e0da”, “0?Set(REALCALLERIDNUM=)”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/-0000e0da”, “1?normcid”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-outbound-callerid,s,7)
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“SIP/-0000e0da”, “USEROUTCID=03333583399”) in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“SIP/-0000e0da”, “EMERGENCYCID=”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:9] Set(“SIP/-0000e0da”, “TRUNKOUTCID=”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:10] GotoIf(“SIP/-0000e0da”, “1?trunkcid”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-outbound-callerid,s,15)
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/-0000e0da”, “1?Set(CALLERID(all)=)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/-0000e0da”, “1?Set(CALLERID(all)=03333583399)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/-0000e0da”, “1?Set(CALLERID(all)=)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/-0000e0da”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/-0000e0da”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“SIP/-0000e0da”, “CDR(outbound_cnum)=”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“SIP/-0000e0da”, “CDR(outbound_cnam)=”) in new stack
[2017-01-21 11:02:17] WARNING[1908] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/-0000e0da”, “0?sub-flp-2,s,1()”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:13] Set(“SIP/-0000e0da”, “OUTNUM=”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:14] Set(“SIP/-0000e0da”, “custom=SIP/VoiceHost_PB”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/-0000e0da”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/-0000e0da”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:17] Macro(“SIP/-0000e0da”, “dialout-trunk-predial-hook,”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/-0000e0da”, “”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/-0000e0da”, “0?bypass,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/-0000e0da”, “1?Set(CONNECTEDLINE(num,i)=)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/-0000e0da”, “1?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/-0000e0da”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden))”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/-0000e0da”, “0?customtrunk”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:23] Dial(“SIP/-0000e0da”, “SIP/VoiceHost_PB/,300,T”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] netsock2.c: Using SIP RTP TOS bits 184
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] netsock2.c: Using SIP RTP CoS mark 5
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] app_dial.c: Called SIP/VoiceHost_PB/
[2017-01-21 11:02:17] WARNING[1984][C-0000dfc3] chan_sip.c: Received response: “Forbidden” from ‘<sip:@>;tag=as29073ed6’
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:24] NoOp(“SIP/-0000e0da”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-dialout-trunk:25] GotoIf(“SIP/-0000e0da”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/-0000e0da”, “RC=21”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/-0000e0da”, “21,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-dialout-trunk,21,1)
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [21@macro-dialout-trunk:1] Goto(“SIP/-0000e0da”, “continue,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/-0000e0da”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf(“SIP/-0000e0da”, “1?Set(CALLERID(number)=)”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [@restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc:8] Macro(“SIP/-0000e0da”, “outisbusy,”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outisbusy:1] Progress(“SIP/-0000e0da”, “”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outisbusy:2] GotoIf(“SIP/-0000e0da”, “0?emergency,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outisbusy:3] GotoIf(“SIP/-0000e0da”, “0?intracompany,1”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] pbx.c: Executing [s@macro-outisbusy:4] Playback(“SIP/-0000e0da”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2017-01-21 11:02:17] VERBOSE[29740][C-0000dfc3] file.c: <SIP/-0000e0da> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2017-01-21 11:02:18] VERBOSE[29740][C-0000dfc3] file.c: <SIP/-0000e0da> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)

I am having trouble finding out where the issue is, outside of ‘chan_sip.c: Received response: “Forbidden” from ‘<sip:@>;tag=as29073ed6’’ and I cannot work out how to resolve!

Any one with thoughts?

You saw this part, right? For some reason (and it would be easiest to check with the ITSP with that time stamp) the call is being blocked by your provider.

You say you have two trunks set up to the same provider. Is there some reason why you do that? Normally, you would set up the single trunk for all of your incoming calls and then send your calls out on the same trunk. If they are going to multiple IP addresses at the ITSP, then it makes sense.

Some of my providers don’t want me to use certain hosts for outgoing calls, even though I receive incoming calls from that server. Could that be part of your problem.

There’s lots of stuff you can check, but I honestly think the simplest way to get to the bottom of this is to call your ITSP and find out what the failure reason is.

Hello,

You have a restricted route. Check your outbound routes and verify that your extensions are allowed to use this route.

GotoIf("SIP/-0000e0da", "1?restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,,2:outbound-allroutes,,2") in new stack
[2017-01-21 11:02:16] VERBOSE[29740][C-0000dfc3] pbx_builtins.c: Goto (restrictedroute-1679091c5a880faf6fb5e6087eb1b2dc,,2)

Thank you,

Daniel Friedman
Trixton LTD.

Thank you both for your comments.

Dave,
the trunk are from different accounts for two different businesses with the same supplier. As mentioned, all worked fine on the old server!

Daniel,
both routes are set up identically except the trunk!

Hello,

You did not checked your outbound routes. You have an extension or more that is not allowed to use one of your outbound routes. It is coming from the extension routing module that is a commercial module (or a 1 year license for free once purchased).

The default setting of building an outbound route is to block all the extensions from using it.

Thank you,

Daniel Friedman
Trixton LTD.

Daniel - spot on, thanks!

I thought I had this working on the last server, but disabling this and setting the outbound CID resolved the issue.

When I have more time, I will will play around with extension routing, but best leave as is so not to screw things up again!

Thanks for the help.