Hi All
I have a field that is defined in the form as
In the grammar It is defined to accept 10 digits. Well if caller accidently enters more than 10 digits say for example 12 digits then it is taking the first 10 digits for that field ID1 and passing the remaining 2 digits to the next field and hence throwing NOMATCH for the second field. Really weired. How should I prevent this to happen ?? Please help.
GVP supports custom extension that allows you to suggest GVP to clear DTMF buffer before executing input element. In your case, it’s necessary to add the attribute to your second “field” element:
It’s strange that GVP doesn’t recognize the attribute as it’s part of Genesys extensions. Can you try to add link to Genesys namespace into VXML header to help GVP recognize custom extension?
Or you can try to use the same way as Genesys Studio. I checked the code generated by Genesys Studio and it uses some “hack” to clear the buffer. When you check the box “Clear DTMF buffer” in prompt settings then Studio adds empty prompt block into generated file so any buffered DTMF are “used” by this prompt. The code is following:
R
Sorry for late reply as I did not get a chance to try it out. When I tried the second solution that you proposed it did work for the first time and laten on it did not. It is really acting weired.
Would you please try it out on your system if you really do not mind and kindly let me the solution. I appreciate your help.