Emitted when the agent's WebRTC voice channel is unregistered from the media server.
This typically occurs during SDK teardown or when the agent logs out of CX. After this event, voice calls are no longer possible until re-registration succeeds.
sdk.subscribe(WebRtcRegistrationEventType.UNREGISTERED, (event) => { console.log("Voice channel unregistered, status:", event.payload.status);}); Copy
sdk.subscribe(WebRtcRegistrationEventType.UNREGISTERED, (event) => { console.log("Voice channel unregistered, status:", event.payload.status);});
The timestamp when the event occurred.
The event type identifier.
The event payload containing event-specific data.
Emitted when the agent's WebRTC voice channel is unregistered from the media server.
This typically occurs during SDK teardown or when the agent logs out of CX. After this event, voice calls are no longer possible until re-registration succeeds.
Example
See