Below are some SSML constructs that have been verified to work in Telephony Bot Prompts.
Note that you should not include <ssml></ssml> tags around the prompts.
Also pay attention to the quotes.
break
example:
"text": "Items <break time='250ms'/> one, two, three, four"
say-as
examples
"text": "This is <say-as interpret-as='characters'>APE</say-as> not ape"
"text": "these are letters <say-as interpret-as='verbatim'>abcdefg</say-as>"
"text": "Your cardinal number is <say-as interpret-as='cardinal'>10</say-as>"
"text": "Your ordinal number is <say-as interpret-as='ordinal'>10</say-as>"
"text": "this will be <say-as interpret-as='fraction'>1+1/2</say-as>"
"text": "Misha was born <say-as interpret-as='date' format='mmddyyyy' detail='1'>
7/5/1999</say-as>"
"text": "Time is <say-as interpret-as='time' format='hms12'>3:30pm</say-as>"
"text": "please call <say-as interpret-as='telephone' format='1'>
(781) 771-7777</say-as>"
alias
example:
"text": "If you like you can say <sub alias='World Wide Web Consortium'>W3C</sub>"
prosody
example:
"text": "long number: <prosody rate='130%'>1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6</prosody>"
Comments
0 comments
Please sign in to leave a comment.