Avaya Support Forums  

Go Back   Avaya Support Forums > IP Office Contact Center

Thread Tools Search this Thread Display Modes
Old 04-07-2015, 12:01 PM
sfrits sfrits is offline
Join Date: Mar 2011
Posts: 49
sfrits has 10 reputation points
Default IPOCC IVR TTS for Price

Have a site where the Customer has an IVR script that will pull item quantity and price for the item from a database. The item price is in one field of the table in the format 22.33. Now when we pull that in to the IVR script and do a TTS for the value the TTS will say "The price for Item X is 22.33 dollars. The 22.33 being the variable. So it says "twenty two point thirty three" dollars. Is there any way to have the TTS say "twenty two" dollars and "thiry three" cents? Thinking no since the field in the table has a value of 22.33.
Reply With Quote
Old 04-09-2015, 01:48 PM
parke92 parke92 is offline
Hot Shot
Join Date: Jul 2014
Posts: 24
parke92 has 10 reputation points

You can always take the variable from the database and split it into two variables using the right and left string operators in the define variable element in the IVR. So you can use two define variable blocks after the data return and store the right two digits in one and the left digits (using leftfirstex) in another. Then using a TTS block you should be able to speak "<variable1> dollars and <variable2> cents".
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 07:20 AM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.