07-31-2013 07:48 AM - edited 03-14-2019 12:08 PM
Good morning everyone
I have a question... This particular script needs to play a "Terms and Conditions" prompt soon as customers call in and this prompt cannot be skipped.
I have placed a prompt as
General --> Interruptible Yes
Prompt --> Barge In: No
Continue On Prompt Errors: Yes
Input --> Flush Input Buffer: Yes
While "Terms and Conditions" prompt is playing, I pressed random numbers then, it went to Error instead of playing next message which asking to enter their customer number...
then, I made another test by entering customer number while "terms and conditions" prompt. Then, it plays back the confirmation prompt. (It skipped the "enter your customer number" message...)
How can I make script to work as no matter what customer enters during "terms and conditions' prompt, it will not carry on ? Even a customer enters the customer Number, I need script to be still play "Enter your customer Number" prompt then, a customer has to enter the number again after the "enter your cusomter number" prompt...
Please advise what I need to change to accomplish this...
Thank you,
Nana
Solved! Go to Solution.
07-31-2013 08:06 AM
Set Flush Input Buffer to Yes on the Get Digit String step which is asking for the customer number.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
07-31-2013 08:06 AM
Set Flush Input Buffer to Yes on the Get Digit String step which is asking for the customer number.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
07-31-2013 09:03 AM
Thank YOU Thank YOU thank YOU x 100!!
Nana
07-31-2013 09:20 AM
You are very welcome.
The flush input buffer can be a tricky one to deal with. It's function happens before the step itself is executed.
So in the example of the Play Prompt step, the order of operations is:
1. Flush Input Buffer
2. Play the Prompt
Versus, what your original assumption was:
1. Play the Prompt
2. Flush Input Buffer
Since, we now know that the Flush happens at the beginning, it should be clear that the Flush needed to happen at the beginning of your Get Digit String step to clear out any DTMF in the buffer.
1. Flush Input Buffer
2. Set Barge to Yes
3. Setup Listener for DTMF
4. Start Playing the Prompt
5. Wait for timeout or terminating digit
6. Analyze DTMF Input
I always enjoy your questions. Please keep asking them as you think of them!
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
08-01-2013 07:39 AM
Wow~ I see. thank you so much!!! I've never thought that deep about Play prompt till now.
Thank YOU so much for your kind replies as always!!!!
Nana
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide