sip_refer
sip_refer
Send a SIP REFER message to transfer the call in a SIP environment. This is used for attended or blind transfers within SIP-based phone systems and PBX deployments.
For standard phone-number or SIP-address transfers, use
connect()
instead. Use sip_refer() when the transfer must be performed via the SIP
REFER mechanism (e.g., transferring to a PBX extension).
Parameters
to_uri
SIP URI to send the REFER to (e.g., "sip:1001@pbx.example.com").
Returns
FunctionResult — self, for chaining.