sipCallTransfer(options)
SIP-to-SIP, PSTN-to-PSTN, SIP-to-PSTN, and PSTN-to-SIP transfers are all supported.
Requires the initiating participant to be an owner or admin.
Use sipRefer() instead when Daily should exit the media path entirely after the transfer.
Parameters
string
required
The
session_id of the SIP or PSTN participant to transfer.string
required
The destination SIP address (e.g.,
sip:someone@sip.abc.com) or PSTN number (e.g., +16586574500) to transfer the call to.string
Caller ID override. Only valid when transferring to a PSTN number.
string
Extension to dial after the destination connects. Only valid with a PSTN
toEndPoint. Max 20 characters.number
Seconds to wait after the destination connects before dialing the extension.
Return value
Returns aPromise<void>.