How to stop redial from another SIM while the called number is busy or canceled the call

how to stop redial from another SIM while the called number is busy or canceled the call

we have 4 sim card connected to sangoma Card w400 GSM Quad

the issue happen when there’s outgoing call it’s ringing as normal but when costumer cancel or no answer it’s redial from all sims Cards also the tone of call still normal and we haven’t any idea that swap between Sim Cards

So how Disable This Option

Ass Soon As Possible

Can you provide a call trace

how call trace

any numnber outgoing pstn or gsm this problem

asterisk -rvvvdddd

Make a call
Copy the output to your favourite paste site such as http://pastebin.com
Edit out any sensitive information such as phone numbers
Post link here…

what mean ???

we have 4 sim card connected to sangoma Card w400 GSM Quad

the issue happen when there’s outgoing call it’s ringing as normal but when costumer cancel or no answer it’s redial from all sims Cards also the tone of call still normal and we haven’t any idea that swap between Sim Cards

I am going to assume there is simply a language barrier here. This is going to make progress difficult. We need to see the output from asterisk during a call to see what asterisk is doing.

Without this information it will be difficult to be helpful.

You may also wish to contact Sangoma in case this is a normal function of the device. They may also be able to SSH in to your system and see what is happening.

OK Thanks I will this

[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/200-00000002”, “”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/200-00000002”, “0?bypass,1”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(num,i)=01094277505)”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(name,i)=CID:01111111)”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/200-00000002”, “0?customtrunk”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/200-00000002”, “DAHDI/r1/01094277505,300,Tt”) in new stack
[2014-09-22 19:10:24] VERBOSE[9313][C-00000002] app_dial.c: – Called DAHDI/r1/01094277505
[2014-09-22 19:10:30] VERBOSE[9063] sig_wat.c: – Span 1: Remote side ringing
[2014-09-22 19:10:30] VERBOSE[9313][C-00000002] app_dial.c: – DAHDI/1-1 is ringing
[2014-09-22 19:10:30] NOTICE[9068] chan_sip.c: Peer ‘210’ is now UNREACHABLE! Last qualify: 17
[2014-09-22 19:10:34] VERBOSE[9063] sig_wat.c: – Span 1: Call hangup requested
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] sig_wat.c: – Span 1: Call Hung up
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] chan_dahdi.c: – Hungup ‘DAHDI/1-1’
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/200-00000002”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/200-00000002”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “RC=0”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/200-00000002”, “0,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,0,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [0@macro-dialout-trunk:1] Goto(“SIP/200-00000002”, “continue,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/200-00000002”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/200-00000002”, “CALLERID(number)=200”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [901094277505@restrictedroute-3-4-5:8] Macro(“SIP/200-00000002”, “dialout-trunk,4,01094277505,off”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “DIAL_TRUNK=4”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/200-00000002”, “0?sub-pincheck,s,1()”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/200-00000002”, “0?disabletrunk,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/200-00000002”, “DIAL_NUMBER=01094277505”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/200-00000002”, “OUTBOUND_GROUP=OUT_4”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/200-00000002”, “1?nomax”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/200-00000002”, “0?skipoutcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/200-00000002”, “outbound-callerid,4”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/200-00000002”, “0?Set(REALCALLERIDNUM=200)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/200-00000002”, “1?normcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/200-00000002”, “USEROUTCID=“ali” <01111111>”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/200-00000002”, “EMERGENCYCID=”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/200-00000002”, “TRUNKOUTCID=”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/200-00000002”, “1?trunkcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/200-00000002”, “1?Set(CALLERID(all)=“ali” <01111111>)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/200-00000002”, “CDR(outbound_cnum)=01111111”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/200-00000002”, “CDR(outbound_cnam)=ali”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/200-00000002”, “0?sub-flp-4,s,1()”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/200-00000002”, “OUTNUM=01094277505”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/200-00000002”, “custom=DAHDI/r7”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/200-00000002”, “dialout-trunk-predial-hook,”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/200-00000002”, “”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/200-00000002”, “0?bypass,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(num,i)=01094277505)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(name,i)=CID:01111111)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/200-00000002”, “0?customtrunk”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/200-00000002”, “DAHDI/r7/01094277505,300,Tt”) in new stack
[2014-09-22 19:10:34] WARNING[9313][C-00000002] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 34 - Circuit/channel congestion)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/200-00000002”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/200-00000002”, “0?continue,1:s-CONGESTION,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s-CONGESTION,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “RC=34”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“SIP/200-00000002”, “34,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,34,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [34@macro-dialout-trunk:1] Goto(“SIP/200-00000002”, “continue,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/200-00000002”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/200-00000002”, “CALLERID(number)=200”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [901094277505@restrictedroute-3-4-5:9] Macro(“SIP/200-00000002”, “dialout-trunk,3,01094277505,off”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “DIAL_TRUNK=3”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/200-00000002”, “0?sub-pincheck,s,1()”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/200-00000002”, “0?disabletrunk,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/200-00000002”, “DIAL_NUMBER=01094277505”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/200-00000002”, “OUTBOUND_GROUP=OUT_3”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/200-00000002”, “1?nomax”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/200-00000002”, “0?skipoutcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/200-00000002”, “outbound-callerid,3”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/200-00000002”, “0?Set(REALCALLERIDNUM=200)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/200-00000002”, “1?normcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/200-00000002”, “USEROUTCID=“ali” <01111111>”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/200-00000002”, “EMERGENCYCID=”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/200-00000002”, “TRUNKOUTCID=”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/200-00000002”, “1?trunkcid”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/200-00000002”, “1?Set(CALLERID(all)=“ali” <01111111>)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/200-00000002”, “CDR(outbound_cnum)=01111111”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/200-00000002”, “CDR(outbound_cnam)=ali”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/200-00000002”, “0?sub-flp-3,s,1()”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/200-00000002”, “OUTNUM=01094277505”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/200-00000002”, “custom=DAHDI/r5”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/200-00000002”, “dialout-trunk-predial-hook,”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/200-00000002”, “”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/200-00000002”, “0?bypass,1”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(num,i)=01094277505)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(name,i)=CID:01111111)”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/200-00000002”, “0?customtrunk”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/200-00000002”, “DAHDI/r5/01094277505,300,Tt”) in new stack
[2014-09-22 19:10:34] VERBOSE[9313][C-00000002] app_dial.c: – Called DAHDI/r5/01094277505
[2014-09-22 19:10:36] WARNING[9063] sig_wat.c: Span 1:Alarm (Lo Signal)
[2014-09-22 19:10:41] VERBOSE[9065] sig_wat.c: – Span 3: Remote side ringing
[2014-09-22 19:10:41] VERBOSE[9313][C-00000002] app_dial.c: – DAHDI/5-1 is ringing
[2014-09-22 19:10:44] VERBOSE[9065] sig_wat.c: – Span 3: Call hangup requested
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] sig_wat.c: – Span 3: Call Hung up
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] chan_dahdi.c: – Hungup ‘DAHDI/5-1’
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/200-00000002”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/200-00000002”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “RC=0”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/200-00000002”, “0,1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,0,1)
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [0@macro-dialout-trunk:1] Goto(“SIP/200-00000002”, “continue,1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/200-00000002”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/200-00000002”, “CALLERID(number)=200”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [901094277505@restrictedroute-3-4-5:10] Macro(“SIP/200-00000002”, “dialout-trunk,1,01094277505,off”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “DIAL_TRUNK=1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/200-00000002”, “0?sub-pincheck,s,1()”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/200-00000002”, “0?disabletrunk,1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/200-00000002”, “DIAL_NUMBER=01094277505”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/200-00000002”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/200-00000002”, “1?nomax”) in new stack
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2014-09-22 19:10:44] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/200-00000002”, “0?skipoutcid”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/200-00000002”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/200-00000002”, “outbound-callerid,1”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/200-00000002”, “0?Set(REALCALLERIDNUM=200)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/200-00000002”, “1?normcid”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/200-00000002”, “USEROUTCID=“ali” <01111111>”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/200-00000002”, “EMERGENCYCID=”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/200-00000002”, “TRUNKOUTCID=”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/200-00000002”, “1?trunkcid”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-outbound-callerid,s,14)
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/200-00000002”, “1?Set(CALLERID(all)=“ali” <01111111>)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/200-00000002”, “0?Set(CALLERID(all)=)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/200-00000002”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:18] Set(“SIP/200-00000002”, “CDR(outbound_cnum)=01111111”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outbound-callerid:19] Set(“SIP/200-00000002”, “CDR(outbound_cnam)=ali”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/200-00000002”, “0?sub-flp-1,s,1()”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/200-00000002”, “OUTNUM=01094277505”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/200-00000002”, “custom=DAHDI/r3”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/200-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/200-00000002”, “dialout-trunk-predial-hook,”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/200-00000002”, “”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/200-00000002”, “0?bypass,1”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(num,i)=01094277505)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/200-00000002”, “1?Set(CONNECTEDLINE(name,i)=CID:01111111)”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/200-00000002”, “0?customtrunk”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/200-00000002”, “DAHDI/r3/01094277505,300,Tt”) in new stack
[2014-09-22 19:10:45] VERBOSE[9313][C-00000002] app_dial.c: – Called DAHDI/r3/01094277505
[2014-09-22 19:10:46] NOTICE[9063] sig_wat.c: Span 1:Alarms cleared
[2014-09-22 19:10:55] VERBOSE[9064] sig_wat.c: – Span 2: Remote side ringing
[2014-09-22 19:10:55] VERBOSE[9313][C-00000002] app_dial.c: – DAHDI/3-1 is ringing
[2014-09-22 19:10:58] VERBOSE[9064] sig_wat.c: – Span 2: Call hangup requested
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] sig_wat.c: – Span 2: Call Hung up
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] chan_dahdi.c: – Hungup ‘DAHDI/3-1’
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/200-00000002”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/200-00000002”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/200-00000002”, “RC=0”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/200-00000002”, “0,1”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,0,1)
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [0@macro-dialout-trunk:1] Goto(“SIP/200-00000002”, “continue,1”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/200-00000002”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [continue@macro-dialout-trunk:2] Set(“SIP/200-00000002”, “CALLERID(number)=200”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [901094277505@restrictedroute-3-4-5:11] Macro(“SIP/200-00000002”, “outisbusy,”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outisbusy:1] Progress(“SIP/200-00000002”, “”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outisbusy:2] GotoIf(“SIP/200-00000002”, “0?emergency,1”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outisbusy:3] GotoIf(“SIP/200-00000002”, “0?intracompany,1”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] pbx.c: – Executing [s@macro-outisbusy:4] Playback(“SIP/200-00000002”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2014-09-22 19:10:58] VERBOSE[9313][C-00000002] file.c: – <SIP/200-00000002> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2014-09-22 19:11:00] VERBOSE[9313][C-00000002] file.c: – <SIP/200-00000002> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
[2014-09-22 19:11:00] VERBOSE[9313][C-00000002] app_macro.c: == Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘SIP/200-00000002’ in macro ‘outisbusy’
[2014-09-22 19:11:00] VERBOSE[9313][C-00000002] pbx.c: == Spawn extension (restrictedroute-3-4-5, 901094277505, 11) exited non-zero on ‘SIP/200-00000002’
[2014-09-22 19:11:00] VERBOSE[9341][C-00000002] app_mixmonitor.c: == MixMonitor close filestream (mixed)
[2014-09-22 19:11:00] VERBOSE[9341][C-00000002] app_mixmonitor.c: == End MixMonitor Recording SIP/200-00000002

I would say that the problem lies with Sangoma. Their device driver is not returning a subscriber busy cause code to Asterisk; it is not returning any usable cause code.

Ok Thank’s @david55 @jfinstrom