Extension to queue fail2over dont dial out , but dial out if dial queue directly

hi
have FreePBX 12.0.76.2 with asterisk Connected to Asterisk 13.2.0

server on AWS server .

i have a strange behavior .
1-follow me to dial out don’t work
so …

i had an other plan in mind that is i create queue and inside that queue i set the number to be dialed out (including the outbound rule)
and under the extension if was busy , unreachable & didn’t reply , i sent the destination to this queue.

however , if ideal this queue form other ex … i can dial out the number.

but

if i dial the ex that has the fail2over the queue … it don’t dial out and seems like stuck in trying to dial out .

i still don’t understand why that happen.

i will paste my logs here for that i mean
case 1
when dial the queue directly …its ok and success to ring the remote destination
here I’m dialing queue 079 from ex 103
again below there is no problem
ack
– Executing [out@sub-record-check:8] Return(“Local/888807900537219@from-queue-0003e5d6;2”, “”) in new stack
– Executing [888807900537219@from-internal:3] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [888807900537219@from-internal:4] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “MOHCLASS=default”) in new stack
– Executing [888807900537219@from-internal:5] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?Set(TRUNKCIDOVERRIDE=02030264110)”) in new stack
– Executing [888807900537219@from-internal:6] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “_NODEST=”) in new stack
– Executing [888807900537219@from-internal:7] Macro(“Local/888807900537219@from-queue-0003e5d6;2”, “dialout-trunk,59,07900537219,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “DIAL_TRUNK=59”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “DIAL_NUMBER=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “DIAL_TRUNK_OPTIONS=TtrM(auto-blkvm)”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “OUTBOUND_GROUP=OUT_59”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/888807900537219@from-queue-0003e5d6;2”, “outbound-callerid,59”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(CALLERPRES()=)”) in new stack
[2016-08-01 00:37:17] WARNING[11838][C-0003e06e]: mp3/interface.c:217 decodeMP3: Junk at the beginning of frame 49443304
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?Set(REALCALLERIDNUM=103)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?Set(CALLERID(all)=02030264110)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “CDR(outbound_cnum)=02030264110”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “CDR(outbound_cnam)=”) in new stack
[2016-08-01 00:37:17] WARNING[1649]: func_cdr.c:349 cdr_write_callback: CDR requires a value (CDR(variable)=value)
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?sub-flp-59,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “OUTNUM=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/888807900537219@from-queue-0003e5d6;2”, “custom=SIP/Simwood”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“Local/888807900537219@from-queue-0003e5d6;2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Local/888807900537219@from-queue-0003e5d6;2”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?Set(CONNECTEDLINE(num,i)=07900537219)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“Local/888807900537219@from-queue-0003e5d6;2”, “1?Set(CONNECTEDLINE(name,i)=CID:02030264110)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Local/888807900537219@from-queue-0003e5d6;2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“Local/888807900537219@from-queue-0003e5d6;2”, “SIP/Simwood/07900537219,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/Simwood/07900537219
> 0x7fd9b3e691e0 – Probation passed - setting RTP source address to 178.22.136.27:12304
> 0x7fd9b3e691e0 – Probation passed - setting RTP source address to 178.22.136.27:12304
– SIP/Simwood-00001ee7 is making progress passing it to Local/888807900537219@from-queue-0003e5d6;2
– SIP/Simwood-00001ee7 answered Local/888807900537219@from-queue-0003e5d6;2
– Channel Local/888807900537219@from-queue-0003e5d6;2 joined ‘simple_bridge’ basic-bridge
– Local/888807900537219@from-queue-0003e5d6;1 answered SIP/103-00001ee6
– Stopped music on hold on SIP/103-00001ee6
– Channel SIP/Simwood-00001ee7 joined ‘simple_bridge’ basic-bridge
– Channel SIP/103-00001ee6 joined ‘simple_bridge’ basic-bridge <4678e809-30bc-4032-bf0b-7a23eb9bc0c8>
> 0x7fd9b3e691e0 – Probation passed - setting RTP source address to 178.22.136.27:12304
– Channel Local/888807900537219@from-queue-0003e5d6;1 joined ‘simple_bridge’ basic-bridge <4678e809-30bc-4032-bf0b-7a23eb9bc0c8>

===================

now from 103 i will call the ext 4106 that has fail2over to queue 079
now the 4106 is unreachbe & not registered

