Say

Introduction

The say command is used to send synthesized speech to the remote party.

The say command can accept the following attributes:

Options

Option

Description

Required

text

The content to speak.

yes

synthesizer.vendor

Provide which speed vendor is used (google, aws, microsoft, nuance, nvidia, and ibm are supported, along with any others you add via the custom speech API).

no

synthesizer.language

Provide which language is used (in language code).

no

synthesizer.gender

(Google only) MALE, FEMALE, or NEUTRAL.

no

synthesizer.voice

Provide which voice is used. Note that different vendors will list different voices. Defaults to application setting.

no

loop

Times to repeat the content. Defaults to 1.

no

earlyMedia

If true and the call has not yet been answered, play the audio without answering call. Defaults to false.

no

Example

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

Please contact us for timely support via: