We were using Voxeo but due to natural TTS engine support, we switched to PLUM. Following are the VXML snippets which was developed to run on Voxeo.
<form id="prompt_dob">
- <field name="dob" type="date">
<property name="inputmodes" value="dtmf" />
- <prompt>
<break strength="medium" />
Please Enter your four digit year of birth followed by your two digit month of birth followed by your two digit day of birth
</prompt>
- <noinput count="1">
I am sorry I didn't hear you
<reprompt />
</noinput>
- <noinput count="3">
Unable to Verify your Identity. Goodbye
<exit />
</noinput>
- <nomatch cond="true" count="1">
<audio>I did not understand your entry</audio>
<reprompt />
</nomatch>
- <nomatch cond="true" count="3">
<audio>I did not understand your entry. Goodbye</audio>
<exit />
</nomatch>
- <filled>
<assign name="document.dobset" expr="dob" />
<goto next="#confirm_dob" />
</filled>
</field>
</form>
The aboove code supports only DTMF as mentioned in the property tag.
<form id="confirm_dob">
- <block>
- <prompt>
<break strength="medium" />
The Date of Birth you entered is
<break strength="medium" />
- <say-as interpret-as="date" format="ymd">
<value expr="dobset" />
</say-as>
</prompt>
</block>
- <field name="dobcheck" type="digits?length=1">
- <prompt>
<break strength="medium" />
Press or Say 1 if this is Correct?
<break strength="medium" />
Press or Say 2 to Re Enter
</prompt>
- <filled>
- <if cond="dobcheck=='1'">
<submit namelist="ssn_number dobset submitcount session.sessionid" next="
http://66.109.47.37/Captira.ADI.UI/Auth ... nPage.aspx" method="post" />
<exit />
<elseif cond="dobcheck=='2'" />
<goto next="#prompt_dob" />
</if>
</filled>
</field>
</form>
This code supports both DTMF & Voice.
Now my question is that can we have a support for either DTMF or Voice or both at a time for a particluar part of VXML document or entire document as mentioned above in the VXML.
Thanks,
-Awaneesh