Skip to main content
sipRefer(options) Sends a SIP REFER to instruct the original SIP caller to establish a direct connection with a new destination. Once the REFER succeeds, Daily exits the media path entirely and stops billing for that leg. Use this instead of sipCallTransfer() when Daily should not remain in the call path after the transfer. If Daily should stay anchored in the call, use sipCallTransfer(). Requires the initiating participant to be an owner or admin.
Each call to sipRefer() is billed separately. A one-time SIP REFER fee may apply when this method is called. Contact support for pricing details.

Parameters

sessionId
string
required
The session_id of the SIP participant to transfer.
toEndPoint
string
required
The destination SIP URI (e.g., sip:support@sip.example.com) to refer the caller to.

Return value

Returns a Promise<void>. When the REFER is triggered, participant-left, dialin-stopped, and dialout-stopped events fire in the originating room. calltransfer webhooks (triggered, initiated, answered, complete) are also emitted.

Example

await call.sipRefer({
  sessionId: 'ad96802d-c511-4d9a-a485-1a1af62732d0',
  toEndPoint: 'sip:support@sip.example.com',
});

See also