incompletetimeout

incompletetimeout

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.

Example

<?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>
</vxml>

Explanation

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.

Notes

None