US: 800.995.PLUM UK: 0845.355.3330
- What is IVR?
- IVR Products & Services
- Free Consultation
- Plum IVR Surveys
- About Us
from the Plum Voice IVR Glossary
Boolean built-in grammar inputs include affirmative and negative phrases appropriate to the current language. DTMF 1 is affirmative and DTMF 2 is negative. The result is ECMAScript
true for affirmative or
false for negative. The value will be submitted as the string "true" or the string "false". If the field value is subsequently used in a
<say-as> tag with the
interpret-as attribute set to
"vxml:boolean", it will be spoken as an affirmative or negative phrase appropriate to the current language.
One added parameter that can be specified for the boolean built-in grammar is the
y parameter, using the grammar type
boolean?y=d. This would implement a grammar that treats the DTMF keypress
d as an affirmative answer. This parameter is applicable only to the DTMF grammar.
Similarly you can also specify the
n parameter for the boolean built-in grammar, using the grammar type
boolean?n=d. This would implement a grammar that treats the DTMF keypress
d as a negative answer. This parameter is applicable only to the DTMF grammar.
|© 2013 The Plum Group, Inc.|