Okay…I disabled the CRM module and that wasn’t it. It still fails.
Inbound from analog-pstn routes to IVR 1.
Inbound from digium sip trunk fails to route to IVR 1. Call gets “The number you have diailed…” error recording.
Working:
– Executing [recordcheck@sub-record-check:3] Return(“DAHDI/25-1”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“DAHDI/25-1”, “”) in new stack
– Executing [s@from-pstn:4] Set(“DAHDI/25-1”, “CHANNEL(tonezone)=us”) in new stack
– Executing [s@from-pstn:5] ExecIf(“DAHDI/25-1”, “1?Set(__FROM_DID=s)”) in new stack
– Executing [s@from-pstn:6] Set(“DAHDI/25-1”, “returnhere=1”) in new stack
– Executing [s@from-pstn:7] Gosub(“DAHDI/25-1”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/25-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/25-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/25-1”, “”) in new stack
– Executing [s@from-pstn:8] Set(“DAHDI/25-1”, “CDR(did)=s”) in new stack
– Executing [s@from-pstn:9] GotoIf(“DAHDI/25-1”, “0?”) in new stack
– Executing [s@from-pstn:10] ExecIf(“DAHDI/25-1”, “0 ?Set(CALLERID(name)=0987654321)”) in new stack
– Executing [s@from-pstn:11] Set(“DAHDI/25-1”, “__MOHCLASS=”) in new stack
– Executing [s@from-pstn:12] Set(“DAHDI/25-1”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@from-pstn:13] GotoIf(“DAHDI/25-1”, “1?post-reverse-charge”) in new stack
– Goto (from-pstn,s,15)
– Executing [s@from-pstn:15] NoOp(“DAHDI/25-1”, “”) in new stack
– Executing [s@from-pstn:16] Set(“DAHDI/25-1”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:17] Set(“DAHDI/25-1”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:18] Set(“DAHDI/25-1”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:19] Set(“DAHDI/25-1”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:20] NoOp(“DAHDI/25-1”, “CallerID Entry Point”) in new stack
– Executing [s@from-pstn:21] Goto(“DAHDI/25-1”, “ivr-1,s,1”) in new stack
– Goto (ivr-1,s,1)
– Executing [s@ivr-1:1] Set(“DAHDI/25-1”, “TIMEOUT_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-1:2] Set(“DAHDI/25-1”, “INVALID_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-1:3] Set(“DAHDI/25-1”, “_IVR_CONTEXT_ivr-1=”) in new stack
– Executing [s@ivr-1:4] Set(“DAHDI/25-1”, “_IVR_CONTEXT=ivr-1”) in new stack
– Executing [s@ivr-1:5] Set(“DAHDI/25-1”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-1:6] GotoIf(“DAHDI/25-1”, “0?skip”) in new stack
– Executing [s@ivr-1:7] Answer(“DAHDI/25-1”, “”) in new stack
– Executing [s@ivr-1:8] Set(“DAHDI/25-1”, “IVR_MSG=custom/ivmintrojj”) in new stack
– Executing [s@ivr-1:9] Set(“DAHDI/25-1”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3.000
– Executing [s@ivr-1:10] ExecIf(“DAHDI/25-1”, “1?Background(custom/ivmintrojj)”) in new stack
– <DAHDI/25-1> Playing ‘custom/ivmintrojj.slin’ (language ‘en’)
== Spawn extension (ivr-1, s, 10) exited non-zero on ‘DAHDI/25-1’
– Executing [h@ivr-1:1] Hangup(“DAHDI/25-1”, “”) in new stack
== Spawn extension (ivr-1, h, 1) exited non-zero on ‘DAHDI/25-1’
– Hanging up on ‘DAHDI/25-1’
– Hungup ‘DAHDI/25-1’
Failing:
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
– Executing [1234567890@from-pstn:4] Set(“PJSIP/digium-siptrunk-0000001f”, “CHANNEL(tonezone)=us”) in new stack
– Executing [1234567890@from-pstn:5] Set(“PJSIP/digium-siptrunk-0000001f”, “__FROM_DID=1234567890”) in new stack
– Executing [1234567890@from-pstn:6] Set(“PJSIP/digium-siptrunk-0000001f”, “returnhere=1”) in new stack
– Executing [1234567890@from-pstn:7] Gosub(“PJSIP/digium-siptrunk-0000001f”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“PJSIP/digium-siptrunk-0000001f”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“PJSIP/digium-siptrunk-0000001f”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
– Executing [1234567890@from-pstn:8] Set(“PJSIP/digium-siptrunk-0000001f”, “CDR(did)=8588002052”) in new stack
– Executing [1234567890@from-pstn:9] GotoIf(“PJSIP/digium-siptrunk-0000001f”, “0?”) in new stack
– Executing [1234567890@from-pstn:10] ExecIf(“PJSIP/digium-siptrunk-0000001f”, “0 ?Set(CALLERID(name)=0987654321)”) in new stack
– Executing [1234567890@from-pstn:11] Set(“PJSIP/digium-siptrunk-0000001f”, “__MOHCLASS=”) in new stack
– Executing [1234567890@from-pstn:12] Set(“PJSIP/digium-siptrunk-0000001f”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [1234567890@from-pstn:13] GotoIf(“PJSIP/digium-siptrunk-0000001f”, “1?post-reverse-charge”) in new stack
– Goto (from-pstn,1234567890,15)
– Executing [1234567890@from-pstn:15] NoOp(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
– Executing [1234567890@from-pstn:16] Set(“PJSIP/digium-siptrunk-0000001f”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [1234567890@from-pstn:17] Set(“PJSIP/digium-siptrunk-0000001f”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [1234567890@from-pstn:18] Set(“PJSIP/digium-siptrunk-0000001f”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [1234567890@from-pstn:19] Set(“PJSIP/digium-siptrunk-0000001f”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [1234567890@from-pstn:20] NoOp(“PJSIP/digium-siptrunk-0000001f”, “CallerID Entry Point”) in new stack
– Executing [1234567890@from-pstn:21] Goto(“PJSIP/digium-siptrunk-0000001f”, “ivr-1,s,1”) in new stack
– Goto (ivr-1,s,1)
– Executing [s@ivr-1:1] Set(“PJSIP/digium-siptrunk-0000001f”, “TIMEOUT_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-1:2] Set(“PJSIP/digium-siptrunk-0000001f”, “INVALID_LOOPCOUNT=0”) in new stack
– Executing [s@ivr-1:3] Set(“PJSIP/digium-siptrunk-0000001f”, “_IVR_CONTEXT_ivr-1=”) in new stack
– Executing [s@ivr-1:4] Set(“PJSIP/digium-siptrunk-0000001f”, “_IVR_CONTEXT=ivr-1”) in new stack
– Executing [s@ivr-1:5] Set(“PJSIP/digium-siptrunk-0000001f”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-1:6] GotoIf(“PJSIP/digium-siptrunk-0000001f”, “0?skip”) in new stack
– Executing [s@ivr-1:7] Answer(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
== Spawn extension (ivr-1, s, 7) exited non-zero on ‘PJSIP/digium-siptrunk-0000001f’
– Executing [h@ivr-1:1] Hangup(“PJSIP/digium-siptrunk-0000001f”, “”) in new stack
== Spawn extension (ivr-1, h, 1) exited non-zero on ‘PJSIP/digium-siptrunk-0000001f’
I don’t get why the pjsip trunk inboound route won’t work.