One method of employing TTS is through adding a Speak Text action to a call flow. The text to be spoken is entered in the action's Specific tab.
This text can include combinations of:
Typed text sentences.
Call variables . For example:
Entering $KEY would be replaced when spoken by the last digits dialed within the call flow by the caller.
If using database interaction, entering $DBD[x] would be replaced by the current value of that database field.
Entering $CLI would speak the caller's CLI, if available, back to them.
SSML XML tags can be added to alter how the text is spoken. For example, when 123 needs to be spoken as one two three rather than one hundred and twenty-three by entering <say-as interpret-as="number" format="digits">123</say-as>.