Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.92 KB

File metadata and controls

16 lines (12 loc) · 1.92 KB

Say

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.

Properties

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
conference_id str D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. [optional]
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]

[Back to Model list] [Back to API list] [Back to README]