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

say-as type="date:mdy" doesn't work

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
plumphp
Posts: 5
Joined: Wed Jun 14, 2006 2:27 pm

say-as type="date:mdy" doesn't work

Post by plumphp »

The date and date:ymd seems to work but not date:mdy

the format of the TTS that I am using is xx-xx-xxx as in 06-22-2006. This is only read like an acronym. But when I change it to the format of xxxx-xx-xx as in 2006-06-22 it works.

Please advise.

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

Proper format for dates using IVR AT&T Natural Voices en

Post by support »

Hello,

If you are using the IVR hosting site with the AT&T Natural Voices engine the proper format for a date is as follows:

Code: Select all

<say-as type="Date:MDY">Jun 22, 2006</say-as>
Technically this is the only format that is guaranteed to work. The format you were using is ambiguous for certain dates (it could mean MM-DD-YYYY or DD-MM-YYYY). You are probably better off spelling out exactly what you want the IVR text-to-speech engine to say. It should be a trivial task to have a simple lookup table that takes a numeric month and spells out the month for the IVR tts engine.

Regards,
Plum Support

Post Reply