hi,
I’ve a SIP trunk between DIDWW to Asterisk SIP Trunk. The call comes in to the Asterisk but there is no IVR sound.
Asterisk Trunk Configuration
context=from-trunk
dtmfmode=rfc2833
dtmf=rfc2833
host=X.X.X.X
insecure=very
type=peer
nat=never (I tried “yes” and “route” - nothing helps)
allow=g729 (I tried ulaw, alaw & all - nothing helps)
Please find the logs below from Asterisk.
-- Executing [300@from-pstn:1] NoOp("SIP/DIDWW-0000002a", "Catch-All DID Mat ch - Found 300 - You probably want a DID for this.") in new stack
-- Executing [300@from-pstn:2] Goto("SIP/DIDWW-0000002a", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/DIDWW-0000002a", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/DIDWW-0000002a", "app-blacklist-check, s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/DIDWW-0000002a", "0?black listed") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/DIDWW-0000002a", "CALLED_BLA CKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/DIDWW-0000002a", "") in n ew stack
-- Executing [s@ext-did:3] ExecIf("SIP/DIDWW-0000002a", "0 ?Set(CALLERID(nam e)=+966114405457)") in new stack
-- Executing [s@ext-did:4] Set("SIP/DIDWW-0000002a", "__CALLINGPRES_SV=allow ed_not_screened") in new stack
-- Executing [s@ext-did:5] Set("SIP/DIDWW-0000002a", "CALLERPRES()=allowed_n ot_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/DIDWW-0000002a", "ivr-3,s,1") in new st ack
-- Goto (ivr-3,s,1)
-- Executing [s@ivr-3:1] Set("SIP/DIDWW-0000002a", "MSG=custom/Welcome") in new stack
-- Executing [s@ivr-3:2] Set("SIP/DIDWW-0000002a", "LOOPCOUNT=0") in new sta ck
-- Executing [s@ivr-3:3] Set("SIP/DIDWW-0000002a", "__DIR-CONTEXT=") in new stack
-- Executing [s@ivr-3:4] Set("SIP/DIDWW-0000002a", "_IVR_CONTEXT_ivr-3=") in new stack
-- Executing [s@ivr-3:5] Set("SIP/DIDWW-0000002a", "_IVR_CONTEXT=ivr-3") in new stack
-- Executing [s@ivr-3:6] GotoIf("SIP/DIDWW-0000002a", "0?begin") in new stac k
-- Executing [s@ivr-3:7] Answer("SIP/DIDWW-0000002a", "") in new stack
-- Executing [s@ivr-3:8] Wait("SIP/DIDWW-0000002a", "1") in new stack
-- Executing [s@ivr-3:9] Set("SIP/DIDWW-0000002a", "TIMEOUT(digit)=3") in ne w stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-3:10] Set("SIP/DIDWW-0000002a", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-3:11] Set("SIP/DIDWW-0000002a", "__IVR_RETVM=") in new s tack
-- Executing [s@ivr-3:12] ExecIf("SIP/DIDWW-0000002a", "1?Background(custom/ Welcome)") in new stack
-- <SIP/DIDWW-0000002a> Playing 'custom/Welcome.slin' (language 'en')
-- Executing [s@ivr-3:13] WaitExten("SIP/DIDWW-0000002a", ",") in new stack
-- Timeout on SIP/DIDWW-0000002a, going to 't'
-- Executing [t@ivr-3:1] Set("SIP/DIDWW-0000002a", "MSG=custom/Welcome") in new stack
-- Executing [t@ivr-3:2] Goto("SIP/DIDWW-0000002a", "loop,1") in new stack
-- Goto (ivr-3,loop,1)
-- Executing [loop@ivr-3:1] Set("SIP/DIDWW-0000002a", "LOOPCOUNT=1") in new stack
-- Executing [loop@ivr-3:2] GotoIf("SIP/DIDWW-0000002a", "0?hang,1") in new stack
-- Executing [loop@ivr-3:3] Goto("SIP/DIDWW-0000002a", "ivr-3,s,begin") in new stack
-- Goto (ivr-3,s,9)
-- Executing [s@ivr-3:9] Set("SIP/DIDWW-0000002a", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-3:10] Set("SIP/DIDWW-0000002a", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-3:11] Set("SIP/DIDWW-0000002a", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-3:12] ExecIf("SIP/DIDWW-0000002a", "1?Background(custom/Welcome)") in new stack
-- <SIP/DIDWW-0000002a> Playing 'custom/Welcome.slin' (language 'en')
– Executing [s@ivr-3:13] WaitExten(“SIP/DIDWW-0000002a”, “,”) in new stack
== Spawn extension (ivr-3, s, 13) exited non-zero on ‘SIP/DIDWW-0000002a’
– Executing [h@ivr-3:1] Hangup(“SIP/DIDWW-0000002a”, “”) in new stack
== Spawn extension (ivr-3, h, 1) exited non-zero on ‘SIP/DIDWW-0000002a’
Regards,