We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

speaking numbers

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
rayishome
Posts: 23
Joined: Mon Aug 13, 2007 7:12 am

speaking numbers

Post by rayishome »

I have a varable with a long number in it. How can I get the system to speak one number at a time. I've tried say-as phone and still nothing. I can parse the number on the server, but really had to do it that way.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code example using "acronym" say-as tag type

Post by support »

Hi,

AT&T Natural Voices does not support the "number:digits" say-as tag type, so you have to use the "acronym" <say-as> tag type in order to get this to work.

For an IVR code example:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
    <form>
        <block>
            <prompt>
                Here is a really long number read back as digits:
                <say-as type="acronym">
                    123456789
                </say-as>
            </prompt>
        </block>
    </form>
</vxml>
However, this method only works in the US.

If you live in the UK, you would have to do this to your IVR code:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
    <form>
        <block>
            <prompt>
                Here is a really long number read back as digits: "1, 2, 3, 4, 5, 6, 7, 8, 9"
            </prompt>
        </block>
    </form>
</vxml>
Regards,
Plum Support

Post Reply