Page 1 of 1

improved bargein control for dtmf only

Posted: Fri Nov 19, 2004 12:38 pm
by prairieblue
I am using the following grammar with the intent of allowing bargein only from dtmf inputs, and not from extraneous noise. However, extraneous noise can still exceed the voice recognition threshold and barge in.

<grammar type="application/x-jsgf" mode="dtmf">
[0][0](1|2|3|4|5|6|7|8|9|0|"#"|"*")
</grammar>

Do you have any suggestions for a true dtmf only mode input?

Posted: Wed Nov 24, 2004 9:33 am
by prairieblue
Should I be expecting a response from admin or support on this question? I have been, but I may have the wrong idea of the purpose of this forum.

IVR code for improved bargein control for dtmf

Posted: Tue Nov 30, 2004 5:54 pm
by support
prairieblue wrote:I am using the following grammar with the intent of allowing bargein only from dtmf inputs, and not from extraneous noise. However, extraneous noise can still exceed the voice recognition threshold and barge in.

<grammar type="application/x-jsgf" mode="dtmf">
[0][0](1|2|3|4|5|6|7|8|9|0|"#"|"*")
</grammar>

Do you have any suggestions for a true dtmf only mode input?

You need to use the <property> tag to set the inputmodes to dtmf in those areas of your IVR code where you want to only allow dtmf input.


<vxml>
<!-- only dtmf input will work in this document now... -->
<property name="inputmodes" value="dtmf" />

<form id="myform">
<field name="myfield">
<grammar type="application/x-jsgf" mode="dtmf">
[0][0](1|2|3|4|5|6|7|8|9|0|"#"|"*")
</grammar>
<prompt>Please enter something. This prompt cannot be interrupted by background noise... only dtmf input.
</prompt>
</field>
<filled>
<!-- evaluate and go about your business... -->
</filled>
</form>

<form id="myform2">
<!-- ...except in the scope of this form, where we have -->
<!-- explicity alllowed voice as well -->
<property name="inputmodes" value="dtmf voice" />
<field name="myfield2">
<grammar mode="dtmf">1|2</grammar>
<grammar mode="voice">yes|no</grammar>
<prompt> Say yes or press 1. Or say no or press 2. Extraneous noise could barge in on this prompt if loud enough... Get a quieter office?
</prompt>
</field>
<filled>
<!-- evaluate and go about your business... -->
</filled>
</form>

</vxml>


Hope this helps,

Plum Support