Skip to main content
The say verb is used to send synthesized speech to the remote party. The text provided may be either plain text or use SSML tags.

Speech vendors

{
  "verb": "say",
  "text": "hi there!",
  "synthesizer" : {
    "vendor": "google",
    "language": "en-US",
    "voice": "en-US-Wavenet-F"
  }
}

Configuration

The full set of configuration parameters:
ParameterDescriptionRequired
textThe text to speak. May contain SSML tags.Yes
synthesizer.vendorThe speech vendor to use for synthesis.No
synthesizer.languageThe language code. Required, if synthesizer.vendor is definedNo
synthesizer.voiceThe voice to use. Check the voice lists of the vendor used. Defaults to the Application setting, if provided. Required, if synthesizer.vendor is definedNo
loopThe number of times the text is to be repeated; 0 means repeat forever. The default value is 1.No
earlyMediaIf this parameter is true and the call has not yet been answered, play the audio without answering the call. The default value is false.No
I