Prefix in Outbound Routes Not Working?

My SIP carrier wants 10 digits but some people dial 11 digits. In order to compensate this I put 11 digits in the dial match pattern - 1NXXXXXXXXX with a 1 in the prefix category. The system should see 11 digits, strip off the 1 and send 10 digits. Instead I get a your call can not be completed as dialed, the call does not show up in the CDR but if I dial 10 digits it works. Any ideas?

How about a log of a failed call ?

[2018-08-08 14:43:12] VERBOSE[6093][C-00000005] pbx.c: Executing [16168224220@from-internal:1] ResetCDR(“SIP/1000-00000006”, “”) in new stack
[2018-08-08 14:43:12] VERBOSE[6093][C-00000005] pbx.c: Executing [16168224220@from-internal:2] NoCDR(“SIP/1000-00000006”, “”) in new stack
[2018-08-08 14:43:12] VERBOSE[6093][C-00000005] pbx.c: Executing [16168224220@from-internal:3] Progress(“SIP/1000-00000006”, “”) in new stack
[2018-08-08 14:43:12] VERBOSE[6093][C-00000005] pbx.c: Executing [16168224220@from-internal:4] Wait(“SIP/1000-00000006”, “1”) in new stack
[2018-08-08 14:43:13] VERBOSE[6093][C-00000005] pbx.c: Executing [16168224220@from-internal:5] Playback(“SIP/1000-00000006”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2018-08-08 14:43:13] VERBOSE[6093][C-00000005] file.c: <SIP/1000-00000006> Playing ‘silence/1.ulaw’ (language ‘en’)
[2018-08-08 14:43:14] VERBOSE[6093][C-00000005] file.c: <SIP/1000-00000006> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] file.c: <SIP/1000-00000006> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] pbx.c: Executing [h@from-internal:1] Macro(“SIP/1000-00000006”, “hangupcall”) in new stack
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/1000-00000006”, “1?theend”) in new stack
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/1000-00000006”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“SIP/1000-00000006”, “”) in new stack
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/1000-00000006’ in macro ‘hangupcall’
[2018-08-08 14:43:15] VERBOSE[6093][C-00000005] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1000-00000006

when dialing 10 digits

