inputmodes not working
Posted: Wed Nov 02, 2011 2:00 pm
Below is a snippet of my VXML file. In my root file I have the following line:
However, when it starts playing my audio files (the parts between the # signs are replaced before the VXML is returned from the server), it still allows a voice to interrupt. I only want a digit to be able to do that. Why isn't this working?
Thanks,
Andrew
Code: Select all
<property name="inputmodes" value="dtmf"/>
Thanks,
Andrew
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0" application="call_root.vxml">
<form id="test">
<record name="answer" beep="false" modal="false" type="audio/x-wav" dtmfterm="true" finalsilence="2s" maxtime="60s">
<prompt bargein="true" timeout="3s">
<audio src="#INTRO_ENGLISH#"></audio>
<audio src="#INTRO_SPANISH#"></audio>
</prompt>
<noinput>
<goto next="#machine"/>
</noinput>
<filled>
<if cond="answer$.termchar==1">
<goto next="#person_english"/>
<elseif cond="answer$.termchar==2" />
<goto next="#person_spanish"/>
<else/>
<goto next="#test"/>
</if>
</filled>
</record>
</form>
</vxml>