https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can i send custom sip headers in call transfer nod...
# ❓・ai-evy-support
s
@AI Evy Can i send custom sip headers in call transfer node in voice bot using Phone number in genesys?
a
Thanks for tagging me @simran_27054. I'll look through relevant sources and get back to you shortly.
### Answer Yes, Retell AI supports custom SIP headers for call transfers [(1) ]() . For call transfers, you can add custom SIP headers as needed, and they must start with
X-
. You can use dynamic variables for your custom SIP header values, allowing you to pass information extracted from the call to the receiving party . However, there are some important limitations to be aware of. For cold transfer with transferee number, it 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 . For implementing this feature: - If you're using Conversation flow agents, check out the call transfer node for more details - If you're using Single / multi agent, check out the call transfer function for more details Regarding Genesys specifically, the documentation doesn't provide specific information about Genesys integration with custom SIP headers. You would need to verify with Genesys whether they honor custom SIP headers in REFER requests similar to how Twilio handles them.
​ To learn more, see the sources I considered: [[1] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy I am using Cold transfer to genesys number with Retell Agent's Number and custom headers but genesys is not receiving them
a
Thanks for the follow-up, @simran_27054. I'll get back to you soon.
### Answer This is a known limitation with cold transfers using SIP REFER [(1) ]() . For cold transfer with transferee number, Retell AI uses SIP REFER to transfer the call . Different telephony providers may or may not honor the custom SIP headers in the REFER request . The documentation specifically mentions that Twilio does not honor custom SIP headers in REFER requests, so the SIP headers you set in the transfer call tool will not work for cold transfer with transferee number when using Twilio . This same limitation likely applies to Genesys as well. For custom SIP headers to work properly in transfers, the receiving telephony provider (in your case, Genesys) must be configured to honor custom SIP headers in REFER requests . Since you're not receiving the headers, it suggests that either: 1. Genesys doesn't support custom SIP headers in REFER requests 2. Genesys needs specific configuration to accept these headers You may want to check with Genesys support about their SIP REFER header handling capabilities, or consider using warm transfer instead if your use case allows it, as this may provide better header transmission support.
​ To learn more, see the sources I considered: [[1] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy but i am not using Transferee's Number, I am using Retell Agent's Number.
a
Thanks for the follow-up, @simran_27054. I'll get back to you soon.
### Answer You're correct to clarify this important distinction. When using Retell Agent's Number for cold transfer, the behavior is different from using Transferee's Number [(1) ]() . The documentation specifically states that the SIP REFER limitation (where custom SIP headers may not be honored) applies to "cold transfer with transferee number" [(2) ]() . Since you're using Retell Agent's Number instead of Transferee's Number, this particular limitation shouldn't apply to your setup [(1) ]() . For cold transfers, you can configure how the caller ID appears to the next agent, and when using Retell Agent's Number, the transfer destination will see the Retell agent's number . Custom SIP headers should be transmitted in this configuration [(2) ]() . If Genesys is still not receiving the custom SIP headers despite using Retell Agent's Number, this suggests the issue may be: 1. How Genesys is configured to process incoming SIP headers 2. The specific SIP transport method being used 3. Genesys-specific SIP header handling requirements You can use dynamic variables for your custom SIP header values, so you can pass information extracted from the call to the receiving party . Make sure your custom SIP headers start with
X-
as required . Since the standard SIP REFER limitation doesn't apply to your configuration, I'd recommend checking with Genesys support about their specific requirements for receiving custom SIP headers on incoming calls.
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.