[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:1] Macro(“SIP/1000-00000007”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/1000-00000007”, “TOUCH_MONITOR=1533753798.7”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/1000-00000007”, “AMPUSER=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:3] GotoIf(“SIP/1000-00000007”, “0?report”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:4] ExecIf(“SIP/1000-00000007”, “1?Set(REALCALLERIDNUM=1000)”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/1000-00000007”, “AMPUSER=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:6] GotoIf(“SIP/1000-00000007”, “0?limit”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:7] Set(“SIP/1000-00000007”, “AMPUSERCIDNAME=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:8] ExecIf(“SIP/1000-00000007”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:9] GotoIf(“SIP/1000-00000007”, “0?report”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/1000-00000007”, “AMPUSERCID=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:11] Set(“SIP/1000-00000007”, “__DIAL_OPTIONS=Ttr”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/1000-00000007”, “CALLERID(all)=“1000” <1000>”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“SIP/1000-00000007”, “0?limit”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“SIP/1000-00000007”, “1?Set(GROUP(concurrency_limit)=1000)”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:15] ExecIf(“SIP/1000-00000007”, “0?Set(CHANNEL(language)=)”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:16] NoOp(“SIP/1000-00000007”, “Macro Depth is 1”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:17] GotoIf(“SIP/1000-00000007”, “1?report2:macroerror”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:18] GotoIf(“SIP/1000-00000007”, “1?continue”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:37] Set(“SIP/1000-00000007”, “CALLERID(number)=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:38] Set(“SIP/1000-00000007”, “CALLERID(name)=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:39] GotoIf(“SIP/1000-00000007”, “0?cnum”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:40] Set(“SIP/1000-00000007”, “CDR(cnam)=1000”) in new stack
[2018-08-08 14:43:18] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:41] Set(“SIP/1000-00000007”, “CDR(cnum)=1000”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-user-callerid:42] Set(“SIP/1000-00000007”, “CHANNEL(language)=en”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:2] Gosub(“SIP/1000-00000007”, “sub-record-check,s,1(out,6168224220,dontcare)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/1000-00000007”, “0?initialized”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/1000-00000007”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/1000-00000007”, “NOW=1533753799”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/1000-00000007”, “__DAY=08”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/1000-00000007”, “__MONTH=08”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/1000-00000007”, “__YEAR=2018”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/1000-00000007”, “__TIMESTR=20180808-144319”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/1000-00000007”, “__FROMEXTEN=1000”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/1000-00000007”, “__MON_FMT=wav”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/1000-00000007”, “Recordings initialized”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/1000-00000007”, “0?Set(ARG3=dontcare)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/1000-00000007”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/1000-00000007”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/1000-00000007”, “3?checkaction”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/1000-00000007”, “1?sub-record-check,out,1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [out@sub-record-check:1] NoOp(“SIP/1000-00000007”, “Outbound Recording Check from 1000 to 6168224220”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [out@sub-record-check:2] Set(“SIP/1000-00000007”, “RECMODE=dontcare”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [out@sub-record-check:3] ExecIf(“SIP/1000-00000007”, “1?Goto(routewins)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [out@sub-record-check:7] Gosub(“SIP/1000-00000007”, “recordcheck,1(dontcare,out,6168224220)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/1000-00000007”, “Starting recording check against dontcare”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/1000-00000007”, “dontcare”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/1000-00000007”, “”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [out@sub-record-check:8] Return(“SIP/1000-00000007”, “”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:3] ExecIf(“SIP/1000-00000007”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:4] Set(“SIP/1000-00000007”, “MOHCLASS=default”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:5] ExecIf(“SIP/1000-00000007”, “1?Set(TRUNKCIDOVERRIDE=<6036435174>)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:6] Set(“SIP/1000-00000007”, “_NODEST=”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [6168224220@from-internal:7] Macro(“SIP/1000-00000007”, “dialout-trunk,1,6168224220,off”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“SIP/1000-00000007”, “DIAL_TRUNK=1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/1000-00000007”, “0?Set(DIAL_OPTIONS=tr)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“SIP/1000-00000007”, “0?sub-pincheck,s,1()”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:4] GotoIf(“SIP/1000-00000007”, “0?disabletrunk,1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:5] Set(“SIP/1000-00000007”, “DIAL_NUMBER=6168224220”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“SIP/1000-00000007”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“SIP/1000-00000007”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“SIP/1000-00000007”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/1000-00000007”, “1?nomax”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf(“SIP/1000-00000007”, “0?skipoutcid”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:12] Macro(“SIP/1000-00000007”, “outbound-callerid,1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/1000-00000007”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/1000-00000007”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/1000-00000007”, “0?Set(REALCALLERIDNUM=1000)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/1000-00000007”, “0?Set(AMPUSER=1000)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:5] GotoIf(“SIP/1000-00000007”, “1?normcid”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:9] Set(“SIP/1000-00000007”, “USEROUTCID=”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:10] Set(“SIP/1000-00000007”, “EMERGENCYCID=”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“SIP/1000-00000007”, “TRUNKOUTCID=6036435174”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:12] GotoIf(“SIP/1000-00000007”, “1?trunkcid”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/1000-00000007”, “1?Set(CALLERID(all)=6036435174)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/1000-00000007”, “0?Set(CALLERID(all)=)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/1000-00000007”, “1?Set(CALLERID(all)=<6036435174>)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf(“SIP/1000-00000007”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“SIP/1000-00000007”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:22] Set(“SIP/1000-00000007”, “CDR(outbound_cnum)=6036435174”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“SIP/1000-00000007”, “CDR(outbound_cnam)=”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:13] GosubIf(“SIP/1000-00000007”, “0?sub-flp-1,s,1()”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:14] Set(“SIP/1000-00000007”, “OUTNUM=6168224220”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“SIP/1000-00000007”, “custom=SIP/Appia_Metaswitch”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/1000-00000007”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“SIP/1000-00000007”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:18] Macro(“SIP/1000-00000007”, “dialout-trunk-predial-hook,”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1000-00000007”, “”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:19] GotoIf(“SIP/1000-00000007”, “0?bypass,1”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1000-00000007”, “1?Set(CONNECTEDLINE(num,i)=6168224220)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/1000-00000007”, “1?Set(CONNECTEDLINE(name,i)=CID:6036435174)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“SIP/1000-00000007”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)6036435174)”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:23] GotoIf(“SIP/1000-00000007”, “0?customtrunk”) in new stack
[2018-08-08 14:43:19] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-dialout-trunk:24] Dial(“SIP/1000-00000007”, “SIP/Appia_Metaswitch/6168224220,300,T”) in new stack
[2018-08-08 14:43:21] VERBOSE[6094][C-00000006] app_dial.c: SIP/Appia_Metaswitch-00000008 is making progress passing it to SIP/1000-00000007
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] app_macro.c: Spawn extension (macro-dialout-trunk, s, 24) exited non-zero on ‘SIP/1000-00000007’ in macro ‘dialout-trunk’
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] pbx.c: Spawn extension (from-internal, 6168224220, 7) exited non-zero on ‘SIP/1000-00000007
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] pbx.c: Executing [h@from-internal:1] Macro(“SIP/1000-00000007”, “hangupcall”) in new stack
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“SIP/1000-00000007”, “1?theend”) in new stack
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“SIP/1000-00000007”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-08-08 14:43:22] VERBOSE[6094][C-00000006] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“SIP/1000-00000007”, “”) in new stack

asterisk 13.91

PBX Firmware: 10.13.66-20

You want 10 digits in the match pattern field with a 1 in the prefix field.

1 Like

I guess I’ve always misunderstood the outbound routes. I thought it looked at the match pattern then stripped off what was in the prefix and then sent the number. Thanks!

1 Like

As you can see you are still sending

16168224220

If you accept 1NXXNXXXXXX and NXXNXXXXXX, you should best be mangling that in your trunk not your outbound route.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.