ALL CIRCUITS ARE BUSY NOW PLEASE TRY AGAIN LATER issue

Hi,

I have setup a freepbx v14 with 2 trunks. 1st trunk has a greek telephone number and 2nd trunk has a netherlands number.

I am able to make and receive calls on the greek number trunk.
I can only receive calls on my Netherlands number. Every time i dial anything from the 2nd trunk (NL) i get the message 'your call cannot be completed as dialed…)

Here is the logfile from this instance:

[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("SIP/102-0000000c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("SIP/102-0000000c", "1?continue,1:s-CONGESTION,1") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp("SIP/102-0000000c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/102-0000000c", "1?Set(CALLERID(number)=102)") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [900306980578708@from-internal:8] Macro("SIP/102-0000000c", "outisbusy,") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-outisbusy:1] Progress("SIP/102-0000000c", "") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-outisbusy:2] GotoIf("SIP/102-0000000c", "0?emergency,1") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-outisbusy:3] GotoIf("SIP/102-0000000c", "0?intracompany,1") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-outisbusy:4] Playback("SIP/102-0000000c", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
[2019-04-06 23:11:08] VERBOSE[6761][C-00000006] file.c: <SIP/102-0000000c> Playing 'all-circuits-busy-now.alaw' (language 'en')
[2019-04-06 23:11:09] VERBOSE[6761][C-00000006] file.c: <SIP/102-0000000c> Playing 'please-try-call-later.alaw' (language 'en')
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [h@from-internal:1] Macro("SIP/102-0000000c", "hangupcall") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/102-0000000c", "1?theend") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/102-0000000c", "0?Set(CDR(recordingfile)=)") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-hangupcall:4] NoOp("SIP/102-0000000c", " monior file= ") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-hangupcall:5] AGI("SIP/102-0000000c", "attendedtransfer-rec-restart.php,,") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] res_agi.c: <SIP/102-0000000c>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Executing [s@macro-hangupcall:6] Hangup("SIP/102-0000000c", "") in new stack
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/102-0000000c' in macro 'hangupcall'
[2019-04-06 23:11:10] VERBOSE[6761][C-00000006] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000000c'

Furthemore i am using chan sip port 5070
Trunk registries show that:
Host dnsmgr Username Refresh State Reg.Time
213.144.173.77:5070 N xxxxxxxx 105 Registered Sat, 06 Apr 2019 23:23:46
213.144.173.77:5060 N xxxxxxxxx 105 Registered Sat, 06 Apr 2019 23:23:46
2 SIP registrations.

Above you can see the dial patterns i have set for the Netherlands Trunk. I am not able to dial anything from that eg. i cannot dial a greek number with the format 0030XXXXXXXXXX or any NL number as i get the message all circuits are busy now…

Please provide your help guys… i have spent several hours over google in order to sort it out but nothing works…

``

“All circuits are busy now” and “your call cannot be completed as dialed” are two completely different messages. Your log shows the first, which can indicate that the PBX cannot connect to the trunk. The second message indicates that the dialed number did not match any pattern. Which one exactly are you getting?

1 Like

Correct. When i dial from the Netherlands trunk a greek number eg 0030XXXXXXXXXX or any Netherlands number i get the All circuits are busy now.

But the trunk says it is registered… shall i change the port of the trunk from 5060 to 5070 as the Greek trunk is ?

Not sure about the port. Your provider should tell you that. If the trunk is indeed registered, the error could be caused because your provider is rejecting your calls, maybe because the number is not formatted as they are expecting it.

1 Like

This is what it looks like when i dial out from the Netherlands trunk.
It still says all circuits are busy now. The trunk is registered. The number i am trying to call is 0030 - greek international code + my mobile

