$dialer.getAsrConfig
This method returns the ASR provider settings of the phone channel used for the current call.
Syntax
The method is called without arguments:
$dialer.getAsrConfig();
The method returns a settings object.
The properties of this object are different based on the provider.
If the provider supports no additional settings, the method returns an empty object {}
.
tip
All settings returned by the method
can be overridden for the current call using the
$dialer.setAsrConfig
method.Provider settings
Google
Azure
language
- Speech recognition language.
outputFormat
- Data output format.
profanityOption
- This setting determines what should be done with profanity in the recognized text: should it be removed, masked, or included as is.
enableDictation
- This setting enables speech recognition in dictation mode. In this mode, words which represent punctuation marks and other markup elements are recognized as special characters (for example, comma is treated as,).