Page 1 of 1

Re: Disable ASR Completely

Posted: Tue Sep 25, 2012 10:50 am
by support
Hi,

You can disable speech recognition by setting the property "inputmodes" to "dtmf" via a <property> tag.

Here is a code example that might help you:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
  <property name="inputmodes" value="dtmf"/>
  <form>
    <field name="myfield" type="digits">
      <prompt>
        You will only be able to enter digits using DTMF. Enter a number.
      </prompt>
      <filled>
        You entered <value expr="myfield"/>.
      </filled>
    </field>
  </form>
</vxml>
Note that when you turn speech recognition off this way, barge-in will only be triggered by DTMF inputs.

Hope this helps.

Regards,
Plum Support