sip_refer
sip_refer
sip_refer
Send SIP REFER to a SIP call.
An object that accepts the following properties.
SIP URI to REFER to.
HTTP or HTTPS URL to deliver SIP REFER status events. Learn more about status callbacks.
Username to use for SIP authentication.
Password to use for SIP authentication.
Set by the method:
sip_refer_result.A POST request will be sent to status_url with a JSON payload like the following:
The type of event. Always calling.call.refer for this method.
The channel for the event, includes the SWML session ID.
Unix timestamp (float) when the event was generated.
The project ID associated with the call.
The Space ID associated with the call.
An object containing SIP REFER-specific parameters.
The call ID.
The node handling the call.
The SIP URI the recipient is being referred to.
The overall result of the SIP REFER operation (e.g., success).
The SIP response code for the REFER request itself (e.g., "202"). Only present when a response has been received.
The SIP response code for the INVITE sent by the recipient to the refer target (e.g., "200"). Only present when a response has been received.
The segment ID for the call leg. Present when available.
The tag associated with the call. Present when set.