We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

How do I change the input timeout for a given field, or for

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
cfromm
Posts: 4
Joined: Wed Aug 27, 2003 4:52 pm

How do I change the input timeout for a given field, or for

Post by cfromm »

Our application is not waiting long enough for user to say or input requested response. How can this wait time be changed per field? Can it be defaulted in entire application?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

timeout parameters using IVR platform

Post by support »

There are several different timeout parameters that can be set as attributes of the PROMPT tag or as property values.

For voice input or DTMF input, the <prompt> tag attribute timeout determines the time until a NOINPUT event is thrown.

The following are IVR properties that can be set at a field, form, or document level:
timeout sets the default timeout.
interdigittimeout max time between DTMF digits. If only a single digit is expected, setting a short iinterdigittimeout can improve the apparent responsiveness of the system.

For more details, see http://www.plumvoice.com/docs/dev/voicexml:properties
Last edited by support on Mon Jan 18, 2010 9:25 am, edited 2 times in total.

tloring
Posts: 22
Joined: Sun Sep 07, 2003 3:51 pm

Post by tloring »

how do i set the interdigittimeout global property, or at a field or form level? this does not validate. it's not in the dtd, or reference guide or than it's mention as a global property.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

sample IVR script using interdigittimeout property

Post by support »

Here is a sample IVR script that demonstrates how to set IVR properties at the document level, and at the form level. Notice there are 2 forms, creatively named "form_one" and "form_two".
There are 2 properties declared at document level, namely "inputmodes" and "interdigittimeout". Since they are at document level, they apply to all forms and fields contained within the VXML document. Look at form_one. Notice that it re-defines the interdigittimeout propertywith a different value. If you try this out you will notice that after inputting some digits it waits for 10 seconds of silence before proceeding to the next form. but in form_two, it only waits 3 seconds.
Since form two does not declare the interdigittimeout property, it uses the interdigittimeout property defined at the document level, which is set to 3 seconds.

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">

<!-- Setting the "inputmodes" property to "dtmf" will instruct the -->
<!-- interpreter to ignore all speech input. -->
<property name="inputmodes" value="dtmf"/>

<property name="interdigittimeout" value="3s"/>


<form id="form_one">
 <property name="interdigittimeout" value="10s"/>
 <field name="field_one" type="digits">

   <prompt>
     Please enter some digits
   </prompt>
   <filled>
     You entered <value expr="field_one"/> for field one
     <goto next="#form_two"/>
   </filled>
  </field>
</form>


<form id="form_two">
  <field name="field_two" type="digits">
   <prompt>
     Please enter some more digits
   </prompt>
   <filled>
     You entered <value expr="field_two"/> for field two
   </filled>
  </field>
</form>

</vxml>


Hope this helps! :shock:

Post Reply