renovia_70920
09/10/2025, 7:29 PMAI Evy
09/10/2025, 7:29 PMAI Evy
09/10/2025, 7:30 PMX- . You can use dynamic variables for your custom SIP header value, so you can pass information extracted from the call to the receiving party .
To pass the call ID in a SIP header during transfer, you would add a custom header like:
json
{ "X-Call-ID": "{{call_id}}" }
[(2) ]() , [(1) ]()
However, there's an important limitation to be aware of: for cold transfers with transferee numbers, Retell uses SIP REFER to transfer the call . Different telephony providers may or may not honor the custom SIP headers in the REFER request . For example, Twilio does not honor the custom SIP headers in the REFER request, so the SIP headers you set in the transfer call tool will not work for cold transfer with transferee number when using Twilio .
The configuration depends on your agent type:
- For Conversation Flow agents, check out the call transfer node for more details
- For Single/Multi agent, check out the call transfer function for more detailsAI Evy
09/10/2025, 7:30 PMAI Evy
09/10/2025, 7:30 PMrenovia_70920
09/10/2025, 7:32 PMAI Evy
09/10/2025, 7:32 PMAI Evy
09/10/2025, 7:32 PM{{call_id}} is a system variable that's automatically provided by Retell AI - you don't need to set it manually [(1) ]() .
According to the documentation, {{call_id}} is listed under "Phone Call Variables" as a default system variable with the description "Current call session id" and an example value of call_12345678906eaa0222bd3dd2a6c . This variable is only available for phone calls .
So when you use {{call_id}} in your SIP headers for call transfers, Retell will automatically populate it with the current call's unique identifier without any additional configuration required on your part .AI Evy
09/10/2025, 7:32 PMAI Evy
09/10/2025, 7:32 PMAI Evy
09/10/2025, 8:24 PMrenovia_70920
09/10/2025, 8:24 PMAI Evy
09/10/2025, 8:24 PM{{call_id}} in custom SIP headers for call transfers, then yes - that would work in Retell AI [(1) ]() . You can use dynamic variables like {{call_id}} for your custom SIP header values when transferring calls .
For example, a custom SIP header configuration like:
json
{ "X-Call-ID": "{{call_id}}" }
Would be valid, as {{call_id}} is a system variable automatically provided by Retell AI for phone calls.
However, remember the limitation that for cold transfers with transferee numbers using SIP REFER, different telephony providers may or may not honor the custom SIP headers - for instance, Twilio does not honor custom SIP headers in REFER requests .AI Evy
09/10/2025, 8:24 PMAI Evy
09/10/2025, 8:24 PMrenovia_70920
09/10/2025, 8:28 PMAI Evy
09/10/2025, 8:28 PMAI Evy
09/10/2025, 8:29 PMX- and you can use dynamic variables for your custom SIP header value to pass information extracted from the call to the receiving party .
For your use case with the "X-Call-ID" header, this would work in Retell:
json
{
"X-Call-ID": "{{call_id}}"
}
However, there's an important limitation to be aware of: for cold transfer with transferee number, Retell uses SIP REFER to transfer the call . Different telephony providers may or may not honor the custom SIP headers in the REFER request . For example, Twilio does not honor the custom SIP headers in the REFER request, so the SIP headers you set in transfer call tool will not work for cold transfer with transferee number when using Twilio .
The Zoom Contact Center configuration you described is on the receiving end and would be able to capture the "X-Call-ID" SIP header that Retell sends, assuming:
1. Your telephony provider honors custom SIP headers in REFER requests
2. You're not using Twilio for cold transfers with transferee numbers
For configuration details:
- If you're using Conversation flow agents, check out the call transfer node
- If you're using Single/multi agent, check out the call transfer functionAI Evy
09/10/2025, 8:29 PMAI Evy
09/10/2025, 8:29 PMrenovia_70920
10/22/2025, 5:13 AMAI Evy
10/22/2025, 5:14 AMAI Evy
10/22/2025, 5:14 AMAI Evy
10/22/2025, 5:14 AMAI Evy
10/22/2025, 5:14 AM