refer
Transfer a SIP call to an external SIP endpoint using the SIP REFER method.
Unlike transfer()
which transfers control within RELAY, refer() performs a SIP-level transfer
to an external endpoint.
This method emits calling.call.refer events. See Call Events for payload details.
Parameters
device
The target SIP device for the REFER.
device.type
Device type. Typically "sip".
device.params
SIP parameters including uri (the SIP URI to refer to).
status_url
URL to receive REFER status webhooks.
Returns
dict — Server response confirming the refer operation.