How to shorten waiting time before prompt next questions?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

helix

  • Posts: 2
  • Joined: Thu Nov 01, 2018 12:20 pm

How to shorten waiting time before prompt next questions?

PostThu Nov 01, 2018 3:13 pm

Hello Team,

Recently we meet one issue below:
After callee answered question, system will wait 3 seconds to prompt next question.
We hope to make the waiting time from 3 seconds to shorter. Below is our vxml.

for example:
Prompt: Would you like Heated Tubing?
Callee: Yes / no
currently waiting time is 3 sec , hope it can be shorter
Prompt: Would you like Chamber?
Callee: Yes / no

Could you please help us on this target?

<vxml version="2.0">
<property name="recordcall" value="true"/>
<script>
var OrderedProducts = Array(3); OrderedProducts[0] = { Ordered: 0, ProductID: ''};OrderedProducts[1] = { Ordered: 0, ProductID: ''};
</script>
<form id="IndividualItemsCollect">
<field name="item0choice">
<property name="inputmodes" value="dtmf voice"/>
<property name="termmaxdigits" value="true"/>
<property name="confidencelevel" value="0.75"/>
<property name="sensitivity" value="0.3"/>
<property name="interdigittimeout" value="10ms"/>
<property name="completetimeout" value="1s"/>
<grammar type="application/srgs+xml" mode="dtmf" root="RootDMTF0">
<rule id="RootDMTF0">
<one-of>
<item>1</item>
<item>2</item>
<item>*</item>
</one-of>
</rule>
</grammar>
<grammar type="application/srgs+xml" mode="voice" root="RootVOICE0">
<rule id="RootVOICE0">
<one-of>
<item>yes</item>
<item>yeah</item>
<item>no</item>
</one-of>
</rule>
</grammar>
<prompt>
<audio src="/PlumDEVApp/wav/orderIndividualPrompt1.wav"> Would you like </audio>
<audio src="/PlumDEVApp/wav/productTTS/tubing.wav"> Heated Tubing </audio>
</prompt>
<filled>
<if cond="item0choice==1 || item0choice == 'yes' || item0choice == 'yeah' ">
<assign name="OrderPlaced" expr="1"/>
<assign name="OrderedProductsStr" expr="OrderedProductsStr + '240439:1|'"/>
<elseif cond="item0choice==2 || item0choice == 'no'"/>
<assign name="OrderedProductsStr" expr="OrderedProductsStr + '240439:0|'"/>
<else/>
<clear namelist="item0choice"/>
<reprompt/>
</if>
</filled>
</field>
<field name="item1choice">
<property name="inputmodes" value="dtmf voice"/>
<property name="termmaxdigits" value="true"/>
<property name="confidencelevel" value="0.75"/>
<property name="sensitivity" value="0.3"/>
<property name="interdigittimeout" value="10ms"/>
<property name="completetimeout" value="1s"/>
<grammar type="application/srgs+xml" mode="dtmf" root="RootDMTF1">
<rule id="RootDMTF1">
<one-of>
<item>1</item>
<item>2</item>
<item>*</item>
</one-of>
</rule>
</grammar>
<grammar type="application/srgs+xml" mode="voice" root="RootVOICE1">
<rule id="RootVOICE1">
<one-of>
<item>yes</item>
<item>yeah</item>
<item>no</item>
</one-of>
</rule>
</grammar>
<prompt>
<audio src="/PlumDEVApp/wav/orderIndividualPrompt1.wav"> Would you like </audio>
<audio src="/PlumDEVApp/wav/chamber.wav"> Chamber </audio>
</prompt>
<filled>
<if cond="item1choice==1 || item1choice == 'yes' || item1choice == 'yeah' ">
<assign name="OrderPlaced" expr="1"/>
<assign name="OrderedProductsStr" expr="OrderedProductsStr + '244215:1|'"/>
<elseif cond="item1choice==2 || item1choice == 'no'"/>
<assign name="OrderedProductsStr" expr="OrderedProductsStr + '244215:0|'"/>
<else/>
<clear namelist="item1choice"/>
<reprompt/>
</if>
</filled>
</field>
<block>
<submit next="/PlumDEVApp/api/etc...." method="post" namelist="Param1 Param2 Param3 " fetchtimeout="60s"/>
</block>
<catch event="connection.disconnect.hangup farend">
<submit next="/PlumDEVApp/api/etc...." method="post" namelist="Param1 Param2 Param3 " fetchtimeout="60s"/>
</catch>
</form>
</vxml>
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: How to shorten waiting time before prompt next questions

PostFri Nov 02, 2018 1:13 pm

Hi,
To shorten the waiting time between prompts, you can adjust the speech timeout. We would recommend lowering the incompletetimeout property which will reduce the amount of time the platform waits in determining that the caller has finished speaking. You can find an example here: https://www.plumvoice.com/docs/dev/voic ... etetimeout

Regards,
Plum Support

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron