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?
Thanks
Javier
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?
Thanks
Javier
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
super.getData(“myAudio”,0,1);
instead of
super.streamFile(“myAudio”);
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.