[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:1] Macro("SIP/102-0000001d", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/102-0000001d", "TOUCH_MONITOR=1554591407.29") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/102-0000001d", "AMPUSER=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SIP/102-0000001d", "0?report") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SIP/102-0000001d", "1?Set(REALCALLERIDNUM=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/102-0000001d", "AMPUSER=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SIP/102-0000001d", "0?limit") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/102-0000001d", "AMPUSERCIDNAME=KCH") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("SIP/102-0000001d", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("SIP/102-0000001d", "0?report") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/102-0000001d", "AMPUSERCID=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:11] Set("SIP/102-0000001d", "__DIAL_OPTIONS=HhTtr") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:12] Set("SIP/102-0000001d", "CALLERID(all)="KCH" <102>") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("SIP/102-0000001d", "0?limit") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("SIP/102-0000001d", "1?Set(GROUP(concurrency_limit)=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("SIP/102-0000001d", "0?Set(CHANNEL(language)=)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:16] NoOp("SIP/102-0000001d", "Macro Depth is 1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("SIP/102-0000001d", "1?report2:macroerror") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("SIP/102-0000001d", "1?continue") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:37] Set("SIP/102-0000001d", "CALLERID(number)=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:38] Set("SIP/102-0000001d", "CALLERID(name)=KCH") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("SIP/102-0000001d", "0?cnum") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:40] Set("SIP/102-0000001d", "CDR(cnam)=KCH") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:41] Set("SIP/102-0000001d", "CDR(cnum)=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-user-callerid:42] Set("SIP/102-0000001d", "CHANNEL(language)=en") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:2] Gosub("SIP/102-0000001d", "sub-record-check,s,1(out,00306980578708,no)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/102-0000001d", "0?initialized") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:2] Set("SIP/102-0000001d", "__REC_STATUS=INITIALIZED") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:3] Set("SIP/102-0000001d", "NOW=1554591407") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:4] Set("SIP/102-0000001d", "__DAY=07") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:5] Set("SIP/102-0000001d", "__MONTH=04") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:6] Set("SIP/102-0000001d", "__YEAR=2019") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:7] Set("SIP/102-0000001d", "__TIMESTR=20190407-015647") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:8] Set("SIP/102-0000001d", "__FROMEXTEN=102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:9] Set("SIP/102-0000001d", "__MON_FMT=wav") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/102-0000001d", "Recordings initialized") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/102-0000001d", "0?Set(ARG3=dontcare)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:12] Set("SIP/102-0000001d", "REC_POLICY_MODE_SAVE=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/102-0000001d", "0?Set(REC_STATUS=NO)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/102-0000001d", "3?checkaction") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (sub-record-check,s,17)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/102-0000001d", "1?sub-record-check,out,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (sub-record-check,out,1)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [out@sub-record-check:1] NoOp("SIP/102-0000001d", "Outbound Recording Check from 102 to 00306980578708") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [out@sub-record-check:2] Set("SIP/102-0000001d", "RECMODE=dontcare") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [out@sub-record-check:3] ExecIf("SIP/102-0000001d", "1?Goto(routewins)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (sub-record-check,out,7)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [out@sub-record-check:7] Gosub("SIP/102-0000001d", "recordcheck,1(no,out,00306980578708)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/102-0000001d", "Starting recording check against no") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/102-0000001d", "no") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (sub-record-check,recordcheck,12)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:12] Set("SIP/102-0000001d", "__REC_POLICY_MODE=NO") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [recordcheck@sub-record-check:13] Return("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [out@sub-record-check:8] Return("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:3] ExecIf("SIP/102-0000001d", "0 ?Set(CDR(accountcode)=)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:4] Set("SIP/102-0000001d", "MOHCLASS=none") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:5] ExecIf("SIP/102-0000001d", "1?Set(TRUNKCIDOVERRIDE=31202629622)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:6] Set("SIP/102-0000001d", "_NODEST=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:7] Macro("SIP/102-0000001d", "dialout-trunk,3,00306980578708,,on") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SIP/102-0000001d", "DIAL_TRUNK=3") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf("SIP/102-0000001d", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf("SIP/102-0000001d", "0?sub-pincheck,s,1()") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf("SIP/102-0000001d", "0?Set(CALLERID(num)=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf("SIP/102-0000001d", "0?disabletrunk,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:6] Set("SIP/102-0000001d", "DIAL_NUMBER=00306980578708") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:7] Set("SIP/102-0000001d", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:8] Set("SIP/102-0000001d", "OUTBOUND_GROUP=OUT_3") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:9] Set("SIP/102-0000001d", "DIAL_TRUNK_OPTIONS=T") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf("SIP/102-0000001d", "0?nomax") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf("SIP/102-0000001d", "0?chanfull") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf("SIP/102-0000001d", "0?skipoutcid") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:13] Macro("SIP/102-0000001d", "outbound-callerid,3") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("SIP/102-0000001d", "102") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("SIP/102-0000001d", "off") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("SIP/102-0000001d", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("SIP/102-0000001d", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf("SIP/102-0000001d", "0?Set(REALCALLERIDNUM=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf("SIP/102-0000001d", "0?Set(AMPUSER=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf("SIP/102-0000001d", "1?normcid") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:12] Set("SIP/102-0000001d", "USEROUTCID=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:13] Set("SIP/102-0000001d", "EMERGENCYCID=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:14] Set("SIP/102-0000001d", "TRUNKOUTCID=31202629622") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf("SIP/102-0000001d", "1?trunkcid") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf("SIP/102-0000001d", "1?Set(CALLERID(all)=31202629622)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf("SIP/102-0000001d", "0?Set(CALLERID(all)=)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("SIP/102-0000001d", "1?Set(CALLERID(all)=31202629622)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf("SIP/102-0000001d", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf("SIP/102-0000001d", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:25] Set("SIP/102-0000001d", "CDR(outbound_cnum)=31202629622") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outbound-callerid:26] Set("SIP/102-0000001d", "CDR(outbound_cnam)=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf("SIP/102-0000001d", "0?sub-flp-3,s,1()") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:15] Set("SIP/102-0000001d", "OUTNUM=00306980578708") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:16] Set("SIP/102-0000001d", "custom=SIP/Yuboto_NL") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("SIP/102-0000001d", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)T)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf("SIP/102-0000001d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)TM(confirm))") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:19] Macro("SIP/102-0000001d", "dialout-trunk-predial-hook,") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf("SIP/102-0000001d", "0?bypass,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("SIP/102-0000001d", "1?Set(CONNECTEDLINE(num,i)=00306980578708)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf("SIP/102-0000001d", "1?Set(CONNECTEDLINE(name,i)=CID:31202629622)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf("SIP/102-0000001d", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)31202629622)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf("SIP/102-0000001d", "0?customtrunk") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:25] Dial("SIP/102-0000001d", "SIP/Yuboto_NL/00306980578708,300,M(setmusic^none)Tb(func-apply-sipheaders^s^1,(3))") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] netsock2.c: Using SIP RTP TOS bits 184
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] netsock2.c: Using SIP RTP CoS mark 5
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_stack.c: SIP/Yuboto_NL-0000001e Internal Gosub(func-apply-sipheaders,s,1(3)) start
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("SIP/Yuboto_NL-0000001e", "Applying SIP Headers to channel SIP/Yuboto_NL-0000001e") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:2] Set("SIP/Yuboto_NL-0000001e", "TECH=SIP") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:3] Set("SIP/Yuboto_NL-0000001e", "SIPHEADERKEYS=") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:4] While("SIP/Yuboto_NL-0000001e", "0") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_while.c: Jumping to priority 11
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@func-apply-sipheaders:12] Return("SIP/Yuboto_NL-0000001e", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_stack.c: Spawn extension (from-trunk, 00306980578708, 1) exited non-zero on 'SIP/Yuboto_NL-0000001e'
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_stack.c: SIP/Yuboto_NL-0000001e Internal Gosub(func-apply-sipheaders,s,1(3)) complete GOSUB_RETVAL=
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_dial.c: Called SIP/Yuboto_NL/00306980578708
[2019-04-07 01:56:47] VERBOSE[2904][C-0000000f] chan_sip.c: Got SIP response 503 "Service Unavailable" back from 213.144.173.77:5070
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_dial.c: SIP/Yuboto_NL-0000001e is circuit-busy
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:26] NoOp("SIP/102-0000001d", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-dialout-trunk:27] GotoIf("SIP/102-0000001d", "1?continue,1:s-CONGESTION,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp("SIP/102-0000001d", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/102-0000001d", "1?Set(CALLERID(number)=102)") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [00306980578708@from-internal:8] Macro("SIP/102-0000001d", "outisbusy,") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outisbusy:1] Progress("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outisbusy:2] GotoIf("SIP/102-0000001d", "0?emergency,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outisbusy:3] GotoIf("SIP/102-0000001d", "0?intracompany,1") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-outisbusy:4] Playback("SIP/102-0000001d", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
[2019-04-07 01:56:47] VERBOSE[40244][C-0000000f] file.c: <SIP/102-0000001d> Playing 'all-circuits-busy-now.alaw' (language 'en')
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] file.c: <SIP/102-0000001d> Playing 'please-try-call-later.alaw' (language 'en')
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [h@from-internal:1] Macro("SIP/102-0000001d", "hangupcall") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/102-0000001d", "1?theend") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/102-0000001d", "0?Set(CDR(recordingfile)=)") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-hangupcall:4] NoOp("SIP/102-0000001d", " monior file= ") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-hangupcall:5] AGI("SIP/102-0000001d", "attendedtransfer-rec-restart.php,,") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] res_agi.c: <SIP/102-0000001d>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Executing [s@macro-hangupcall:6] Hangup("SIP/102-0000001d", "") in new stack
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'SIP/102-0000001d' in macro 'hangupcall'
[2019-04-07 01:56:49] VERBOSE[40244][C-0000000f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000001d'

Hangup cause 34 means no channel available. Are you sure the trunk is correctly registered to your provider? Can they tell you if the call even got to them?

1 Like

According to


Yuboto server listens only on port 5070. Try setting
port=5070
in the PEER Details for both trunks.

1 Like

Thanks for the reply, but the trunk says registered in asterisk registries… with port 5070. The guy i called helped me to set it up and then he made a test call and the phone was riniging.

SInce then and after multiple efforts to fix i i am able to receive calls BUT CANT MAKE CALLS.

Any ideas ?

I have set made the the change from 5060 to 5070 (as i have in the other Greek trunk) but still nothing.
No outbound calls from the Netherlands trunk.
Do you think if i rerun the firewall wizard will help ?

2904][C-0000000f] chan_sip.c: Got SIP response 503 “Service Unavailable” back from 213.144.173.77:5070

You need to check why return “service Unavailable”.

1 Like

@mcgrathr What about if there is no credit in the account ? would i get such a response in that scenario ?

Well I don’t know, but the right answer should become from provider side.
How about SIP provider support??? have you contacted?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.