Hi, thanks for that.
Are you saying I should add
[ivr-3]
exten => n,1,System(echo "hello")
to the extensions.conf file?
I tried this, but I still see nothing.
-- ast_get_srv: SRV lookup for '_sip._UDP.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Executing [3444949@ext-did:1] Set("SIP/sipgate-00000002", "__FROM_DID=3444949") in new stack
-- Executing [3444949@ext-did:2] Gosub("SIP/sipgate-00000002", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/sipgate-00000002", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Return("SIP/sipgate-00000002", "") in new stack
-- Executing [3444949@ext-did:3] ExecIf("SIP/sipgate-00000002", "0 ?Set(CALLERID(name)=07502225705)") in new stack
-- Executing [3444949@ext-did:4] Ringing("SIP/sipgate-00000002", "") in new stack
-- Executing [3444949@ext-did:5] Set("SIP/sipgate-00000002", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [3444949@ext-did:6] Set("SIP/sipgate-00000002", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [3444949@ext-did:7] Goto("SIP/sipgate-00000002", "ivr-2,s,1") in new stack
-- Goto (ivr-2,s,1)
-- Executing [s@ivr-2:1] Set("SIP/sipgate-00000002", "MSG=if-u-know-ext-dial") in new stack
-- Executing [s@ivr-2:2] Set("SIP/sipgate-00000002", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-2:3] Set("SIP/sipgate-00000002", "__DIR-CONTEXT=default") in new stack
-- Executing [s@ivr-2:4] Set("SIP/sipgate-00000002", "_IVR_CONTEXT_ivr-2=") in new stack
-- Executing [s@ivr-2:5] Set("SIP/sipgate-00000002", "_IVR_CONTEXT=ivr-2") in new stack
-- Executing [s@ivr-2:6] GotoIf("SIP/sipgate-00000002", "0?begin") in new stack
-- Executing [s@ivr-2:7] Answer("SIP/sipgate-00000002", "") in new stack
-- Executing [s@ivr-2:8] Wait("SIP/sipgate-00000002", "1") in new stack
-- Executing [s@ivr-2:9] Set("SIP/sipgate-00000002", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3
-- Executing [s@ivr-2:10] Set("SIP/sipgate-00000002", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@ivr-2:11] Set("SIP/sipgate-00000002", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-2:12] ExecIf("SIP/sipgate-00000002", "1?Background(if-u-know-ext-dial)") in new stack
-- <SIP/sipgate-00000002> Playing 'if-u-know-ext-dial.ulaw' (language 'en')
-- Executing [s@ivr-2:13] WaitExten("SIP/sipgate-00000002", ",") in new stack
== CDR updated on SIP/sipgate-00000002
-- Executing [1@ivr-2:1] DBdel("SIP/sipgate-00000002", "") in new stack
-- Executing [1@ivr-2:2] Set("SIP/sipgate-00000002", "__NODEST=") in new stack
-- Executing [1@ivr-2:3] Goto("SIP/sipgate-00000002", "ivr-5,s,1") in new stack
-- Goto (ivr-5,s,1)
-- Executing [s@ivr-5:1] Set("SIP/sipgate-00000002", "MSG=for&ha/door&press-1&for&ha/lamp&press-2") in new stack
-- Executing [s@ivr-5:2] Set("SIP/sipgate-00000002", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-5:3] Set("SIP/sipgate-00000002", "__DIR-CONTEXT=default") in new stack
-- Executing [s@ivr-5:4] Set("SIP/sipgate-00000002", "_IVR_CONTEXT_ivr-5=ivr-2") in new stack
-- Executing [s@ivr-5:5] Set("SIP/sipgate-00000002", "_IVR_CONTEXT=ivr-5") in new stack
-- Executing [s@ivr-5:6] GotoIf("SIP/sipgate-00000002", "1?begin") in new stack
-- Goto (ivr-5,s,9)
-- Executing [s@ivr-5:9] Set("SIP/sipgate-00000002", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3
-- Executing [s@ivr-5:10] Set("SIP/sipgate-00000002", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@ivr-5:11] Set("SIP/sipgate-00000002", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-5:12] ExecIf("SIP/sipgate-00000002", "1?Background(for&ha/door&press-1&for&ha/lamp&press-2)") in new stack
-- <SIP/sipgate-00000002> Playing 'for.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'ha/door.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'press-1.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'for.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'ha/lamp.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'press-2.ulaw' (language 'en')
-- Executing [s@ivr-5:13] WaitExten("SIP/sipgate-00000002", ",") in new stack
== CDR updated on SIP/sipgate-00000002
-- Executing [1@ivr-5:1] DBdel("SIP/sipgate-00000002", "") in new stack
-- Executing [1@ivr-5:2] Set("SIP/sipgate-00000002", "__NODEST=") in new stack
-- Executing [1@ivr-5:3] Goto("SIP/sipgate-00000002", "ivr-3,s,1") in new stack
-- Goto (ivr-3,s,1)
-- Executing [s@ivr-3:1] Set("SIP/sipgate-00000002", "MSG=ha/door&on") in new stack
-- Executing [s@ivr-3:2] Set("SIP/sipgate-00000002", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-3:3] Set("SIP/sipgate-00000002", "__DIR-CONTEXT=default") in new stack
-- Executing [s@ivr-3:4] Set("SIP/sipgate-00000002", "_IVR_CONTEXT_ivr-3=ivr-5") in new stack
-- Executing [s@ivr-3:5] Set("SIP/sipgate-00000002", "_IVR_CONTEXT=ivr-3") in new stack
-- Executing [s@ivr-3:6] GotoIf("SIP/sipgate-00000002", "1?begin") in new stack
-- Goto (ivr-3,s,9)
-- Executing [s@ivr-3:9] Set("SIP/sipgate-00000002", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3
-- Executing [s@ivr-3:10] Set("SIP/sipgate-00000002", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@ivr-3:11] Set("SIP/sipgate-00000002", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-3:12] ExecIf("SIP/sipgate-00000002", "1?Background(ha/door&on)") in new stack
-- <SIP/sipgate-00000002> Playing 'ha/door.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'on.ulaw' (language 'en')
-- Executing [s@ivr-3:13] WaitExten("SIP/sipgate-00000002", ",") in new stack
-- Timeout on SIP/sipgate-00000002, going to 't'
-- Executing [t@ivr-3:1] Goto("SIP/sipgate-00000002", "loop,1") in new stack
-- Goto (ivr-3,loop,1)
-- Executing [loop@ivr-3:1] Set("SIP/sipgate-00000002", "LOOPCOUNT=1") in new stack
-- Executing [loop@ivr-3:2] GotoIf("SIP/sipgate-00000002", "0?hang,1") in new stack
-- Executing [loop@ivr-3:3] Goto("SIP/sipgate-00000002", "ivr-3,s,begin") in new stack
-- Goto (ivr-3,s,9)
-- Executing [s@ivr-3:9] Set("SIP/sipgate-00000002", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3
-- Executing [s@ivr-3:10] Set("SIP/sipgate-00000002", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10
-- Executing [s@ivr-3:11] Set("SIP/sipgate-00000002", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-3:12] ExecIf("SIP/sipgate-00000002", "1?Background(ha/door&on)") in new stack
-- <SIP/sipgate-00000002> Playing 'ha/door.ulaw' (language 'en')
-- <SIP/sipgate-00000002> Playing 'on.ulaw' (language 'en')
-- Executing [s@ivr-3:13] WaitExten("SIP/sipgate-00000002", ",") in new stack
== CDR updated on SIP/sipgate-00000002
-- Executing [1@ivr-3:1] DBdel("SIP/sipgate-00000002", "") in new stack
-- Executing [1@ivr-3:2] Set("SIP/sipgate-00000002", "__NODEST=") in new stack
-- Executing [1@ivr-3:3] Goto("SIP/sipgate-00000002", "app-blackhole,hangup,1") in new stack
-- Goto (app-blackhole,hangup,1)
-- Executing [hangup@app-blackhole:1] NoOp("SIP/sipgate-00000002", "Blackhole Dest: Hangup") in new stack
-- Executing [hangup@app-blackhole:2] Hangup("SIP/sipgate-00000002", "") in new stack
== Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/sipgate-00000002'
-- ast_get_srv: SRV lookup for '_sip._UDP.sipgate.co.uk' mapped to host sipgate.co.uk, port 5060
I’m really stuck, and I’m sure this should be really simple, but I just can’t see the wood for trees.