Plum DEV Documentation
voicexml:properties:termtimeout

Differences

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

Link to this comparison view

voicexml:properties:termtimeout [2014/06/02 17:22]
jennifer added meta description
voicexml:properties:termtimeout [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​termtimeout VoiceXML property and example | termtimeout sets the time to wait for a DTMF input to be entered by the user.}} 
-===== termtimeout ===== 
- 
- 
-**Default Value:** 0 seconds 
- 
-The terminating timeout to use when recognizing DTMF input. The value is a Time Designation. 
- 
-====Example==== 
-<​code>​ 
-<?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>​ 
-</​code>​ 
- 
-====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 
-