Files
next-static-site/markdown/docs/webhooks/say.md
Brandon Lee Kitajchuk db94b17829 Latest news + banner, cypress tests, open source copy, general style tweaks (#13)
* Adding latest news and banners

* Adding first draft of cypress specs and github actions workflow

* Adding sticky position for top banner

* Tweak styles for new latest news section

* Tweak styles for text__layout innerHTML

* Fix Cypress homepage test spec

* Fix mobile navi z-index with sticky top banner

* Fix sticky banner z-index bug with mobile navi

* Refactor markdown tools to support pages beyond developer docs

* Adjust TADHACK text max-widths for small mobile

* initial changes for open source copy

* more copy

* more copy

* updated open source structure

* minor

* typo

* more copy

* Adjust styles for Open Source markdown small text

* Update readme and remove floats from docs webhooks markdown

* Add readme notes on Cypress and flesh out navi spec tests

* Fix main navi highlight when on sub-sections of markdown pages

Co-authored-by: Dave Horton <daveh@beachdognet.com>
2021-07-22 12:34:01 -04:00

1.2 KiB

say

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

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

You can use the following options in the say action:

option description required
text text to speak; may contain SSML tags yes
synthesizer.vendor speech vendor to use: Google or aws (polly is also an alias for aws) no
synthesizer.language language code to use. no
synthesizer.gender (Google only) MALE, FEMALE, or NEUTRAL. no
synthesizer.voice voice to use. Note that the voice list differs whether you are using aws or Google. Defaults to application setting, if provided. no
loop the number of times a text is to be repeated; 0 means repeat forever. 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

Prev: redirect Next: sip:decline