We are using RealSpeak TTS Engine and we have a requirement to promt user with some data that could be his phonenumber/telephone number. Actually this is his user-id.
we need to have something like this
<say-as type="acronym">9899498887</say-as>
<say-as type="acronym">xxx@xxx.com</say-as>
Please help me with some alternative of acronym in RealSpeak TTS engine
Regards,
Arvind
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
RealSpeak Engine Acrynom alternattive
-
- Posts: 53
- Joined: Sun Feb 15, 2009 11:42 pm
- Contact:
Sample IVR code for an alternative for acronym
Hi,
As an alternative for acronym, you can use the IVR <say-as> type, "number:digits", for your purposes
For IVR example:
enterdigits.php
Hope this sample of IVR code helps.
Regards,
Plum Support
As an alternative for acronym, you can use the IVR <say-as> type, "number:digits", for your purposes
For IVR example:
enterdigits.php
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form>
<field name="englishdigits" type="digits?length=4">
<prompt>
Please enter some digits.
</prompt>
<filled>
<prompt>
You entered <say-as type="number:digits"><value expr="englishdigits"/></say-as>.
</prompt>
</filled>
</field>
</form>
</vxml>
Regards,
Plum Support
Last edited by support on Wed Feb 24, 2010 12:53 pm, edited 5 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 53
- Joined: Sun Feb 15, 2009 11:42 pm
- Contact:
acrynom alternative for RealSpeak TTS
but in my case i can have alpha numeric values. not just the digits
-
- Posts: 53
- Joined: Sun Feb 15, 2009 11:42 pm
- Contact:
alphanumeric say as acrynom RealSpeak TTS engine
how to handle alphanumeric inside the say as tag to have output like that of acrynom in case of RealSpeak TTS engine?
Regards,
Arvind
Regards,
Arvind
Sample IVR code for alphanumeric as acronym
Hi,
Here's an example of IVR code that demonstrates how you can do this within your IVR tag, <value>:
digits.php:
Hope this helps.
Regards,
Plum Support
Here's an example of IVR code that demonstrates how you can do this within your IVR tag, <value>:
digits.php:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form>
<var name="variable" expr="'h1d3f4g5'"/>
<block>
<prompt>
Your variable is <value expr="variable.replace(/(.)/g, '$1, ')"/>.
</prompt>
</block>
</form>
</vxml>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com