onAccepted()
Notifies Vault when an agent has accepted a call and creates a Conversation record.
Parameters
Section link for Parameters| Name | Type | Description |
|---|---|---|
metadataoptional | Object | The accepted call metadata. |
Example
Section link for Exampleimport { omniconnectEvent } from "./vault-medical-omniconnect-25.1.2-release12649.js";
// Call/live chat has been accepted
function accepted() {
omniconnectEvent.onAccepted()
}