termtimeout

Default Value: 0 seconds

The terminating timeout to use when recognizing DTMF input. The value is a Time Designation.


Example

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <property name="termtimeout" value="7s"/>
    <field name="myfield">
      <grammar type="application/x-jsgf" mode="dtmf">
        ( 1 | 2 )+
      </grammar>
      <prompt>
        Enter any number of the digits one or two.
      </prompt>
      <filled>
        You entered <value expr="myfield"/>.
      </filled>
      <nomatch>
        You entered a number that does not match one or two.
        <reprompt/>
      </nomatch>
      <noinput>
        You did not enter anything.
        <reprompt/>
      </noinput>
    </field>
  </form>
</vxml>

Explanation

From this example, the user has 7 seconds to enter a string of ones or twos. If the user does not enter anything after 7 seconds, a noinput event is generated. After the first DTMF input is entered, the user has up to 7 seconds to enter more digits. Once 7 seconds has passed after the digits have been entered, the platform will act upon the DTMF inputs that were entered.


Notes

None