One of my clients is using Asterisk verison 1.2.5 and I have set up an IVR for them… It is working almost flawlessly except for one that, which I cannot figure out… You can press option 1, 2 3, or 4 (those all work) but I want the user to also be able to dial directly to an extension. I have done quite a bit of research to no avail, as everything I have tried has not worked so far.
If a user is to type in lets say extension 701, as soon as you hit the “7” it gives you an error stating that is an incorrect option and throws you back to the begining. If someone could shed some light on the situation it would be great, I could throw a few bucks in your direction through paypal.
[ivr-1-en]
exten => s,1,Answer
exten => s,n,DigitTimeout,5
exten => s,n,ResponseTimeout,10
exten => s,n,Wait(2)
exten => s,n(begin),Background(custom/incoming_message_en_intro)
exten => s,n,WaitExten(50)
exten => 1,1,dbDel(${BLKVM_OVERRIDE})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Goto(ivr-1-es,s,1)
exten => 2,1,dbDel(${BLKVM_OVERRIDE})
exten => 2,n,Set(__NODEST=)
exten => 2,n,Queue(queue1|rt|||60)
exten => 3,1,dbDel(${BLKVM_OVERRIDE})
exten => 3,n,Set(__NODEST=)
exten => 3,n,Queue(queue2|rt|||60)
exten => 4,1,dbDel(${BLKVM_OVERRIDE})
exten => 4,n,Set(__NODEST=)
exten => 4,n,Dial(SIP/230,18,t)
exten => t,1,dbDel(${BLKVM_OVERRIDE})
exten => t,n,Set(__NODEST=)
exten => t,n,Playback(custom/general_voicemail_en)
exten => t,n,VoiceMail(u4200)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-1-en,s,begin)
; end of [ivr-1-en]
I am hoping a guru/expert may be able to give me an insight as to what I am missing. Thank you much!