see logs below :slight_smile:
in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“Local/888807900537219@from-queue-0003e5db;2”, “recordcheck,1(dontcare,out,888807900537219)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“Local/888807900537219@from-queue-0003e5db;2”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“Local/888807900537219@from-queue-0003e5db;2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
– Executing [888807900537219@from-internal:3] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [888807900537219@from-internal:4] Set(“Local/888807900537219@from-queue-0003e5db;2”, “MOHCLASS=default”) in new stack
– Executing [888807900537219@from-internal:5] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(TRUNKCIDOVERRIDE=02030264110)”) in new stack
– Executing [888807900537219@from-internal:6] Set(“Local/888807900537219@from-queue-0003e5db;2”, “_NODEST=”) in new stack
– Executing [888807900537219@from-internal:7] Macro(“Local/888807900537219@from-queue-0003e5db;2”, “dialout-trunk,59,07900537219,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/888807900537219@from-queue-0003e5db;2”, “DIAL_TRUNK=59”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/888807900537219@from-queue-0003e5db;2”, “DIAL_NUMBER=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/888807900537219@from-queue-0003e5db;2”, “DIAL_TRUNK_OPTIONS=TtrM(auto-blkvm)”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/888807900537219@from-queue-0003e5db;2”, “OUTBOUND_GROUP=OUT_59”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/888807900537219@from-queue-0003e5db;2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/888807900537219@from-queue-0003e5db;2”, “outbound-callerid,59”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?Set(REALCALLERIDNUM=103)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?normcid”) in new stack
– Executing [s@macro-outbound-callerid:4] Set(“Local/888807900537219@from-queue-0003e5db;2”, “USEROUTCID=103”) in new stack
– Executing [s@macro-outbound-callerid:5] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?bypass”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“Local/888807900537219@from-queue-0003e5db;2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Local/888807900537219@from-queue-0003e5db;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/888807900537219@from-queue-0003e5db;2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/888807900537219@from-queue-0003e5db;2”, “CDR(outbound_cnum)=103”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/888807900537219@from-queue-0003e5db;2”, “CDR(outbound_cnam)=ahmad-test1”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?sub-flp-59,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“Local/888807900537219@from-queue-0003e5db;2”, “OUTNUM=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/888807900537219@from-queue-0003e5db;2”, “custom=SIP/Simwood”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“Local/888807900537219@from-queue-0003e5db;2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?Set(CONNECTEDLINE(num,i)=07900537219)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?Set(CONNECTEDLINE(name,i)=CID:103)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“Local/888807900537219@from-queue-0003e5db;2”, “SIP/Simwood/07900537219,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/Simwood/07900537219
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“Local/888807900537219@from-queue-0003e5db;2”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“Local/888807900537219@from-queue-0003e5db;2”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 58 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“Local/888807900537219@from-queue-0003e5db;2”, “CALLERID(number)=103”) in new stack
– Executing [888807900537219@from-internal:8] Macro(“Local/888807900537219@from-queue-0003e5db;2”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
– Executing [s@macro-outisbusy:2] Playback(“Local/888807900537219@from-queue-0003e5db;2”, “all-circuits-busy-now,noanswer”) in new stack
– <Local/888807900537219@from-queue-0003e5db;2> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:3] Playback(“Local/888807900537219@from-queue-0003e5db;2”, “pls-try-call-later,noanswer”) in new stack
– <Local/888807900537219@from-queue-0003e5db;2> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:4] Macro(“Local/888807900537219@from-queue-0003e5db;2”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Local/888807900537219@from-queue-0003e5db;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] Hangup(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘Local/888807900537219@from-queue-0003e5db;2’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘Local/888807900537219@from-queue-0003e5db;2’ in macro ‘outisbusy’
== Spawn extension (from-internal, 888807900537219, 8) exited non-zero on ‘Local/888807900537219@from-queue-0003e5db;2’
– Executing [h@from-internal:1] Hangup(“Local/888807900537219@from-queue-0003e5db;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/888807900537219@from-queue-0003e5db;2’
– Nobody picked up in 5000 ms
– – LazyMembers debugging - Numbusies: 0, Nummems: 1
– Called Local/888807900537219@from-queue/n
– – LazyMembers debugging - Numbusies: 0, Nummems: 1
– Executing [888807900537219@from-queue:1] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “QAGENT=888807900537219”) in new stack
– Executing [888807900537219@from-queue:2] Goto(“Local/888807900537219@from-queue-0003e5dc;2”, “079,1”) in new stack
– Goto (from-queue,079,1)
– Executing [079@from-queue:1] Goto(“Local/888807900537219@from-queue-0003e5dc;2”, “from-internal,888807900537219,1”) in new stack
– Goto (from-internal,888807900537219,1)
– Executing [888807900537219@from-internal:1] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “TOUCH_MONITOR=1470008378.2851548”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “AMPUSER=103”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [s@macro-user-callerid:15] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CALLERID(number)=103”) in new stack
– Executing [s@macro-user-callerid:30] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CALLERID(name)=ahmad-test1”) in new stack
– Executing [s@macro-user-callerid:31] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CDR(cnum)=103”) in new stack
– Executing [s@macro-user-callerid:32] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CDR(cnam)=ahmad-test1”) in new stack
– Executing [s@macro-user-callerid:33] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CHANNEL(language)=en”) in new stack
– Executing [888807900537219@from-internal:2] Gosub(“Local/888807900537219@from-queue-0003e5dc;2”, “sub-record-check,s,1(out,888807900537219,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “3?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“Local/888807900537219@from-queue-0003e5dc;2”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“Local/888807900537219@from-queue-0003e5dc;2”, “Outbound Recording Check from 103 to 888807900537219”) in new stack
– Executing [out@sub-record-check:2] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“Local/888807900537219@from-queue-0003e5dc;2”, “recordcheck,1(dontcare,out,888807900537219)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“Local/888807900537219@from-queue-0003e5dc;2”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“Local/888807900537219@from-queue-0003e5dc;2”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
– Executing [888807900537219@from-internal:3] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [888807900537219@from-internal:4] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “MOHCLASS=default”) in new stack
– Executing [888807900537219@from-internal:5] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(TRUNKCIDOVERRIDE=02030264110)”) in new stack
– Executing [888807900537219@from-internal:6] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “_NODEST=”) in new stack
– Executing [888807900537219@from-internal:7] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “dialout-trunk,59,07900537219,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “DIAL_TRUNK=59”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “DIAL_NUMBER=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “DIAL_TRUNK_OPTIONS=TtrM(auto-blkvm)”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “OUTBOUND_GROUP=OUT_59”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “outbound-callerid,59”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?Set(REALCALLERIDNUM=103)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?normcid”) in new stack
– Executing [s@macro-outbound-callerid:4] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “USEROUTCID=103”) in new stack
– Executing [s@macro-outbound-callerid:5] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?bypass”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CDR(outbound_cnum)=103”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CDR(outbound_cnam)=ahmad-test1”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?sub-flp-59,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “OUTNUM=07900537219”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “custom=SIP/Simwood”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?Set(CONNECTEDLINE(num,i)=07900537219)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?Set(CONNECTEDLINE(name,i)=CID:103)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“Local/888807900537219@from-queue-0003e5dc;2”, “SIP/Simwood/07900537219,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/Simwood/07900537219
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“Local/888807900537219@from-queue-0003e5dc;2”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“Local/888807900537219@from-queue-0003e5dc;2”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 58 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“Local/888807900537219@from-queue-0003e5dc;2”, “CALLERID(number)=103”) in new stack
– Executing [888807900537219@from-internal:8] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
– Executing [s@macro-outisbusy:2] Playback(“Local/888807900537219@from-queue-0003e5dc;2”, “all-circuits-busy-now,noanswer”) in new stack
– <Local/888807900537219@from-queue-0003e5dc;2> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:3] Playback(“Local/888807900537219@from-queue-0003e5dc;2”, “pls-try-call-later,noanswer”) in new stack
– <Local/888807900537219@from-queue-0003e5dc;2> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:4] Macro(“Local/888807900537219@from-queue-0003e5dc;2”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Local/888807900537219@from-queue-0003e5dc;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] Hangup(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘Local/888807900537219@from-queue-0003e5dc;2’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘Local/888807900537219@from-queue-0003e5dc;2’ in macro ‘outisbusy’
== Spawn extension (from-internal, 888807900537219, 8) exited non-zero on ‘Local/888807900537219@from-queue-0003e5dc;2’
– Executing [h@from-internal:1] Hangup(“Local/888807900537219@from-queue-0003e5dc;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/888807900537219@from-queue-0003e5dc;2’
– Nobody picked up in 4000 ms
– – LazyMembers debugging - Numbusies: 0, Nummems: 1
– Called Local/888807900537219@from-queue/n
– – LazyMembers debugging - Numbusies: 0, Nummems: 1
– Executing [888807900537219@from-queue:1] Set(“Local/888807900537219@from-queue-0003e5dd;2”, “QAGENT=888807900537219”) in new stack

ip-10-227-0-136*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups

as you see it seems like to stuck in loop and try to call and get busy …call and get busy forever

any help

could this be a bug ?

kind regards

Pretty easy to diagnose

will your trunk Simwood complete calls to 07900537219 as dialled?

My guess is that you are a brit and your carrier wont complete calls to Premium Rate services (PRS) in the UK without your acceptance of such charges.

I can dial tel:07900537219 from my ex 103 and it dial

i can dial 07900537219 if i dial the queue 079

but … if i dial an ex 1406 that is unreachable and has queue 079 in the failover destination .

it don’t ring the # 07900537219 and seems like stuck in the error i sent above

sorry didn’t understand your reply above .

cheers