timeout

Default Value: 3 seconds

The time after which a noinput event is thrown by the platform. The "timeout" global property can not be set higher than 60 seconds.


Example

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <property name="timeout" value="7s"/>
    <field name="myfield">
      <grammar type="application/x-jsgf" mode="voice">
        ( one | two )+
      </grammar>
      <prompt>
        Say any number of the digits one or two.
      </prompt>
      <filled>
        You said <value expr="myfield"/>.
      </filled>
      <nomatch>
        You did not say any ones or twos.
        <reprompt/>
      </nomatch>
      <noinput>
        You did not say anything.
        <reprompt/>
      </noinput>
    </field>
  </form>
</vxml>

Explanation

From this example, the user has 7 seconds to say a string of ones or twos. If the user does not say anything after 7 seconds, a noinput event is generated.


Notes

None