Call Commands
SIP Refer a call
Initiate 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
post/calls/{call_control_id}/actions/refer
Path parameters
call_control_idstring required
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"
}
}