We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

improved bargein control for dtmf only

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
prairieblue
Posts: 10
Joined: Sat Nov 22, 2003 1:15 am

improved bargein control for dtmf only

Post 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?

prairieblue
Posts: 10
Joined: Sat Nov 22, 2003 1:15 am

Post 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.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code for improved bargein control for dtmf

Post 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

Post Reply