Calls
A DialerCall is one call. Outbound calls come back from dialer.call(); inbound calls arrive on the session's incoming event and must be accepted or rejected.
On this page
Fields
direction"outbound" | "inbound"remoteNumberstring | nullcallerNamestring | nulllineNamestring | nullMethods
accept()reject()hangup()mute(shouldMute = true)mute.isMuted()sendDigits(digits)"1" or "123#".status()isActive()connecting through reconnecting; false once closed.status() values
pendingconnectingringingopenreconnectingclosedEvents
ringing{ hasEarlyMedia }accepted—disconnected—cancelled—rejected—errorDialerErrorreconnectingDialerErrorreconnected—mutebooleanwarningstringwarningClearedstringExactly one of disconnected, cancelled, or rejected fires when a call ends, and never more than once. Clear your UI on all three.
Inbound calls
A session receives calls only while its token was minted with inboundEnabled: true. That requires the line to have an inbound number and at least one person in your workspace in its ring set; the SDK then rings alongside them, never instead of them. A line with nobody in its ring set still answers "no one is available", SDK or not.
Because inboundEnabled is evaluated at every mint, it can change mid-session. Read the value from each ready event rather than caching it at start, and show an inbound UI only when it is true.
accept() to a button the user clicks; do not auto-answer from the incoming handler.