0

support in say method for backup TTS if audio can't be found?

In looking at the documentation, it appears that "say" can either play a wav file, tts a string, or play wav file in the middle of a TTS string. In normal VXML development, you can specify a wav file that's played by default and give a TTS string for backup (and documentation) if the wav file can't be found, or if it's too slow to retrieve. Is there any way to support this with the current groovy API? Possibly a 2 parameter version of say where the first parameter is the current behavior, and the second one is played if any wav files specified in the first can't be found? (BTW, tropo looks like it could be very cool, I'm looking forward to playing around with it)

2 comments

Please sign in to leave a comment.