I'm not very strong in java -
I have a script (IPIVR 4.0)that I need to read back an account balance, and the client has no ASR or TTS. We have recorded individual .wav files (0-99, hundred, thousand, dollar, cents, and)
How can I play back "one thousand two hundred thirty four dollars and 56 cents" from a string value equal to "000001234.56"
This has become a gigantic headache for me, since I can't figure it out on my own.
Not as hard as you might think.
Use the Create Generated Prompt step. For the Genreator type, select Currency. Set the Constructor type to (Amount, Colloquiel).
If you play with it a little bit, you'll find that this can do most of your heavy lifting for you. Check the on line documentation for details on all this.