Getting Error while making Internation outgoing calls through Bandwitdth.com account

Hi All,

I’ve configured Freepbx and integrated bandwidth.com accounts for making international calls through this account and it was working but suddenly we are getting failure for making international outgoing calls.

Please find the attached error for this.

Asterisk CLI>

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [14088348565@from-internal:1] Macro(“SIP/505-00000002”, “user-callerid,LIMIT,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/505-00000002”, “AMPUSER=505”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/505-00000002”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/505-00000002”, “1?Set(REALCALLERIDNUM=505)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/505-00000002”, “AMPUSER=505”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/505-00000002”, “AMPUSERCIDNAME=Sachin Koshti”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/505-00000002”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/505-00000002”, “AMPUSERCID=505”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/505-00000002”, “CALLERID(all)=“Sachin Koshti” <505>”) in new stack
– Executing [s@macro-user-callerid:9] GotoIf(“SIP/505-00000002”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:10] ExecIf(“SIP/505-00000002”, “1?Set(GROUP(concurrency_limit)=505)”) in new stack
– Executing [s@macro-user-callerid:11] GosubIf(“SIP/505-00000002”, “7?sub-ccss,s,1(from-internal,14088348565)()”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/505-00000002”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/505-00000002”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/505-00000002”, “0?monitor_config,1(from-internal,14088348565)()():monitor_default,1(from-internal,14088348565)()()”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/505-00000002”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/505-00000002”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/505-00000002”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/505-00000002”, “1?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:13] GotoIf(“SIP/505-00000002”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [s@macro-user-callerid:26] Set(“SIP/505-00000002”, “CALLERID(number)=505”) in new stack
– Executing [s@macro-user-callerid:27] Set(“SIP/505-00000002”, “CALLERID(name)=Sachin Koshti”) in new stack
– Executing [s@macro-user-callerid:28] Set(“SIP/505-00000002”, “CHANNEL(language)=”) in new stack
– Executing [14088348565@from-internal:2] Set(“SIP/505-00000002”, “MOHCLASS=default”) in new stack
– Executing [14088348565@from-internal:3] Set(“SIP/505-00000002”, “_NODEST=”) in new stack
– Executing [14088348565@from-internal:4] Gosub(“SIP/505-00000002”, “sub-record-check,s,1(out,14088348565,)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/505-00000002”, “1?check”) in new stack
– Goto (sub-record-check,s,3)
– Executing [s@sub-record-check:3] Set(“SIP/505-00000002”, “MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:4] GotoIf(“SIP/505-00000002”, “1?next”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] ExecIf(“SIP/505-00000002”, “0?Return()”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/505-00000002”, “0?out,1”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/505-00000002”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:10] ExecIf(“SIP/505-00000002”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:11] Set(“SIP/505-00000002”, “NOW=1346492780”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/505-00000002”, “__DAY=01”) in new stack
– Executing [s@sub-record-check:13] Set(“SIP/505-00000002”, “__MONTH=09”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/505-00000002”, “__YEAR=2012”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/505-00000002”, “__TIMESTR=20120901-151620”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/505-00000002”, “__FROMEXTEN=505”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/505-00000002”, “__CALLFILENAME=out-14088348565-505-20120901-151620-1346492780.4”) in new stack
– Executing [s@sub-record-check:18] Goto(“SIP/505-00000002”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/505-00000002”, “1?Set(__REC_POLICY_MODE=always)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/505-00000002”, “1?record,1(exten,14088348565,505)”) in new stack
– Executing [record@sub-record-check:1] Set(“SIP/505-00000002”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
– Executing [record@sub-record-check:2] MixMonitor(“SIP/505-00000002”, “2012/09/01/out-14088348565-505-20120901-151620-1346492780.4.wav,”) in new stack
– Executing [record@sub-record-check:3] Set(“SIP/505-00000002”, “__REC_STATUS=RECORDING”) in new stack
– Executing [record@sub-record-check:4] Set(“SIP/505-00000002”, “CDR(recordingfile)=out-14088348565-505-20120901-151620-1346492780.4.wav”) in new stack
– Executing [record@sub-record-check:5] Return(“SIP/505-00000002”, “”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/505-00000002”, “”) in new stack
– Executing [14088348565@from-internal:5] Macro(“SIP/505-00000002”, “dialout-trunk,1,14088348565,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/505-00000002”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/505-00000002”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/505-00000002”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/505-00000002”, “DIAL_NUMBER=14088348565”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/505-00000002”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/505-00000002”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/505-00000002”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/505-00000002”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/505-00000002”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/505-00000002”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/505-00000002”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/505-00000002”, “0?Set(REALCALLERIDNUM=505)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/505-00000002”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/505-00000002”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/505-00000002”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/505-00000002”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/505-00000002”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/505-00000002”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/505-00000002”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/505-00000002”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/505-00000002”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/505-00000002”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/505-00000002”, “OUTNUM=14088348565”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/505-00000002”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/505-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/505-00000002”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/505-00000002”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/505-00000002”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/505-00000002”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/505-00000002”, “1?Set(CONNECTEDLINE(num,i)=14088348565)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/505-00000002”, “1?Set(CONNECTEDLINE(name,i)=CID:505)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/505-00000002”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/505-00000002”, “DAHDI/g0/14088348565,300,”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called DAHDI/g0/14088348565
== Begin MixMonitor Recording SIP/505-00000002
– DAHDI/i1/14088348565-3 is proceeding passing it to SIP/505-00000002
– Span 1: Channel 0/1 got hangup request, cause 1
– Hungup ‘DAHDI/i1/14088348565-3’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/505-00000002”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1”) in new stack
– Executing [s@macro-dialout-trunk:24] Goto(“SIP/505-00000002”, “s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/505-00000002”, “RC=1”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/505-00000002”, “1,1”) in new stack
– Goto (macro-dialout-trunk,1,1)
– Executing [1@macro-dialout-trunk:1] Goto(“SIP/505-00000002”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/505-00000002”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/505-00000002”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:4] Set(“SIP/505-00000002”, “CALLERID(number)=505”) in new stack
– Executing [14088348565@from-internal:6] Macro(“SIP/505-00000002”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/505-00000002”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/505-00000002”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/505-00000002”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/505-00000002”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/505-00000002> Playing ‘all-circuits-busy-now.alaw’ (language ‘’)
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘SIP/505-00000002’ in macro ‘outisbusy’
== Spawn extension (from-internal, 14088348565, 6) exited non-zero on ‘SIP/505-00000002’
– Executing [h@from-internal:1] Hangup(“SIP/505-00000002”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/505-00000002’
== MixMonitor close filestream
== End MixMonitor Recording SIP/505-00000002

What could be the reason for stopping me to making calls.

Thanks,
Sachin

http://networking.ringofsaturn.com/Routers/isdncausecodes.php

specifically

Cause No. l - Unallocated (unassigned) number.
This cause indicates that the destination requested by the calling user cannot be reached because, although the number is in a valid format, it is not currently assigned (allocated).
What it usually means:

The SPIDS may be incorrectly entered in the router or the Telco switch, giving a SPID failure in the router logs.
The ISDN phone number being dialed by the router is invalid and the telco switch cannot locate the number to complete the call, as it is invalid.
On long distance calls, the call cannot be properly routed to its destination.

If this a PRI that is returned by the carrier, if an analog, then the carrier just returned busy on you dialling 14088348565:-

– Requested transfer capability: 0x00 - SPEECH
– Called DAHDI/g0/14088348565
== Begin MixMonitor Recording SIP/505-00000002
– DAHDI/i1/14088348565-3 is proceeding passing it to SIP/505-00000002
– Span 1: Channel 0/1 got hangup request, cause 1
– Hungup ‘DAHDI/i1/14088348565-3’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/505-00000002”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1”) in new stack

For an international number, must countries require a prefix to make international calls (+), in the US 011, in may other countries 00

It would be interesting to know how you are trying to get to bandwidth.com through Dahdi trunks though.