Default Value: 0 seconds

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


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


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.



Last updated