How do I interrupt voice promtp (asterisk-java)

Hi i have a looong IVR in place: wellcome+ language selection+ balance in the account (since it has ANI recognition)- I want clients to be able to override by just dialing the DENI. How can I do that?


I assume you are using FastAGI… I am also assuming you are using the BaseAgiScript for your base class. If that is the case, simply use a


instead of


That will wait 0 seconds after the prompt is finished, and will break after it receives 1 digit. If you need to capture more digits, just increase that number.