Facebook
LinkedIn
YouTube
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API DocumentationDialer SDK
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API DocumentationDialer SDK
  1. Dialer SDK
  • Overview
  • Quickstart
  • Configuration & Theming
  • API Reference
  • Events Reference
  • Troubleshooting
  1. Dialer SDK

Events Reference

Listen for events on the <convirza-dialer> element:

Authentication & connection#

EventWhenDetail
sip-registeredDialer ready to make calls—
sip-unregisteredSIP disconnected—
auth-failedLogin failed{ error: string }
sip-registration-failedSIP connection failed{ cause: string }
sip-transport-errorNetwork error{ error: string }
token-refreshedTokens renewed (token auth only){ access_token, refresh_token }
Wait for ready:

Call lifecycle#

EventWhenDetail
call-startedOutbound call initiated{ phoneNumber: string }
call-answeredCall connected{ phoneNumber: string }
call-endedCall finished{ phoneNumber, duration }
state-changeCall state changed{ oldState, newState, metadata }
incoming-callInbound call ringing{ phoneNumber, callerName }
Call states: idle → dialing → ringing → connected → ended
Track call lifecycle:

In-call controls#

EventWhenDetail
sip-call-muteMute toggled{ muted: boolean }
sip-call-holdHold toggled{ onHold: boolean }
call-remote-holdRemote party put you on hold{ isOnHold: boolean }
dtmf-sentDTMF digit sent{ digit: string }
call-quality-changeQuality metrics updated (every ~2s)CallQualityMetrics
Quality metrics:
Monitor quality:

Call parking#

EventWhenDetail
call-parkedCall parked successfully{ parkExtension, phoneNumber }
park-slots-updatedPark occupancy changed{ slots: [] }
call-park-failedPark failed{ error: string }

Widget UI#

EventWhenDetail
widget-openedWidget expanded—
widget-closedWidget collapsed—
history-updatedCall history changed{ history: [] }

Errors#

EventWhenDetail
dialer-errorGeneral SDK error{ error: string }

Production monitoring#

Minimum listeners for production:

Typical call flow#

Outbound call:
placeCall()
  ↓
call-started
  ↓
state-change: idle → dialing → ringing
  ↓
call-answered
  ↓
state-change: ringing → connected
  ↓
(call quality updates every 2s)
  ↓
endCall()
  ↓
call-ended
  ↓
state-change: connected → ended → idle
Inbound call:
incoming-call
  ↓
state-change: idle → ringing
  ↓
User clicks Answer
  ↓
call-answered
  ↓
state-change: ringing → connected
  ↓
(rest same as outbound)

Event bubbling#

All events bubble (bubbles: true), so you can listen at the document level:
Recommended: listen directly on the element for better performance.
SDK v1.1.6
Modified at 2026-07-10 14:38:33
Previous
API Reference
Next
Troubleshooting
Built with