Topic: Accepting menu options within new script [Comments: 1]
acxential
Fri, 07/16/2010 - 14:16 | Accepting menu options within new script
I am trying to create a new script where we want to accept dtmf keypad options (similar to IVR/Menu). In the script, we have something similar to:
exten => s,1,Answer
exten => s,n,Playback(${recording})
exten => s,n,WaitExten
...
exten => 1,1,Wait(2)
exten => 1,n,{Do something here}
...
exten => i,1,Wait(2)
exten => i,n,{Invalid Handler Here}
...
However, when running the script and the caller presses a key, asterisk will fall back to the invalid (i) handler of the top-most context, not the context of this script. How do you create a script where key entries are handled within the script context?
We are running Asterisk 1.6.2.9 with Thirdlane MTE 6.0.1.81.





Sat, 07/17/2010 - 15:50 | Read()
Read()
Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com