Initial Trunk and Outbound routes

I have a new installation of: Asterisk (Ver. 1.8.16.0) and

PBX Firmware: 1.816.210.58-1
PBX Service Pack: 1.0.0.0

I can call between extensions just fine but I can’t complete any calls to the outside world. The system status shows the trunk on-line and Nextiva support says it looks like I am on line. I have set up two outbound routes. One for local and one for long distance. Both use the Nextiva trunk. My system is set up to require a 9 to dial out.

When I try to make a call with either 9 then 1xxx-xxx-xxxx or 9 then xxx-xxx-xxxx, I get “Your call cannot be completed as dialed” recording.
The local dial patterns are:
() + | [311 / ]
() + | [411 / ]
() + | [911 / ]
() + | [NXXNXXXXXX / ]
The Long distance dial pattern is:
() + | [1NXXNXXXXXX / ]

Any advice that you could offer to help me trouble shoot this would be greatly appreciated.

Thanks!

Sandy

From what you posted, I do not see a 9 in your dial plan.

I would have…

() + 9 | [NXXNXXXXXX / ]
The Long distance dial pattern is:
() + 9 | [1NXXNXXXXXX / ]

If your LD carrier requires a 1 for LD calls, you would require:
(1) + 9 | [1NXXNXXXXXX / ]

