Announcement of the prompt does not start immediately
Posted: Fri May 17, 2013 3:11 pm
I want to configure my voice xml so that the prompt announcement starts immediately instead of waiting for user saying something. Have noticed that it waits upto 50 seconds before it can start. Is there a property that can be set in the VMXL to achieve this.
Also if answering machine picks up there is a long pause of upto 3 minutes.
<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<property name="maxspeechtimeout" value="10s"/>
<form>
<field name="dummy1" >
<grammar type="application/x-jsgf" >1</grammar>
<prompt count="1" timeout="3s" bargein="true">
Hello!, this is XYZ calling with your secret code . Please press One to continue
</prompt>
<noinput count="2">You must press one to continue</noinput>
<noinput count="4">Good Bye<exit/></noinput>
<nomatch>You must press one to continue</nomatch>
</field>
</form>
</vxml>
Also if answering machine picks up there is a long pause of upto 3 minutes.
<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<property name="maxspeechtimeout" value="10s"/>
<form>
<field name="dummy1" >
<grammar type="application/x-jsgf" >1</grammar>
<prompt count="1" timeout="3s" bargein="true">
Hello!, this is XYZ calling with your secret code . Please press One to continue
</prompt>
<noinput count="2">You must press one to continue</noinput>
<noinput count="4">Good Bye<exit/></noinput>
<nomatch>You must press one to continue</nomatch>
</field>
</form>
</vxml>