Emitted when the voice call associated with an interaction is disconnected.
Shortly after this event is fired the interaction transitions to wrap-up state. Listen to InteractionEventType.INTERACTION_WRAP_UP to drive UI changes.
interaction.subscribe(InteractionEventType.INTERACTION_CALL_DISCONNECTED, (event) => { console.log("Call ended for interaction:", event.payload.interactionId);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_CALL_DISCONNECTED, (event) => { console.log("Call ended for interaction:", event.payload.interactionId);});
The event type identifier.
The payload containing call disconnection details.
The timestamp when the event occurred.
Emitted when the voice call associated with an interaction is disconnected.
Shortly after this event is fired the interaction transitions to wrap-up state. Listen to InteractionEventType.INTERACTION_WRAP_UP to drive UI changes.
Example
See