SIP Refer a call
Changed onInitiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any point in the duration of a call.
Expected Webhooks:
- call.refer.started
- call.refer.completed
- call.refer.failed
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/calls/{call_control_id}/actions/refer
- Auth: HTTP bearer
Path parameters
Unique identifier and token for controlling the call
Request body
Example request
{
"sip_address": "sip:username@sip.non-telnyx-address.com"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32tointegerfor status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromstringtointeger, and format fromintegertoint32for status - breaking
the
///response's property format changed fromjson-pointerto no format for status
- breaking