Controlling events sent to bot

You can enable VoiceAI Connect to send certain optional events to the bot. If not configured, VoiceAI Connect doesn't send them.

VoiceAI Connect Enterprise supports this feature from Version 2.4 and later.

How to use this?

This feature is configured by the following bot parameter:

See Changing call settings for details on how this parameter can be applied.

Parameter

Type

Description

sendEventsToBot

Array of strings

Allows VoiceAI Connect to send the following events if specified:

  • agentConnected

  • conversationEnd

  • dialoutInitiated

  • noUserInput

  • playFinished

  • silenceDetected

  • speakerVerificationActionResult

  • speakerVerificationEnrollCompleted

  • speakerVerificationEnrollProgress

  • speakerVerificationSpeakerStatus

  • speakerVerificationVerifyCompleted

  • speakerVerificationVerifyProgress

  • speechHypothesis

  • voiceDetected

For example, below allows VoiceAI Connect to send the "dialoutInitiated" event:

"sendEventsToBot": [
  "dialoutInitiated"
]