05-16-2022 05:01 PM
I have a requirement where I need to make the * same as the # key for DTMF data termination. i.e. the caller enters an account number where minimum length and maximum length are different, the caller enters the # or * key to inform the application that data entry has finished. I redefined the data termination key (termchar) and left it empty value however the * is not taking affect.
I specified the VXML property termchar on the root document in the Properties of the application.
<root_doc>
<vxml_property name="fetchtimeout">60s</vxml_property>
<vxml_property name="termchar"></vxml_property>
</root_doc>
What am I missing here?
05-16-2022 05:55 PM
05-16-2022 07:10 PM
And is the termchar the right way of setting it?
05-16-2022 07:20 PM
05-16-2022 09:12 PM
Hi @harresh123
In the case that you describe, I usually use the Form which I set to capture all characters (digits from 0 to 9, # and *) - here you have to remember that you have to put \* as DTMF Keypress to capture star. Once the char is captured I use Decision block where I put the conditions for and provide treatment for valid options (including star and hash).
It's more complex than setting just one global setting but it should work for you.
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