[asterisk-users] IVR Loop on invalid input

Laurence Fitzsimons larryf at line-4.com
Wed May 23 17:48:00 MST 2007


We are running 1.2.14 with an IVR in the dialplan.  

 

If I connect to the IVR with a SIP phone (Polycom or Xlite) and press a
couple of digits very rapidly (I found this with 33 on a sticky keypad)
which are an invalid response, Allison will go into a loop saying 'I'm
sorry, that is an invalid response, please try again.'  over and over.  

 

This does not happen with a commercial digital phone such as a cellphone or
Avaya handset.

 

The dialplan follows:

 

[ivr-2]

include => ivr-2-custom

include => ext-findmefollow

include => ext-local

include => app-directory

exten => h,1,Hangup

exten => s,1,Set(LOOPCOUNT=0)

exten => s,n,Set(__DIR-CONTEXT=default)

exten => s,n,Answer

exten => s,n,Wait(1)

exten => s,n(begin),Set(TIMEOUT(digit)=3)

exten => s,n,Set(TIMEOUT(response)=4)

exten => s,n,Background(custom/demo_main_ivr)

exten => hang,1,Playback(vm-goodbye)

exten => hang,n,Hangup

exten => **,1,Goto(custom-voicemail-entry,s,1)

exten => 1,1,Goto(custom-priority-support,4601,1)

exten => 2,1,Goto(custom-find-sales,4602,1)

exten => 3,1,Goto(custom-stuff-support,s,1)

exten => 8,1,Goto(ext-meetme,8001,1)

exten => 9,1,Goto(custom-voicemail-directory,s,1)

exten => t,1,Goto(ext-local,4600,1)

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-2,s,begin)

exten => fax,1,Goto(ext-fax,in_fax,1)

 

; end of [ivr-2]

 

Is this a dialplan issue?  Or, is it tied to other DTMF issues we are having
across asterisk boxes with iax2?

 

Larry Fitzsimons

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070523/36894b3b/attachment.htm


More information about the asterisk-users mailing list