voipmuch,(or anyone else that can take a minute to help), thank you for the help. I made the changes that you suggested but still can’t get any calls through. I just tried to place three calls. 1. 9+local number (get recording “Call can’t be completed as dialed”) 2. 9+areacode+number (get recording “Call can’t be completed as dialed”) 3. 9+1+area code + number (get recording that all circuits are busy. FYI long distance is set to ()+9|1NXXNXXXXXX

Here is my log for the calls. If you can take a look at it, it probably is telling me what the problem is but I don’t know enough yet to disect it.

[2012-12-04 16:03:46] VERBOSE[3690] netsock2.c: == Using SIP RTP TOS bits 184
[2012-12-04 16:03:46] VERBOSE[3690] netsock2.c: == Using SIP RTP CoS mark 5
[2012-12-04 16:03:46] VERBOSE[12241] pbx.c: – Executing [[email protected]:1] ResetCDR(“SIP/101-00000020”, “”) in new stack
[2012-12-04 16:03:46] VERBOSE[12241] pbx.c: – Executing [[email protected]:2] NoCDR(“SIP/101-00000020”, “”) in new stack
[2012-12-04 16:03:46] VERBOSE[12241] pbx.c: – Executing [[email protected]:3] Progress(“SIP/101-00000020”, “”) in new stack
[2012-12-04 16:03:46] VERBOSE[12241] pbx.c: – Executing [[email protected]:4] Wait(“SIP/101-00000020”, “1”) in new stack
[2012-12-04 16:03:47] VERBOSE[12241] pbx.c: – Executing [[email protected]:5] Progress(“SIP/101-00000020”, “”) in new stack
[2012-12-04 16:03:47] VERBOSE[12241] pbx.c: – Executing [[email protected]:6] Playback(“SIP/101-00000020”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2012-12-04 16:03:47] VERBOSE[12241] file.c: – <SIP/101-00000020> Playing ‘silence/1.ulaw’ (language ‘en’)
[2012-12-04 16:03:48] VERBOSE[12241] file.c: – <SIP/101-00000020> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2012-12-04 16:03:50] VERBOSE[12241] pbx.c: == Spawn extension (from-internal, 95551212, 6) exited non-zero on ‘SIP/101-00000020’
[2012-12-04 16:03:50] VERBOSE[12241] pbx.c: – Executing [[email protected]:1] Hangup(“SIP/101-00000020”, “”) in new stack
[2012-12-04 16:03:50] VERBOSE[12241] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/101-00000020’
[2012-12-04 16:03:55] VERBOSE[3690] netsock2.c: == Using SIP RTP TOS bits 184
[2012-12-04 16:03:55] VERBOSE[3690] netsock2.c: == Using SIP RTP CoS mark 5
[2012-12-04 16:03:55] VERBOSE[12243] pbx.c: – Executing [[email protected]:1] ResetCDR(“SIP/101-00000021”, “”) in new stack
[2012-12-04 16:03:55] VERBOSE[12243] pbx.c: – Executing [[email protected]:2] NoCDR(“SIP/101-00000021”, “”) in new stack
[2012-12-04 16:03:55] VERBOSE[12243] pbx.c: – Executing [[email protected]:3] Progress(“SIP/101-00000021”, “”) in new stack
[2012-12-04 16:03:55] VERBOSE[12243] pbx.c: – Executing [[email protected]:4] Wait(“SIP/101-00000021”, “1”) in new stack
[2012-12-04 16:03:56] VERBOSE[12243] pbx.c: – Executing [[email protected]:5] Progress(“SIP/101-00000021”, “”) in new stack
[2012-12-04 16:03:56] VERBOSE[12243] pbx.c: – Executing [[email protected]:6] Playback(“SIP/101-00000021”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2012-12-04 16:03:56] VERBOSE[12243] file.c: – <SIP/101-00000021> Playing ‘silence/1.ulaw’ (language ‘en’)
[2012-12-04 16:03:57] VERBOSE[12243] file.c: – <SIP/101-00000021> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2012-12-04 16:03:58] VERBOSE[12243] pbx.c: == Spawn extension (from-internal, 93524062, 6) exited non-zero on ‘SIP/101-00000021’
[2012-12-04 16:03:58] VERBOSE[12243] pbx.c: – Executing [[email protected]:1] Hangup(“SIP/101-00000021”, “”) in new stack
[2012-12-04 16:03:58] VERBOSE[12243] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/101-00000021’
[2012-12-04 16:04:05] VERBOSE[3690] netsock2.c: == Using SIP RTP TOS bits 184
[2012-12-04 16:04:05] VERBOSE[3690] netsock2.c: == Using SIP RTP CoS mark 5
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Macro(“SIP/101-00000022”, “user-callerid,LIMIT,”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Set(“SIP/101-00000022”, “AMPUSER=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/101-00000022”, “0?report”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/101-00000022”, “1?Set(REALCALLERIDNUM=101)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:4] Set(“SIP/101-00000022”, “AMPUSER=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:5] Set(“SIP/101-00000022”, “AMPUSERCIDNAME=Kathy Gravatt”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/101-00000022”, “0?report”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:7] Set(“SIP/101-00000022”, “AMPUSERCID=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:8] Set(“SIP/101-00000022”, “CALLERID(all)=“Kathy Gravatt” <101>”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/101-00000022”, “0?limit”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:10] ExecIf(“SIP/101-00000022”, “1?Set(GROUP(concurrency_limit)=101)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:11] ExecIf(“SIP/101-00000022”, “0?Set(CHANNEL(language)=)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:12] GosubIf(“SIP/101-00000022”, “7?sub-ccss,s,1(from-internal,913525551212)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/101-00000022”, “0?Return()”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] Set(“SIP/101-00000022”, “CCSS_SETUP=TRUE”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] GosubIf(“SIP/101-00000022”, “0?monitor_config,1(from-internal,913525551212):monitor_default,1(from-internal,913525551212)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/101-00000022”, “0?is_exten”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] StackPop(“SIP/101-00000022”, “”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] Return(“SIP/101-00000022”, “FALSE”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/101-00000022”, “1?continue”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-user-callerid,s,26)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:26] Set(“SIP/101-00000022”, “CALLERID(number)=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:27] Set(“SIP/101-00000022”, “CALLERID(name)=Kathy Gravatt”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:28] Set(“SIP/101-00000022”, “CHANNEL(language)=en”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] Set(“SIP/101-00000022”, “MOHCLASS=default”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/101-00000022”, “1?Set(TRUNKCIDOVERRIDE=MYUSERID)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:4] Set(“SIP/101-00000022”, “_NODEST=”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:5] Gosub(“SIP/101-00000022”, “sub-record-check,s,1(out,913525551212,)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/101-00000022”, “1?check”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (sub-record-check,s,6)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:6] Set(“SIP/101-00000022”, “__MON_FMT=wav”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/101-00000022”, “1?next”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (sub-record-check,s,10)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:10] ExecIf(“SIP/101-00000022”, “0?Return()”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:11] GotoIf(“SIP/101-00000022”, “0?out,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:12] Set(“SIP/101-00000022”, “__REC_STATUS=INITIALIZED”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:13] ExecIf(“SIP/101-00000022”, “0?Set(__REC_POLICY_MODE=)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:14] Set(“SIP/101-00000022”, “NOW=1354655045”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:15] Set(“SIP/101-00000022”, “__DAY=04”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:16] Set(“SIP/101-00000022”, “__MONTH=12”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:17] Set(“SIP/101-00000022”, “__YEAR=2012”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:18] Set(“SIP/101-00000022”, “__TIMESTR=20121204-160405”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:19] Set(“SIP/101-00000022”, “__FROMEXTEN=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:20] Set(“SIP/101-00000022”, “__CALLFILENAME=out-913525551212-101-20121204-160405-1354655045.34”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:21] Goto(“SIP/101-00000022”, “out,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (sub-record-check,out,1)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/101-00000022”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] GosubIf(“SIP/101-00000022”, “0?record,1(exten,913525551212,101)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] Return(“SIP/101-00000022”, “”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:6] Macro(“SIP/101-00000022”, “dialout-trunk,2,13525551212,”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Set(“SIP/101-00000022”, “DIAL_TRUNK=2”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] GosubIf(“SIP/101-00000022”, “0?sub-pincheck,s,1()”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/101-00000022”, “0?disabletrunk,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:4] Set(“SIP/101-00000022”, “DIAL_NUMBER=13525551212”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:5] Set(“SIP/101-00000022”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:6] Set(“SIP/101-00000022”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/101-00000022”, “1?nomax”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-dialout-trunk,s,9)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/101-00000022”, “0?skipoutcid”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:10] Set(“SIP/101-00000022”, “DIAL_TRUNK_OPTIONS=”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:11] Macro(“SIP/101-00000022”, “outbound-callerid,2”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/101-00000022”, “0?Set(CALLERPRES()=)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] ExecIf(“SIP/101-00000022”, “0?Set(REALCALLERIDNUM=101)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/101-00000022”, “1?normcid”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-outbound-callerid,s,6)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:6] Set(“SIP/101-00000022”, “USEROUTCID=”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:7] Set(“SIP/101-00000022”, “EMERGENCYCID=”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:8] Set(“SIP/101-00000022”, “TRUNKOUTCID=MYPASSWORD”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/101-00000022”, “1?trunkcid”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-outbound-callerid,s,12)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/101-00000022”, “1?Set(CALLERID(all)=MYPASSWORD)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:13] ExecIf(“SIP/101-00000022”, “0?Set(CALLERID(all)=)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:14] ExecIf(“SIP/101-00000022”, “1?Set(CALLERID(all)=MYUSERID)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:15] ExecIf(“SIP/101-00000022”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:12] GosubIf(“SIP/101-00000022”, “0?sub-flp-2,s,1()”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:13] Set(“SIP/101-00000022”, “OUTNUM=913525551212”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:14] Set(“SIP/101-00000022”, “custom=SIP/Pbx”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:15] ExecIf(“SIP/101-00000022”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:16] ExecIf(“SIP/101-00000022”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:17] Macro(“SIP/101-00000022”, “dialout-trunk-predial-hook,”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] MacroExit(“SIP/101-00000022”, “”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:18] GotoIf(“SIP/101-00000022”, “0?bypass,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:19] ExecIf(“SIP/101-00000022”, “1?Set(CONNECTEDLINE(num,i)=13525551212)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:20] ExecIf(“SIP/101-00000022”, “1?Set(CONNECTEDLINE(name,i)=CID:MYUSERID)”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:21] GotoIf(“SIP/101-00000022”, “0?customtrunk”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:22] Dial(“SIP/101-00000022”, “SIP/Pbx/913525551212,300,”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] netsock2.c: == Using SIP RTP TOS bits 184
[2012-12-04 16:04:05] VERBOSE[12245] netsock2.c: == Using SIP RTP CoS mark 5
[2012-12-04 16:04:05] VERBOSE[12245] app_dial.c: – Called SIP/Pbx/913525551212
[2012-12-04 16:04:05] VERBOSE[12245] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:23] NoOp(“SIP/101-00000022”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:24] Goto(“SIP/101-00000022”, “s-CHANUNAVAIL,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Set(“SIP/101-00000022”, “RC=1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] Goto(“SIP/101-00000022”, “1,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-dialout-trunk,1,1)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Goto(“SIP/101-00000022”, “continue,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/101-00000022”, “1?noreport”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Goto (macro-dialout-trunk,continue,3)
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] NoOp(“SIP/101-00000022”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:4] Set(“SIP/101-00000022”, “CALLERID(number)=101”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:7] Macro(“SIP/101-00000022”, “outisbusy,”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Progress(“SIP/101-00000022”, “”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/101-00000022”, “0?emergency,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/101-00000022”, “0?intracompany,1”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] pbx.c: – Executing [[email protected]:4] Playback(“SIP/101-00000022”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[2012-12-04 16:04:05] VERBOSE[12245] file.c: – <SIP/101-00000022> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2012-12-04 16:04:07] VERBOSE[12245] file.c: – <SIP/101-00000022> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
[2012-12-04 16:04:09] VERBOSE[12245] pbx.c: – Executing [[email protected]:5] Congestion(“SIP/101-00000022”, “20”) in new stack
[2012-12-04 16:04:09] WARNING[12245] channel.c: Prodding channel ‘SIP/101-00000022’ failed
[2012-12-04 16:04:09] VERBOSE[12245] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/101-00000022’ in macro ‘outisbusy’
[2012-12-04 16:04:09] VERBOSE[12245] pbx.c: == Spawn extension (from-internal, 913525551212, 7) exited non-zero on ‘SIP/101-00000022’
[2012-12-04 16:04:09] VERBOSE[12245] pbx.c: – Executing [[email protected]:1] Hangup(“SIP/101-00000022”, “”) in new stack
[2012-12-04 16:04:09] VERBOSE[12245] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/101-00000022’
[2012-12-04 16:04:16] WARNING[3690] chan_sip.c: Retransmission timeout reached on transmission [email protected] for seqno 102 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 26112ms with no response

it looks like you have multiple issues.

  1. your dial plan is not removing the “9” before sending the number to the trunk
    so as dials plans you need to have 0+9| or 0+91| for long distance
  2. you need to determine what your carrier requires for both local and long distance. many sip trunk providers require 10 digits for both local and long distance. a few also require a 1 for long distance. you probably also have to add the area code for the local dial plan. i.e. 415+9|
  3. looks like you have a NAT issue as well as i see an internal ip address being passed in the last line you pasted.

Bksales,

You are correct. I had to remove the reference to the “9” on the trunk setup. That along with your previous advice has me online and both sending and receiving calls. Thank you so much for the help!

Sandy