please help me with my IVR menu problem.
my current IVR setup is this
exten => s,1,Set(NUMINVALID=0)
exten => s,2,Set(NUMTIMEOUTS=0)
;exten => s,1,Background(day_recording)
exten => s,3,Background(day_recording)
exten => s,4,Set(TIMEOUT(digit)=5)
exten => s,5,Set(TIMEOUT(response)=10)
exten => s,6,WaitExten(5)
exten => t,1,Set(NUMTIMEOUTS=$[${NUMTIMEOUTS}+1]})
exten => t,2,Gotoif($["${NUMTIMEOUTS}" < “3”]?s,3)
exten => t,3,Background(vm-goodbye)
exten => t,4,Hangup()
exten => i,1,Set(NUMINVALID=$[${NUMINVALID}+1]})
exten => i,2,Gotoif($["${NUMINVALID}" < “4”]?:10)
exten => i,3,Background(invalid)
exten => i,4,Goto(s,3)
exten => i,10,Playback(vm-goodbye)
exten => i,11,Hangup()
exten => 1,1,Goto(context1,s,1)
exten => 2,1,Goto(context2,s,1)
exten => 0,1,Goto(context3,s,1)
the problem is it doesn’t accept direct extension dial, it goes the context2 for we have extension range 2xxx, and I tried dialing the group extension 4xxx and always go to an invalid entry.
thanks