Plum DEV Documentation


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

Link to this comparison view

voicexml:properties:incompletetimeout [2014/06/02 14:13]
jennifer added meta description
voicexml:properties:incompletetimeout [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​incompletetimeout VoiceXML property | incompletetimeout sets the length of silence waited after user speech before finalizing a result.}} 
-**Default Value:** 1 second 
-The required length of silence following user speech after which a recognizer finalizes a result. The minimum value for incompletetimeout is 500ms. 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <​form>​ 
-    <​property name="​incompletetimeout"​ value="​5s"/>​ 
-    <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>​ 
-From this example, the user has 5 seconds to say either one or two. If the user does not say anything within these 5 seconds, then an incompletetimeout will occur and return a <​noinput>​ to the user. When a user begins to say either one or two, the application waits for 5 seconds due to incompletetimeout. Once 5 seconds has passed, the application returns a response to the user.