<Say>

Use a Text-To-Speech Engine in Calls

Overview

Pivot will use a TTS engine to say text in the body of the term. To use <Say>, the Kazoo account must have a TTS engine configured. Currently, Kazoo supports iSpeech, Flite, Google TTS, and, Voice Fabric. To add iSpeech to a Kazoo account, follow this tutorial. Kazoo ships with Flite configured for use out of the box, though individual installations may be configured differently.

Attributes

NameValues DescriptionDefault value
loopany positive integer including zero1
terminatorsany dtmf characters0123456789*#
languageany language supported by the TTS engineaccount default or en-us
voiceany voices supported by the TTS engine, usually male or `femaleaccount default TTS voice or male
engineany engine configured in the Kazoo accountaccount default

loop

Specifies how may times the body text is said to the user. By default the text will play once. A value of 0 will loop the text indefinitely until either one party disconnects or the term otherwise completes from a terminator.

terminator

When pressed, this key stops playback. <Record> will then complete. By default, any DTMF character will halt playback.

language

Check the TTS engine for available languages.
If unspecified, Pivot will use to the default TTS language for the Kazoo account. If no account default is configured, Pivot defaults to en-us.

voice

Check the TTS engine for available voices, most support male and female.
If unspecified, Pivot will use to the default voice for the Kazoo account. If no account default is configured, Pivot defaults to male.

engine

Select from configured TTS engines available to the Kazoo account. Each <Say> term can use a different engine, if desired.

Nesting

Can be nested under <Gather> to play TTS until the caller provides the first DTMF.
Terms cannot be nested within <Say>.