Ivr

Hi there All

please help
my IVR does not ring through to any of my extension i get " person at extension 201 is not available"

i have a 5 extension setup, i did my own voice recording and when dialing in i get my IVR recording but cannot get access to any of my extensions , however when changing the IVR destination from extension to IVR or Ring Group my recording is played over and over that to me means that i am reaching the IVR ques but not to extensions

when disabling the IVR to normal inbound extension setting i can phone in to any extension
i can phone between extensions as well

i have a simple setup, IVR 1 to 5 with the 6th one set to “t”

any help please, need to install on monday

What phones are you using ?

Shot in the dark on this one but we could be dealing with a codec issue. Asterisk may not be able sync up with a proper codec between the asterisk server and the phone. “I think”

Can you force your phones to use alaw and ulaw codecs and also you sip provider? You may need to access the web configs on your phones to force alaw/ulaw and for your sip trunk you may have to setup allow=alaw,ulaw in your sip trunk peer details. (note: you provider allows)

Try testing with a the following free sip softphone www.3cx.com and set up a new extension.

Thank you Tadple
i hope this is help full if not please indicate where and how to get more debug info

-- Executing [s@ivr-3:3] Set("SIP/27878084014-00000015", "__DIR-CONTEXT=default") in new stack
-- Executing [s@ivr-3:4] Set("SIP/27878084014-00000015", "_IVR_CONTEXT_ivr-3=") in new stack
-- Executing [s@ivr-3:5] Set("SIP/27878084014-00000015", "_IVR_CONTEXT=ivr-3") in new stack
-- Executing [s@ivr-3:6] GotoIf("SIP/27878084014-00000015", "0?begin") in new stack
-- Executing [s@ivr-3:7] Answer("SIP/27878084014-00000015", "") in new stack
-- Executing [s@ivr-3:8] Wait("SIP/27878084014-00000015", "1") in new stack
-- Executing [s@ivr-3:9] Set("SIP/27878084014-00000015", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-3:10] Set("SIP/27878084014-00000015", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-3:11] Set("SIP/27878084014-00000015", "__IVR_RETVM=") in new stack
-- Executing [s@ivr-3:12] ExecIf("SIP/27878084014-00000015", "1?Background(custom/MainRecording)") in new stack
-- <SIP/27878084014-00000015> Playing 'custom/MainRecording.slin' (language 'en')
-- Executing [1@ivr-3:1] NoOp("SIP/27878084014-00000015", "Deleting:  ") in new stack
-- Executing [1@ivr-3:2] Set("SIP/27878084014-00000015", "__NODEST=") in new stack
-- Executing [1@ivr-3:3] Goto("SIP/27878084014-00000015", "from-did-direct,201,1") in new stack
-- Goto (from-did-direct,201,1)
-- Executing [201@from-did-direct:1] Macro("SIP/27878084014-00000015", "exten-vm,201,201") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/27878084014-00000015", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/27878084014-00000015", "AMPUSER=8084324") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/27878084014-00000015", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/27878084014-00000015", "1?Set(REALCALLERIDNUM=8084324)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/27878084014-00000015", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/27878084014-00000015", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/27878084014-00000015", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/27878084014-00000015", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/27878084014-00000015", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/27878084014-00000015", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/27878084014-00000015", "Using CallerID "27878084324" <8084324>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/27878084014-00000015", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/27878084014-00000015", "VMBOX=201") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/27878084014-00000015", "EXTTOCALL=201") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/27878084014-00000015", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/27878084014-00000015", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/27878084014-00000015", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/27878084014-00000015", "record-enable,201,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/27878084014-00000015", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/27878084014-00000015", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/27878084014-00000015", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/27878084014-00000015", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/27878084014-00000015", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:21] NoOp("SIP/27878084014-00000015", "Recording enable for 201") in new stack
-- Executing [s@macro-record-enable:22] Set("SIP/27878084014-00000015", "CALLFILENAME=20101213-134845-1292240909.23") in new stack
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/27878084014-00000015", "20101213-134845-1292240909.23.wav,,") in new stack
-- Executing [s@macro-record-enable:24] Set("SIP/27878084014-00000015", "CDR(userfield)=audio:20101213-134845-1292240909.23.wav") in new stack
-- Executing [s@macro-record-enable:25] MacroExit("SIP/27878084014-00000015", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/27878084014-00000015", "dial,15,tr,201") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/27878084014-00000015", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/27878084014-00000015", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi

== Begin MixMonitor Recording SIP/27878084014-00000015
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘27878084324’ number is '8084324’
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 201 to extension map
– dialparties.agi: Extension 201 cf is disabled
– dialparties.agi: Extension 201 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 201 has ExtensionState: 0
– dialparties.agi: Checking CW and CFB status for extension 201
– dialparties.agi: dbset CALLTRACE/201 to 8084324
– dialparties.agi: Filtered ARG3: 201
– <SIP/27878084014-00000015>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/27878084014-00000015”, “SIP/201,15,tr”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Couldn’t call 201
== Everyone is busy/congested at this time (0:0/0/0)
– Executing [s@macro-dial:8] Set(“SIP/27878084014-00000015”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-dial:9] GosubIf(“SIP/27878084014-00000015”, “0?CHANUNAVAIL,1”) in new stack
– Executing [s@macro-exten-vm:10] GotoIf(“SIP/27878084014-00000015”, “0?exit,return”) in new stack
– Executing [s@macro-exten-vm:11] Set(“SIP/27878084014-00000015”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:12] GosubIf(“SIP/27878084014-00000015”, “0?docfu,1”) in new stack
– Executing [s@macro-exten-vm:13] GosubIf(“SIP/27878084014-00000015”, “0?docfb,1”) in new stack
– Executing [s@macro-exten-vm:14] Set(“SIP/27878084014-00000015”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:15] NoOp(“SIP/27878084014-00000015”, “Voicemail is ‘201’”) in new stack
– Executing [s@macro-exten-vm:16] GotoIf(“SIP/27878084014-00000015”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [s@macro-exten-vm:17] NoOp(“SIP/27878084014-00000015”, “Sending to Voicemail box 201”) in new stack
– Executing [s@macro-exten-vm:18] Macro(“SIP/27878084014-00000015”, “vm,201,CHANUNAVAIL,”) in new stack
– Executing [s@macro-vm:1] Macro(“SIP/27878084014-00000015”, “user-callerid,SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/27878084014-00000015”, “AMPUSER=8084324”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/27878084014-00000015”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/27878084014-00000015”, “0?Set(REALCALLERIDNUM=8084324)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/27878084014-00000015”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/27878084014-00000015”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/27878084014-00000015”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/27878084014-00000015”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/27878084014-00000015”, “Using CallerID “27878084324” <8084324>”) in new stack
– Executing [s@macro-vm:2] Set(“SIP/27878084014-00000015”, “VMGAIN=”"") in new stack
– Executing [s@macro-vm:3] GotoIf(“SIP/27878084014-00000015”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] Set(“SIP/27878084014-00000015”, “MEXTEN=201”) in new stack
– Executing [vmx@macro-vm:2] Set(“SIP/27878084014-00000015”, “MMODE=CHANUNAVAIL”) in new stack
– Executing [vmx@macro-vm:3] Set(“SIP/27878084014-00000015”, “RETVM=”) in new stack
– Executing [vmx@macro-vm:4] Set(“SIP/27878084014-00000015”, “MODE=unavail”) in new stack
– Executing [vmx@macro-vm:5] GotoIf(“SIP/27878084014-00000015”, “1?chknomsg”) in new stack
– Goto (macro-vm,vmx,7)
– Executing [vmx@macro-vm:7] GotoIf(“SIP/27878084014-00000015”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [vmx@macro-vm:8] GotoIf(“SIP/27878084014-00000015”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,10)
– Executing [vmx@macro-vm:10] NoOp(“SIP/27878084014-00000015”, "Checking if ext 201 is enabled: ") in new stack
– Executing [vmx@macro-vm:11] GotoIf(“SIP/27878084014-00000015”, “1?s-CHANUNAVAIL,1”) in new stack
– Goto (macro-vm,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-vm:1] Macro(“SIP/27878084014-00000015”, “get-vmcontext,201”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/27878084014-00000015”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/27878084014-00000015”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/27878084014-00000015”, “”) in new stack
– Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail(“SIP/27878084014-00000015”, “201@default,u”) in new stack
– <SIP/27878084014-00000015> Playing ‘vm-theperson.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘digits/2.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘digits/0.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘digits/1.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘vm-isunavail.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘vm-intro.gsm’ (language ‘en’)
– <SIP/27878084014-00000015> Playing ‘beep.gsm’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/201/tmp/19np3D format: wav49, 0xb713d850
– x=1, open writing: /var/spool/asterisk/voicemail/default/201/tmp/19np3D format: wav, 0xb71a1458
== Parsing ‘/var/spool/asterisk/voicemail/default/201/INBOX/msg0003.txt’: == Found
== Parsing ‘/var/spool/asterisk/voicemail/default/201/INBOX/msg0003.txt’: == Found
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on ‘SIP/27878084014-00000015’ in macro ‘vm’
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on ‘SIP/27878084014-00000015’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 201, 1) exited non-zero on ‘SIP/27878084014-00000015’
== MixMonitor close filestream
== End MixMonitor Recording SIP/27878084014-00000015

you are going to have to post some asterisk diagnostics to show what is happening behind the scenes.

Thank you for your feed back

yes i have a tick in

“enable direct” as well as in "enable direct dialing"
i switched it on and of to see if by refreshing it maybe it would start working but did not work

thanks

sorry i meant “of and on again”

In your IVR setup is the “Enable Direct Dial” option checked ?