Hi,
Is there any way using which we can give a support to either DTMF or Voice at document level & then again at field level while accpeting a data from the daller?
Thanks,
-Awaneesh
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Support for either DTMF or voice or both in a document.
Clearer example needed for IVR issue
Hello,
I'm not sure what you are asking. Could you provide a more clear IVR example of excatly what you are trying to do?
Regards,
Plum Support
I'm not sure what you are asking. Could you provide a more clear IVR example of excatly what you are trying to do?
Regards,
Plum Support
Last edited by support on Fri Jan 01, 2010 2:42 pm, edited 1 time in total.
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
<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
IVR inputmodes follow standard rules for all <property>
Hello,
The IVR inputmodes follow the standard rules for all <property> tags. The value of the IVR tag, property, will propogate to all elements within it's scope. This means that you can set a document wide property and then override it in the form and then again in a <field>. This allows you to control the inputmodes in any situation:
Regards,
Plum Support
The IVR inputmodes follow the standard rules for all <property> tags. The value of the IVR tag, property, will propogate to all elements within it's scope. This means that you can set a document wide property and then override it in the form and then again in a <field>. This allows you to control the inputmodes in any situation:
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="voice"/>
<form id="prompt_dob">
<property name="inputmodes" value="dtmf" />
<field name="dob" type="date">
<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">
I did not understand your entry
<reprompt />
</nomatch>
<nomatch cond="true" count="3">
I did not understand your entry. Goodbye.
<exit />
</nomatch>
<filled>
<assign name="document.dobset" expr="dob" />
</filled>
</field>
</form>
<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">
<property name="inputmodes" value="voice dtmf"/>
<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="AuthenticationPage.aspx" method="post" />
<elseif cond="dobcheck=='2'" />
<goto next="#prompt_dob" />
</if>
</filled>
</field>
</form>
</vxml>
Plum Support