startDialOut() or triggered by inbound SIP dial-in. See the dial-in/dial-out guide for setup.
Dial-in Events
dialin-ready
Fires when the SIP worker is ready to receive a call. Only emitted when the room has SIP dial-in configured.Always
"dialin-ready".The ID of the call client instance that emitted this event.
The SIP endpoint URI ready to receive calls (e.g.
"sip:room-name@sip.daily.co").The SIP/PSTN provider.
dialin-connected
Fires when a SIP or PSTN caller has connected to the Daily room and both endpoints are negotiating media.dialin-connected does not mean media has started flowing — it means the connection request was received and media negotiation is underway.Always
"dialin-connected".The ID of the call client instance that emitted this event.
Session ID of the dial-in participant.
The SIP Call-ID header value.
The SIP/PSTN provider.
Optional user ID associated with the session.
Optional SIP
From address of the caller.Optional SIP endpoint that received the call.
Optional SIP headers from the incoming request.
Optional trace ID for debugging.
dialin-stopped
Fires when a SIP or PSTN session ends — either the remote end disconnected or the call was terminated.Always
"dialin-stopped".The ID of the call client instance that emitted this event.
Session ID of the participant whose session ended.
The SIP/PSTN provider.
Optional user ID associated with the session.
Optional SIP
From address of the caller.Optional SIP endpoint that received the call.
Optional SIP headers.
Optional SIP Call-ID.
Optional trace ID for debugging.
dialin-error
Fires when a fatal error occurs in the dial-in pipeline — for example, an SDP negotiation failure.Always
"dialin-error".The ID of the call client instance that emitted this event.
Human-readable error description.
Session ID of the affected participant.
The SIP/PSTN provider.
Optional error classification. Currently only
'start-failed'.Optional user ID.
Optional SIP Call-ID.
Optional details object. May contain
sipEndpoint.Optional trace ID for debugging.
dialin-warning
Fires for non-fatal dial-in errors, such as when a requested codec is unavailable and a fallback is applied.Always
"dialin-warning".The ID of the call client instance that emitted this event.
Human-readable description of the warning.
Session ID of the affected participant.
The SIP/PSTN provider.
Dial-out Events
dialout-connected
Fires when the outbound call is established and ringing at the remote end.Always
"dialout-connected".The ID of the call client instance that emitted this event.
Session ID of the dial-out participant.
The SIP Call-ID header value.
The SIP/PSTN provider.
Optional. Phone number in E.164 format or SIP URI of the remote party.
Optional. Originating address — phone number in E.164 or SIP URI.
Optional. Caller ID presented to the remote party.
Optional user ID associated with the session.
Optional trace ID for debugging.
dialout-answered
Fires when the remote party answers the outbound call.Always
"dialout-answered".The ID of the call client instance that emitted this event.
Session ID of the dial-out participant.
The SIP Call-ID header value.
The SIP/PSTN provider.
Optional. Phone number in E.164 format or SIP URI of the remote party.
Optional. Originating address.
Optional. Caller ID presented to the remote party.
dialout-stopped
Fires when the dial-out session ends — either the remote party hung up orstopDialOut() was called.
Always
"dialout-stopped".The ID of the call client instance that emitted this event.
Session ID of the dial-out participant.
The SIP/PSTN provider.
Optional. Destination phone number or SIP URI.
Optional. Originating address.
Optional SIP Call-ID.
dialout-error
Fires when a fatal error occurs in the dial-out pipeline.Always
"dialout-error".The ID of the call client instance that emitted this event.
Human-readable error description.
The SIP/PSTN provider.
Optional session ID.
Optional user ID.
Optional SIP Call-ID.
Optional details object. May contain
destination.Optional trace ID for debugging.
dialout-warning
Fires for non-fatal dial-out errors, such as when a requested codec is unavailable and a fallback is applied.Always
"dialout-warning".The ID of the call client instance that emitted this event.
Human-readable description of the warning.
The SIP/PSTN provider.
Optional session ID of the affected participant.