Plum DEV Documentation
voicexml:properties:timeout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:properties:timeout [2014/06/02 17:33]
jennifer meta description
voicexml:properties:timeout [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​timeout VoiceXML property | The global timeout property sets the time for the vxml platform to wait before throwing a noinput error event.}} 
-===== 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==== 
-<​code>​ 
-<?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>​ 
-</​code>​ 
- 
-====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 
-