Stu
06/25/2024, 8:01 AMVapi
06/25/2024, 8:03 AMVapi
06/25/2024, 8:03 AM<API_ENDPOINT>
, <ACCESS_TOKEN>
, <CALL_ID>
, and <SIP_TRANSFER_TARGET>
with your actual API endpoint, access token, call identifier, and the SIP address to which you want to transfer the call, respectively.
bash
curl -X PATCH "<API_ENDPOINT>/calls/<CALL_ID>" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"sipTransfer": {
"type": "SipTransferDestination",
"sipUri": "<SIP_TRANSFER_TARGET>"
}
}'
Please ensure that:
- Your Vici system is configured to handle SIP REFER messages.
- The <CALL_ID>
is the identifier of the current call you want to transfer.
- The <SIP_TRANSFER_TARGET>
is the SIP URI to which you want to transfer the call.
If you've already tried this and it's not working, please check your server logs for any error messages that could indicate what's going wrong. If the logs show that the SIP REFER messages are not being sent or received as expected, ensure that your network and server configurations allow for these types of messages.
If you need further assistance or if you're encountering specific error messages, please provide more details so I can assist you more effectively. If you're unsure about the error messages or need more info on this, please ask support for additional help.Sahil
06/25/2024, 1:39 PM