Unable to make International calls but able to dial northamerica

Hello All,
Need a serious help,
Ever since I have installed Asterisk 16.9.0 under incredible GUI 15.0.9.81 as fresh install on centos 7, I am running into issues with international call or any calls other than 10 digit numbers to be precise. now the catch is the trunks i am using works fine on my old machine with asterisk 13.24.1.
With this new version os asterisk, it worked once or twice since i configured exactly as in my old system with asterisk 13.24.1, but after 2 or 3 successful attempt, now everytime i dial any international number with 011. it says all circuits are busy now which i think the congestion message… now i have 3 trunk with 3 different provider and tried with all of them same issue… international is not blocked through the carrier verified.

I am attaching my full log below. Please help. once again any 10 digit call works fine. I am guessing something with in asterisk is blocking the calls.

###########################################################################

– Executing [[email protected]:1] Macro(“SIP/204-00000069”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Macro(“SIP/204-00000069”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/204-00000069”, “TOUCH_MONITOR=1586399078.105”) in new stack
– Executing [[email protected]:1] Set(“SIP/204-00000069”, “TOUCH_MONITOR=1586399078.105”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “AMPUSER=204”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “AMPUSER=204”) in new stack
– Executing [[email protected]:3] Set(“SIP/204-00000069”, “HOTDESCKCHAN=204-00000069”) in new stack
– Executing [[email protected]:3] Set(“SIP/204-00000069”, “HOTDESCKCHAN=204-00000069”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “HOTDESKEXTEN=204”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “HOTDESKEXTEN=204”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:6] ExecIf(“SIP/204-00000069”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:6] ExecIf(“SIP/204-00000069”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:7] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/204-00000069”, “0?report”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/204-00000069”, “0?report”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/204-00000069”, “1?Set(REALCALLERIDNUM=204)”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/204-00000069”, “1?Set(REALCALLERIDNUM=204)”) in new stack
– Executing [[email protected]:10] Set(“SIP/204-00000069”, “AMPUSER=204”) in new stack
– Executing [[email protected]:10] Set(“SIP/204-00000069”, “AMPUSER=204”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/204-00000069”, “0?limit”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/204-00000069”, “0?limit”) in new stack
– Executing [[email protected]:12] Set(“SIP/204-00000069”, “AMPUSERCIDNAME=204”) in new stack
– Executing [[email protected]:12] Set(“SIP/204-00000069”, “AMPUSERCIDNAME=204”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/204-00000069”, “0?report”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/204-00000069”, “0?report”) in new stack
– Executing [[email protected]:15] Set(“SIP/204-00000069”, “AMPUSERCID=204”) in new stack
– Executing [[email protected]:15] Set(“SIP/204-00000069”, “AMPUSERCID=204”) in new stack
– Executing [[email protected]:16] Set(“SIP/204-00000069”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:16] Set(“SIP/204-00000069”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:17] Set(“SIP/204-00000069”, “CALLERID(all)=“204” <204>”) in new stack
– Executing [[email protected]:17] Set(“SIP/204-00000069”, “CALLERID(all)=“204” <204>”) in new stack
– Executing [[email protected]:18] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
– Executing [[email protected]:18] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(all)=EXTERNAL)”) in new stack
– Executing [[email protected]:19] GotoIf(“SIP/204-00000069”, “0?limit”) in new stack
– Executing [[email protected]:19] GotoIf(“SIP/204-00000069”, “0?limit”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/204-00000069”, “1?Set(GROUP(concurrency_limit)=204)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/204-00000069”, “1?Set(GROUP(concurrency_limit)=204)”) in new stack
– Executing [[email protected]:21] ExecIf(“SIP/204-00000069”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:21] ExecIf(“SIP/204-00000069”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:22] NoOp(“SIP/204-00000069”, “Macro Depth is 1”) in new stack
– Executing [[email protected]:22] NoOp(“SIP/204-00000069”, “Macro Depth is 1”) in new stack
– Executing [[email protected]:23] GotoIf(“SIP/204-00000069”, “1?report2:macroerror”) in new stack
– Executing [[email protected]:23] GotoIf(“SIP/204-00000069”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,24)
– Goto (macro-user-callerid,s,24)
– Executing [[email protected]:24] GotoIf(“SIP/204-00000069”, “1?continue”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/204-00000069”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,43)
– Goto (macro-user-callerid,s,43)
– Executing [[email protected]:43] Set(“SIP/204-00000069”, “CALLERID(number)=204”) in new stack
– Executing [[email protected]:43] Set(“SIP/204-00000069”, “CALLERID(number)=204”) in new stack
– Executing [[email protected]:44] Set(“SIP/204-00000069”, “CALLERID(name)=204”) in new stack
– Executing [[email protected]:44] Set(“SIP/204-00000069”, “CALLERID(name)=204”) in new stack
– Executing [[email protected]:45] GotoIf(“SIP/204-00000069”, “0?cnum”) in new stack
– Executing [[email protected]:45] GotoIf(“SIP/204-00000069”, “0?cnum”) in new stack
– Executing [[email protected]:46] Set(“SIP/204-00000069”, “CDR(cnam)=204”) in new stack
– Executing [[email protected]:46] Set(“SIP/204-00000069”, “CDR(cnam)=204”) in new stack
– Executing [[email protected]:47] Set(“SIP/204-00000069”, “CDR(cnum)=204”) in new stack
– Executing [[email protected]:47] Set(“SIP/204-00000069”, “CDR(cnum)=204”) in new stack
– Executing [[email protected]:48] Set(“SIP/204-00000069”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:48] Set(“SIP/204-00000069”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/204-00000069”, “sub-record-check,s,1(out,0118801748607184,dontcare)”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/204-00000069”, “sub-record-check,s,1(out,0118801748607184,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/204-00000069”, “0?initialized”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/204-00000069”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/204-00000069”, “NOW=1586399078”) in new stack
– Executing [[email protected]:3] Set(“SIP/204-00000069”, “NOW=1586399078”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “__DAY=08”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “__DAY=08”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “__MONTH=04”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “__MONTH=04”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “__YEAR=2020”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “__YEAR=2020”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “__TIMESTR=20200408-202438”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “__TIMESTR=20200408-202438”) in new stack
– Executing [[email protected]:8] Set(“SIP/204-00000069”, “__FROMEXTEN=204”) in new stack
– Executing [[email protected]:8] Set(“SIP/204-00000069”, “__FROMEXTEN=204”) in new stack
– Executing [[email protected]:9] Set(“SIP/204-00000069”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:9] Set(“SIP/204-00000069”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/204-00000069”, “Recordings initialized”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/204-00000069”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/204-00000069”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/204-00000069”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/204-00000069”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:12] Set(“SIP/204-00000069”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]ub-record-check:14] GotoIf(“SIP/204-00000069”, “3?checkaction”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/204-00000069”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/204-00000069”, “1?sub-record-check,out,1”) in new stack
– Executing [[email protected]:17] GotoIf(“SIP/204-00000069”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “Outbound Recording Check from 204 to 0118801748607184”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “Outbound Recording Check from 204 to 0118801748607184”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:2] Set(“SIP/204-00000069”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “1?Goto(routewins)”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/204-00000069”, “recordcheck,1(dontcare,out,0118801748607184)”) in new stack
– Executing [[email protected]:7] Gosub(“SIP/204-00000069”, “recordcheck,1(dontcare,out,0118801748607184)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/204-00000069”, “dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/204-00000069”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:4] Set(“SIP/204-00000069”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “_NODEST=”) in new stack
– Executing [[email protected]:5] Set(“SIP/204-00000069”, “_NODEST=”) in new stack
– Executing [[email protected]:6] Macro(“SIP/204-00000069”, “dialout-trunk,18,0118801748607184,on”) in new stack
– Executing [[email protected]:6] Macro(“SIP/204-00000069”, “dialout-trunk,18,0118801748607184,on”) in new stack
– Executing [[email protected]:1] Set(“SIP/204-00000069”, “DIAL_TRUNK=18”) in new stack
– Executing [[email protected]:1] Set(“SIP/204-00000069”, “DIAL_TRUNK=18”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/204-00000069”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/204-00000069”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/204-00000069”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/204-00000069”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(num)=204)”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(num)=204)”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/204-00000069”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/204-00000069”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “DIAL_NUMBER=0118801748607184”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “DIAL_NUMBER=0118801748607184”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:8] Set(“SIP/204-00000069”, “OUTBOUND_GROUP=OUT_18”) in new stack
– Executing [[email protected]:8] Set(“SIP/204-00000069”, “OUTBOUND_GROUP=OUT_18”) in new stack
– Executing [[email protected]:9] Set(“SIP/204-00000069”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]:9] Set(“SIP/204-00000069”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/204-00000069”, “1?nomax”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/204-00000069”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Goto (macro-dialout-trunk,s,12)
– Executing [[email protected]:12] GotoIf(“SIP/204-00000069”, “0?skipoutcid”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/204-00000069”, “0?skipoutcid”) in new stack
– Executing [[email protected]:13] Macro(“SIP/204-00000069”, “outbound-callerid,18”) in new stack
– Executing [[email protected]:13] Macro(“SIP/204-00000069”, “outbound-callerid,18”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “204”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “204”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:3] NoOp(“SIP/204-00000069”, “off”) in new stack
– Executing [[email protected]:3] NoOp(“SIP/204-00000069”, “off”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/204-00000069”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/204-00000069”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
– Executing [[email protected]:5] ExecIf(“SIP/204-00000069”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [[email protected]:5] ExecIf(“SIP/204-00000069”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “HOTDESCKCHAN=204-00000069”) in new stack
– Executing [[email protected]:6] Set(“SIP/204-00000069”, “HOTDESCKCHAN=204-00000069”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “HOTDESKEXTEN=204”) in new stack
– Executing [[email protected]:7] Set(“SIP/204-00000069”, “HOTDESKEXTEN=204”) in new stack
– Executing [[email protected]:8] Set(“SIP/204-00000069”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]und-callerid:8] Set(“SIP/204-00000069”, “HOTDESKCALL=0”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/204-00000069”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/204-00000069”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/204-00000069”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [[email protected]:11] Set(“SIP/204-00000069”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [[email protected]:11] Set(“SIP/204-00000069”, “ALLOWTHISROUTE=NO”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/204-00000069”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/204-00000069”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Hangup()”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/204-00000069”, “0?Hangup()”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/204-00000069”, “0?Set(REALCALLERIDNUM=204)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/204-00000069”, “0?Set(REALCALLERIDNUM=204)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/204-00000069”, “0?Set(AMPUSER=204)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/204-00000069”, “0?Set(AMPUSER=204)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/204-00000069”, “1?normcid”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/204-00000069”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,20)
– Goto (macro-outbound-callerid,s,20)

Here is the rest of the logs:

-- Goto (macro-outbound-callerid,s,20)
-- Goto (macro-outbound-callerid,s,20)
-- Executing [[email protected]:20] Set("SIP/204-00000069", "USEROUTCID=204") in new stack
-- Executing [[email protected]:20] Set("SIP/204-00000069", "USEROUTCID=204") in new stack
-- Executing [[email protected]:21] Set("SIP/204-00000069", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:21] Set("SIP/204-00000069", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:22] ExecIf("SIP/204-00000069", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [[email protected]:22] ExecIf("SIP/204-00000069", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [[email protected]:23] Set("SIP/204-00000069", "TRUNKOUTCID=4034020445") in new stack
-- Executing [[email protected]:23] Set("SIP/204-00000069", "TRUNKOUTCID=4034020445") in new stack
-- Executing [[email protected]:24] GotoIf("SIP/204-00000069", "1?trunkcid") in new stack
-- Executing [[email protected]:24] GotoIf("SIP/204-00000069", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,30)
-- Goto (macro-outbound-callerid,s,30)
-- Executing [[email protected]:30] ExecIf("SIP/204-00000069", "1?Set(CALLERID(all)=4034020445)") in new stack
-- Executing [[email protected]:30] ExecIf("SIP/204-00000069", "1?Set(CALLERID(all)=4034020445)") in new stack
-- Executing [[email protected]:31] ExecIf("SIP/204-00000069", "1?Set(CALLERID(all)=204)") in new stack
-- Executing [[email protected]:31] ExecIf("SIP/204-00000069", "1?Set(CALLERID(all)=204)") in new stack
-- Executing [[email protected]:32] ExecIf("SIP/204-00000069", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:32] ExecIf("SIP/204-00000069", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:33] ExecIf("SIP/204-00000069", "0?Set(CALLERID(all)=204)") in new stack
-- Executing [[email protected]:33] ExecIf("SIP/204-00000069", "0?Set(CALLERID(all)=204)") in new stack
-- Executing [[email protected]:34] Set("SIP/204-00000069", "TIOHIDE=no") in new stack
-- Executing [[email protected]:34] Set("SIP/204-00000069", "TIOHIDE=no") in new stack
-- Executing [[email protected]:35] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:35] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:36] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:36] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:37] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:37] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:38] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:38] ExecIf("SIP/204-00000069", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:39] Set("SIP/204-00000069", "CDR(outbound_cnum)=204") in new stack
-- Executing [[email protected]:39] Set("SIP/204-00000069", "CDR(outbound_cnum)=204") in new stack
-- Executing [[email protected]:40] Set("SIP/204-00000069", "CDR(outbound_cnam)=") in new stack
-- Executing [[email protected]:40] Set("SIP/204-00000069", "CDR(outbound_cnam)=") in new stack
-- Executing [[email protected]:14] GosubIf("SIP/204-00000069", "0?sub-flp-18,s,1()") in new stack
-- Executing [[email protected]:14] GosubIf("SIP/204-00000069", "0?sub-flp-18,s,1()") in new stack
-- Executing [[email protected]:15] Set("SIP/204-00000069", "OUTNUM=0118801748607184") in new stack
-- Executing [[email protected]:15] Set("SIP/204-00000069", "OUTNUM=0118801748607184") in new stack
-- Executing [[email protected]:16] Set("SIP/204-00000069", "custom=SIP/Voipbuster_outbound1") in new stack
-- Executing [[email protected]:16] Set("SIP/204-00000069", "custom=SIP/Voipbuster_outbound1") in new stack
-- Executing [[email protected]:17] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [[email protected]:17] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [[email protected]:18] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [[email protected]:18] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [[email protected]:19] AGI("SIP/204-00000069", "clearlytrunking.agi") in new stack
-- Executing [[email protected]:19] AGI("SIP/204-00000069", "clearlytrunking.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/clearlytrunking.agi
-- Launched AGI Script /var/lib/asterisk/agi-bin/clearlytrunking.agi
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- <SIP/204-00000069>AGI Script clearlytrunking.agi completed, returning 0
-- <SIP/204-00000069>AGI Script clearlytrunking.agi completed, returning 0
-- Executing [[email protected]:20] AGI("SIP/204-00000069", "clearlypaging.agi") in new stack
-- Executing [[email protected]:20] AGI("SIP/204-00000069", "clearlypaging.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/clearlypaging.agi
-- Launched AGI Script /var/lib/asterisk/agi-bin/clearlypaging.agi
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- AGI Script Executing Application: (NoOp) Options: (Clearlydevices)
-- <SIP/204-00000069>AGI Script clearlypaging.agi completed, returning 0
-- <SIP/204-00000069>AGI Script clearlypaging.agi completed, returning 0
-- Executing [[email protected]:21] Macro("SIP/204-00000069", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:21] Macro("SIP/204-00000069", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("SIP/204-00000069", "") in new stack
-- Executing [[email protected]:1] MacroExit("SIP/204-00000069", "") in new stack
-- Executing [[email protected]:22] GotoIf("SIP/204-00000069", "0?bypass,1") in new stack
-- Executing [[email protected]:22] GotoIf("SIP/204-00000069", "0?bypass,1") in new stack
-- Executing [[email protected]:23] ExecIf("SIP/204-00000069", "1?Set(CONNECTEDLINE(num,i)=0118801748607184)") in new stack
-- Executing [[email protected]:23] ExecIf("SIP/204-00000069", "1?Set(CONNECTEDLINE(num,i)=0118801748607184)") in new stack
-- Executing [[email protected]:24] ExecIf("SIP/204-00000069", "1?Set(CONNECTEDLINE(name,i)=CID:204)") in new stack
-- Executing [[email protected]:24] ExecIf("SIP/204-00000069", "1?Set(CONNECTEDLINE(name,i)=CID:204)") in new stack
-- Executing [[email protected]:25] ExecIf("SIP/204-00000069", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)204)") in new stack
-- Executing [[email protected]:25] ExecIf("SIP/204-00000069", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)204)") in new stack
-- Executing [[email protected]:26] GotoIf("SIP/204-00000069", "0?customtrunk") in new stack
-- Executing [[email protected]:26] GotoIf("SIP/204-00000069", "0?customtrunk") in new stack
-- Executing [[email protected]:27] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [[email protected]:27] ExecIf("SIP/204-00000069", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [[email protected]:28] Dial("SIP/204-00000069", "SIP/Voipbuster_outbound1/0118801748607184,300,Tb(func-apply-sipheaders^s^1,(18))") in new stack
-- Executing [[email protected]:28] Dial("SIP/204-00000069", "SIP/Voipbuster_outbound1/0118801748607184,300,Tb(func-apply-sipheaders^s^1,(18))") in new stack

== Using SIP RTP TOS bits 184
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP CoS mark 5
– SIP/Voipbuster_outbound1-0000006a Internal Gosub(func-apply-sipheaders,s,1(18)) start
– SIP/Voipbuster_outbound1-0000006a Internal Gosub(func-apply-sipheaders,s,1(18)) start
– Executing [[email protected]:1] NoOp(“SIP/Voipbuster_outbound1-0000006a”, “Applying SIP Headers to channel SIP/Voipbuster_outbound1-0000006a”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/Voipbuster_outbound1-0000006a”, “Applying SIP Headers to channel SIP/Voipbuster_outbound1-0000006a”) in new stack
– Executing [[email protected]:2] Set(“SIP/Voipbuster_outbound1-0000006a”, “TECH=SIP”) in new stack
– Executing [[email protected]:2] Set(“SIP/Voipbuster_outbound1-0000006a”, “TECH=SIP”) in new stack
– Executing [[email protected]:3] Set(“SIP/Voipbuster_outbound1-0000006a”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] Set(“SIP/Voipbuster_outbound1-0000006a”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:4] While(“SIP/Voipbuster_outbound1-0000006a”, “0”) in new stack
– Executing [[email protected]:4] While(“SIP/Voipbuster_outbound1-0000006a”, “0”) in new stack
– Jumping to priority 12
– Jumping to priority 12
– Executing [[email protected]:13] Return(“SIP/Voipbuster_outbound1-0000006a”, “”) in new stack
– Executing [[email protected]:13] Return(“SIP/Voipbuster_outbound1-0000006a”, “”) in new stack
== Spawn extension (from=pstn, 0118801748607184, 1) exited non-zero on ‘SIP/Voipbuster_outbound1-0000006a’
== Spawn extension (from=pstn, 0118801748607184, 1) exited non-zero on ‘SIP/Voipbuster_outbound1-0000006a’
– SIP/Voipbuster_outbound1-0000006a Internal Gosub(func-apply-sipheaders,s,1(18)) complete GOSUB_RETVAL=
– SIP/Voipbuster_outbound1-0000006a Internal Gosub(func-apply-sipheaders,s,1(18)) complete GOSUB_RETVAL=
– Called SIP/Voipbuster_outbound1/0118801748607184
– Called SIP/Voipbuster_outbound1/0118801748607184
== Everyone is busy/congested at this time (1:0/0/1)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:29] NoOp(“SIP/204-00000069”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
– Executing [[email protected]:29] NoOp(“SIP/204-00000069”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18”) in new stack
– Executing [[email protected]:30] GotoIf(“SIP/204-00000069”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Executing [[email protected]:30] GotoIf(“SIP/204-00000069”, “1?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 18 - failing through to other trunks”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/204-00000069”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 18 - failing through to other trunks”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/204-00000069”, “1?Set(CALLERID(number)=204)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/204-00000069”, “1?Set(CALLERID(number)=204)”) in new stack
– Executing [[email protected]:7] Macro(“SIP/204-00000069”, “outisbusy,”) in new stack
– Executing [[email protected]:7] Macro(“SIP/204-00000069”, “outisbusy,”) in new stack
– Executing [[email protected]:1] Progress(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:1] Progress(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/204-00000069”, “0?emergency,1”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/204-00000069”, “0?emergency,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/204-00000069”, “0?intracompany,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/204-00000069”, “0?intracompany,1”) in new stack
– Executing [[email protected]:4] Playback(“SIP/204-00000069”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
– Executing [[email protected]:4] Playback(“SIP/204-00000069”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
– <SIP/204-00000069> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
– <SIP/204-00000069> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
> 0x7fb8280c0f80 – Strict RTP qualifying stream type: audio
> 0x7fb8280c0f80 – Strict RTP qualifying stream type: audio
> 0x7fb8280c0f80 – Strict RTP switching source address to 104.243.XX.XX:36272
> 0x7fb8280c0f80 – Strict RTP switching source address to 104.243.XX.XX:36272
> 0x7fb8280c0f80 – Strict RTP learning complete - Locking on source address 104.243.XX.XX:36272
> 0x7fb8280c0f80 – Strict RTP learning complete - Locking on source address 104.243.XX.XX:36272
– <SIP/204-00000069> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
– <SIP/204-00000069> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
– Executing [[email protected]:5] Congestion(“SIP/204-00000069”, “20”) in new stack
– Executing [[email protected]:5] Congestion(“SIP/204-00000069”, “20”) in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/204-00000069’ in macro ‘outisbusy’
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/204-00000069’ in macro ‘outisbusy’
== Spawn extension (from-internal, 0118801748607184, 7) exited non-zero on ‘SIP/204-00000069’
== Spawn extension (from-internal, 0118801748607184, 7) exited non-zero on ‘SIP/204-00000069’
– Executing [[email protected]:1] Macro(“SIP/204-00000069”, “hangupcall”) in new stack
– Executing [[email protected]:1] Macro(“SIP/204-00000069”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/204-00000069”, “1?theend”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/204-00000069”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/204-00000069”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“SIP/204-00000069”, " montior file= ") in new stack
– Executing [[email protected]:4] NoOp(“SIP/204-00000069”, " montior file= ") in new stack
– Executing [[email protected]:5] GotoIf(“SIP/204-00000069”, “1?skipagi”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/204-00000069”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] Hangup(“SIP/204-00000069”, “”) in new stack
– Executing [[email protected]:7] Hangup(“SIP/204-00000069”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/204-00000069’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/204-00000069’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/204-00000069’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/204-00000069’
noreply*CLI>

Is the 011 prefix accepted? According to


it should be 00.
If that’s not your issue, at the Asterisk command prompt type
sip set debug on
and make a test call. Look at the responses to your INVITE to see why the call was rejected. If you have trouble interpreting the SIP trace, post the relevant section of the Asterisk log at https://pastebin.freepbx.org and post the link here.

https://pastebin.freepbx.org/view/52d9d928
Here is the link of the logs.

The logs attached above is from my test pbx on virtualbox.

Thanks for the response Stewart,
011 is international code, it works fine on asterisk V13.24.1 … still i also tried it with my other trunk from localphone and voip_ms …
all with same issues… works fine on the old machine but not here… i thought it was issue on my new machine… so ended up setting another on virtualbox…
and same issue in vbox too… local outgoing calls are fine but everytime tried dialing international with 011 international code… it gave congested msg…

After authentication, there is no response to INVITEs, so it’s not clear what’s wrong. Try enabling only ulaw and alaw codecs, and disabling ICE support. If you still have trouble, post another log with SIP trace.

After another look, it appears that the problem is that the authenticated INVITE is too big to fit into a UDP packet. If you have trouble disabling ICE and removing codecs is not enough, try
sendrpid=no
in your trunk configuration.

Hey, Thank you so much for your help. I got it working now on my virtual box using the below process… but my production one still saying all “circuits are busy now” …

Tried verifying all settings btw my old asterisk and the new, difference was in Asterisk sip setting --> Sip Legacy settings[chan_sip] – > at the bottom in other sip settings: original config was:
match_auth_username = yes

but new one is -
match_auth_username = yes
sendrpid = yes
trustrpid = no
disallowed_methods = update.

so i deleted - sendrpid, trustrpid & disallowed_methods .

now i am able to make any international calls on pbx installed on virtualbox.

Here is the new log from my production server:

https://pastebin.freepbx.org/view/7fd16441

production server is still failing international call… saying circuit busy.

also how do i disable ICE support?? i will looks for where i have option to disable ICE.

Lines 609 and 610 show that unwanted codecs are still enabled. Check your trunk settings.

I believe that you can disable ICE by putting
icesupport=no
in /etc/asterisk/sip_custom.conf

Here is new log,
https://pastebin.freepbx.org/view/03f5a2be

I did what you said,

icesupport=no and also turned off other codec… right now only active is ulaw and alaw.

Still having the issue… wheni try 4 or 5 mine then finally call goes through once and then again have to try 5 or 6 times before accidentally one of the call goes through.

[email protected]:~ $ cat /etc/asterisk/sip_custom.conf
icesupport=no
sendrpid=noWARNING: Always run Incredible PBX behind a secure firewall.
[email protected]:~ $

This is one of the call that went through after 15 continuous try.

https://pastebin.freepbx.org/view/e77081ff

Having proper CallerID will also help since the other side could reject it for incorrect/unknown CallerID. Sending 204 as the CallerID number means no one can tell who you are or call you back.

– Executing [[email protected]:31] ExecIf(“SIP/204-00000105”, “1?Set(CALLERID(all)=204)”) in new stack

From: <sip:[email protected]>;tag=as0910833b

ok, I think the issue is resolved now.
Because of long weekend and stuck at home and to kill one whole day without being bored… I ended up rebuilding the operating system and pbx… because I made too many unnecessary changes in the other machine…

After re-installing and keeping in mind everything that was recommend here I had the same issue of not able to call long distance.

So finally after looking into extension config i found an option call pinless dialing which was disabled. even though i did not have any pin setup in trunks… so some how that was blocking me to be able to make international calls.

I enabled pin less dialing feature and now able to make calls with no issues. so it a feature that was causing… but not a technical issue.

Thanks for all of your helps… and hope this help peoples in future who is going to have similar issues.

I take that back… that was a false hope… the issue is back again…

Hi, I am still having issues with failed calls. Now I managed to get logs of failed vs passed call logs.

Now i compared the 2 logs with compare it tools app.

So I skipped the logs were it was same line by line and only captured the logs right where it started to defer with failed versus passed. and I pasted the 2 links below. Can you guys please take a look and advice me if anything i can do to resolve this issue… it is strange when some calls passed and mostly fails while dialing the same number… Please help…

Failed international call Log
https://pastebin.freepbx.org/view/db1f4cd3

Passed international call log
https://pastebin.freepbx.org/view/7741a42c

If you get an “internal error” from your provider, you can only contact them as to why.

well the problem is I am trying to 2 different provider voipbuster and localphone. both having similar issues… but when i use the same trunk on my older pbx calls goes through fine… I am wondering if something in the asterisk causing this issue…

No, if you get an ‘internal error’ from a provider, that is all the diagnosis you can do. If you won’t contact the provider, then find another one that doesn’t ‘crap out’ but fundamentally Taiwan doesn’t have a phone number that matches 01188017.

A competent carrier would return a cause code as to why they can’t complete

(oops 880 is bangladesh.)

https://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh

so GP, eitherway contact yoour carrier

Ehh… I think this is bug in this version of the pbx… tried calling UK, Germany, Kuwait, Dubai, India… issue persisted… i downgraded to following version and looks like everything is working fine…
http://nerdvittles.com/?p=30642
if the issue comes back i will just downgrade to asterisk version 13 and keep it like that… i had no issues with it for past 2 years…