With the following syntax, I can correctly get the 10 digit accountNumber value, but the <say-as> plays it as a number instead of digits. change the length to 5 and it plays as digits just fine.
...
<field name="accountNumber" type="digits?length=10"/>
<filled>
<prompt>
<emphasis>OK, here's what I've got!</emphasis> You said your
account number was
<say-as interpret-as="digits">
<value expr="accountNumber" />
</say-as>
</prompt>
</filled>
....
What's up? Have I got something wrong here?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
digits play back as numbers for long length digit sequences.
-
- Posts: 1
- Joined: Tue Mar 10, 2009 10:54 pm
- Location: Acton, MA
- Contact:
digits play back as numbers for long length digit sequences.
John Kowalonek
President and CEO
J o h n . k o w a l o n e k @ S o r r i s o t e c h . c o m
President and CEO
J o h n . k o w a l o n e k @ S o r r i s o t e c h . c o m
IVR code for account number value
Hi,
If you have AT&T Natural Voices set as your TTS engine, then you should set up your IVR code like this:
englishdigits.php
Regards,
Plum Support
If you have AT&T Natural Voices set as your TTS engine, then you should set up your IVR code like this:
englishdigits.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">
<prompt>
Please enter some digits.
</prompt>
<filled>
<prompt>
You entered <say-as type="acronym"> <value expr="englishdigits"/></say-as>.
</prompt>
</filled>
</field>
</form>
</vxml>
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com