The Say
command provides Text-To-Speech (TTS) support. It converts text to speech and then renders it in a female voice back to the caller. Say
is useful in cases where it's difficult to pre-record a prompt for any reason. Say
does not allow barge-in unless nested within a GetSpeech
command. The file will always be played to completion unless nested.
Name | Type | Description | Notes |
---|---|---|---|
text | str | The message to be played to the caller using TTS. The size of the string is limited to 4 KB (or 4,096 bytes). An empty string will cause the command to be skipped. | |
language | str | Language and (by implication) the locale to use. This implies the accent and pronunciations to be usde for the TTS. The complete list of valid values for the language attribute is shown below. | [optional] |
loop | int | Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up. | [optional] if omitted the server will use the default value of 1 |
privacy_mode | bool | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional] |
command | str | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] |