Page 1 of 1

Reading numbers

Posted: Thu Jul 09, 2009 10:05 am
by evanl@peopleclues.com
When I write VXML for the user to verify the information they have entered, for example Store ID: 11111, the TTS read it as Eleven thousand, 1 hundred and 11. Is there a way to make it read the digits individually?

IVR code to read digits individually

Posted: Thu Jul 09, 2009 10:54 am
by support
The easiest way is to separate the digits with spaces or commas. Another way that may work with certain TTS engines is the IVR tag, <say-as>.

Sample IVR code:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        Acronym is spelled:
        <say-as type="acronym">
          acronym
        </say-as>
      </prompt>
    </block>
  </form>
</vxml>
which will sound like, "Acronym is spelled: A C R O N Y M."