Skip to main content

$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

  • lang
    • Speech recognition language.
  • model
    • Speech recognition model.

Yandex

  • lang
    • Speech recognition language.
  • model
    • Speech recognition model.
  • numbersAsWords
    • If this setting is enabled, numbers are included in the recognized text as words rather than as sequences of digits (for example, thirteen instead of 13).
  • sensitivityReduction
    • If enabled, this setting reduces the sensitivity of speech recognition to background noise.

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,).

ASM Solutions

  • model
    • Speech recognition model.
  • sampleRate
    • Sample rate.

3iTech

  • lang
    • Speech recognition language.
  • model
    • Speech recognition model.