Failure is consistent ONLY with this TFN. Others in the 855 range work when dialed either way (system converts all to 11-digit format when sent to carrier so this is all on the PBX side), as do other TFN NPAs, and no we’re using a single carrier for all traffic.
Here’s the CLI Trace - note it’s sending it to RESTRICTED ROUTE, when it shouldn’t be:
-- Executing [918555239355@from-internal:1] Macro("PJSIP/1602-00000321", "user-callerid,LIMIT") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/1602-00000321", "TOUCH_MONITOR=1528305971.3252") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/1602-00000321", "AMPUSER=1602") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/1602-00000321", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/1602-00000321", "1?Set(REALCALLERIDNUM=1602)") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/1602-00000321", "AMPUSER=1602") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/1602-00000321", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/1602-00000321", "AMPUSERCIDNAME=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("PJSIP/1602-00000321", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("PJSIP/1602-00000321", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/1602-00000321", "AMPUSERCID=1602") in new stack
-- Executing [s@macro-user-callerid:11] Set("PJSIP/1602-00000321", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:12] Set("PJSIP/1602-00000321", "CALLERID(all)="Kristian Guntzelman" <1602>") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/1602-00000321", "0?limit") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/1602-00000321", "1?Set(GROUP(concurrency_limit)=1602)") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/1602-00000321", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:16] NoOp("PJSIP/1602-00000321", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("PJSIP/1602-00000321", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] GotoIf("PJSIP/1602-00000321", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [s@macro-user-callerid:37] Set("PJSIP/1602-00000321", "CALLERID(number)=1602") in new stack
-- Executing [s@macro-user-callerid:38] Set("PJSIP/1602-00000321", "CALLERID(name)=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:39] GotoIf("PJSIP/1602-00000321", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:40] Set("PJSIP/1602-00000321", "CDR(cnam)=Kristian Guntzelman") in new stack
-- Executing [s@macro-user-callerid:41] Set("PJSIP/1602-00000321", "CDR(cnum)=1602") in new stack
-- Executing [s@macro-user-callerid:42] Set("PJSIP/1602-00000321", "CHANNEL(language)=en") in new stack
-- Executing [918555239355@from-internal:2] Set("PJSIP/1602-00000321", "ROUTEUSER=1602") in new stack
-- Executing [918555239355@from-internal:3] Set("PJSIP/1602-00000321", "ROUTEUSER=1602") in new stack
-- Executing [918555239355@from-internal:4] GotoIf("PJSIP/1602-00000321", "1?notblind") in new stack
-- Goto (from-internal,918555239355,7)
-- Executing [918555239355@from-internal:7] GotoIf("PJSIP/1602-00000321", "1?restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade,918555239355,2:outbound-allroutes,918555239355,2") in new stack
-- Goto (restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade,918555239355,2)
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:2] Gosub("PJSIP/1602-00000321", "sub-record-check,s,1(out,918555239355,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/1602-00000321", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/1602-00000321", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/1602-00000321", "NOW=1528305971") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/1602-00000321", "__DAY=06") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/1602-00000321", "__MONTH=06") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/1602-00000321", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/1602-00000321", "__TIMESTR=20180606-132611") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/1602-00000321", "__FROMEXTEN=1602") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/1602-00000321", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/1602-00000321", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/1602-00000321", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/1602-00000321", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/1602-00000321", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/1602-00000321", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/1602-00000321", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/1602-00000321", "Outbound Recording Check from 1602 to 918555239355") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/1602-00000321", "RECMODE=no") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/1602-00000321", "0?Goto(routewins)") in new stack
-- Executing [out@sub-record-check:4] ExecIf("PJSIP/1602-00000321", "0?Goto(routewins)") in new stack
-- Executing [out@sub-record-check:5] Gosub("PJSIP/1602-00000321", "recordcheck,1(no,out,918555239355)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/1602-00000321", "Starting recording check against no") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/1602-00000321", "no") in new stack
-- Goto (sub-record-check,recordcheck,12)
-- Executing [recordcheck@sub-record-check:12] Set("PJSIP/1602-00000321", "__REC_POLICY_MODE=NO") in new stack
-- Executing [recordcheck@sub-record-check:13] Return("PJSIP/1602-00000321", "") in new stack
-- Executing [out@sub-record-check:6] Return("PJSIP/1602-00000321", "") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:3] ExecIf("PJSIP/1602-00000321", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:4] Set("PJSIP/1602-00000321", "ROUTE_CIDSAVE="Kristian Guntzelman" <1602>") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:5] GosubIf("PJSIP/1602-00000321", "0?sub-diversion-header,s,1()") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:6] Set("PJSIP/1602-00000321", "INTRACOMPANYROUTE=YES") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:7] Set("PJSIP/1602-00000321", "MOHCLASS=default") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:8] Set("PJSIP/1602-00000321", "_NODEST=") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:9] Set("PJSIP/1602-00000321", "CALLERID(all)="Kristian Guntzelman" <1602>") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:10] Set("PJSIP/1602-00000321", "_KEEPCID=TRUE") in new stack
-- Executing [918555239355@restrictedroute-4cd0d9ef0357e7e05cd758fb93856ade:11] Goto("PJSIP/1602-00000321", "app-announcement-1,s,1") in new stack
-- Goto (app-announcement-1,s,1)
-- Executing [s@app-announcement-1:1] Progress("PJSIP/1602-00000321", "") in new stack
-- Executing [s@app-announcement-1:2] NoOp("PJSIP/1602-00000321", "Playing announcement SIT-NonWorkingNum ") in new stack
-- Executing [s@app-announcement-1:3] Playback("PJSIP/1602-00000321", "custom/sit-nonwrkngnum,noanswer") in new stack
-- <PJSIP/1602-00000321> Playing 'custom/sit-nonwrkngnum.g722' (language 'en')
> 0x7f77d8225c40 -- Strict RTP learning after remote address set to: 98.28.168.99:5046
> 0x7f77d8225c40 -- Strict RTP switching to RTP target address 98.28.168.99:5046 as source