Hello,
I have my audio file played for part of the sentence and I have to have the IVR speaks back the number I entered already.
In the following code, it plays the audio file good. But after that when it comes to say the numbers, it spells the tags like '
<say-as i n t e r p r e t - a s = "digits"> as it goes.
It is reading the tags along with the numbers.
Am I doing something wrong here?
Code:
<prompt timeout="2s" >
<audio src="recordings/youentered.wav" > oops i can't locate the audio file</audio>
<sentence>
<say-as interpret-as ="digits">
<value expr="custid1"/>
<value expr="custid2"/></say-as>
<break time="1s"/><say-as interpret-as ="digits">
<value expr="custid3"/>
<value expr="custid4"/>
</say-as>
</sentence>
Any help would be appreciated.
Thank you
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
words spelled
IVR code to fix words spelled issue
Hi,
We have implemented a slight variation of your IVR code, but we were not able to reproduce this IVR issue with the <say-as> tag.
From this IVR code, the numbers were not returned as digits. We recommend that you change your IVR code to the following:
Hope this IVR code helps.
Regards,
Plum Support
We have implemented a slight variation of your IVR code, but we were not able to reproduce this IVR issue with the <say-as> tag.
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<var name="custid1"/>
<var name="custid2"/>
<var name="custid3"/>
<var name="custid4"/>
<block>
<assign name="custid1" expr="1234"/>
<assign name="custid2" expr="12345"/>
<assign name="custid3" expr="123456"/>
<assign name="custid4" expr="1234567"/>
<prompt timeout="2s">
<audio src="recordings/youentered.wav" > oops i can't locate the audio file</audio>
<sentence>
<say-as interpret-as="digits">
<value expr="custid1"/>
<value expr="custid2"/></say-as>
<break time="1s"/><say-as interpret-as="digits">
<value expr="custid3"/>
<value expr="custid4"/>
</say-as>
</sentence>
</prompt>
</block>
</form>
</vxml>
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<var name="custid1"/>
<var name="custid2"/>
<var name="custid3"/>
<var name="custid4"/>
<block>
<assign name="custid1" expr="1234"/>
<assign name="custid2" expr="12345"/>
<assign name="custid3" expr="123456"/>
<assign name="custid4" expr="1234567"/>
<prompt timeout="2s">
<audio src="recordings/youentered.wav" > oops i can't locate the audio file</audio>
<sentence>
<say-as type="acronym">
<value expr="custid1"/>
<value expr="custid2"/></say-as>
<break time="1s"/><say-as type="acronym">
<value expr="custid3"/>
<value expr="custid4"/>
</say-as>
</sentence>
</prompt>
</block>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 11:00 am, edited 5 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 84
- Joined: Wed Apr 04, 2007 4:58 pm
Hello,
In the previous mail, I may give you the wrong information.
Actually reading digits works fine. That is not the problem.
But when it reads the numbers, it reads the tags along with like this
' say-as i n t e r p r e t ="digits" 1 2 3 4 /say-as'
it worked fine before I add the audio tag with this.
the code:
prompt timeout="2s" >
<audio src="recordings/youentered.wav" > oops i can't locate the audio file</audio>
<sentence>
<say-as interpret-as ="digits">
<value expr="custid1"/>
<value expr="custid2"/></say-as>
<break time="1s"/><say-as interpret-as ="digits">
<value expr="custid3"/>
<value expr="custid4"/>
</say-as>
</sentence>
<audio src="recordings/thiscorrect.wav" >oops i can't locate the audio file</audio>
<audio src="recordings/press1.wav" >oops i can't locate the audio file</audio>.<break time="1s"/>
<audio src="recordings/press2.wav" >oops i can't locate the audio file</audio>
<audio src="recordings/enteraccnoagain.wav" >oops i can't locate the audio file</audio>.
</prompt>
Actually with the first audio tag, it works fine. the audio tags after the sentence tag are causing this problem.
Thanks.
In the previous mail, I may give you the wrong information.
Actually reading digits works fine. That is not the problem.
But when it reads the numbers, it reads the tags along with like this
' say-as i n t e r p r e t ="digits" 1 2 3 4 /say-as'
it worked fine before I add the audio tag with this.
the code:
prompt timeout="2s" >
<audio src="recordings/youentered.wav" > oops i can't locate the audio file</audio>
<sentence>
<say-as interpret-as ="digits">
<value expr="custid1"/>
<value expr="custid2"/></say-as>
<break time="1s"/><say-as interpret-as ="digits">
<value expr="custid3"/>
<value expr="custid4"/>
</say-as>
</sentence>
<audio src="recordings/thiscorrect.wav" >oops i can't locate the audio file</audio>
<audio src="recordings/press1.wav" >oops i can't locate the audio file</audio>.<break time="1s"/>
<audio src="recordings/press2.wav" >oops i can't locate the audio file</audio>
<audio src="recordings/enteraccnoagain.wav" >oops i can't locate the audio file</audio>.
</prompt>
Actually with the first audio tag, it works fine. the audio tags after the sentence tag are causing this problem.
Thanks.
IVR code using <say as> tag
Hi,
We are still unable to reproduce the IVR issue with your IVR code. Do you still get the same IVR error if you replace:
with:
If this suggestion does not work, please provide us with a clearer example or more IVR code to help us reproduce this IVR issue.
Regards,
Plum Support
We are still unable to reproduce the IVR issue with your IVR code. Do you still get the same IVR error if you replace:
Code: Select all
<say-as interpret-as ="digits">
Code: Select all
<say-as type ="acronym">
Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 11:01 am, edited 2 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 84
- Joined: Wed Apr 04, 2007 4:58 pm