https://retellai.com/?utm_source=discord&utm_medium=seo logo
in call transfer function, in custom headers, I ad...
# ❓・ai-evy-support
p
@AI Evy in call transfer function, in custom headers, I add value "{{from_number}}" in variable "X-Real-Callerid", but asterisk receives this header: X-Real-CallerID: {{from_number}} , without substitution
a
Thanks for tagging me @paco_86733. I'll look through relevant sources and get back to you shortly.
​ 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) ​
### Answer Based on the available documentation, I can see that custom SIP headers for call transfers are supported and should allow dynamic variables [(1) ]() [(2) ]() . The documentation mentions that you can use dynamic variables for your custom SIP header values, so you can pass information extracted from the call to the receiving party [(2) ]() . However, there's an important limitation mentioned in the documentation: for cold transfer with transferee number, it uses SIP REFER to transfer the call, and different telephony providers may or may NOT honor the custom SIP headers in the REFER request . Specifically, 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 documentation doesn't provide specific troubleshooting steps for dynamic variable substitution issues in custom SIP headers during transfers. I'd recommend checking: 1. Whether you're using cold transfer with transferee number (which may not work with some providers) 2. Your transfer type configuration (cold vs warm) [(1) ]() For more detailed assistance with this specific dynamic variable substitution issue, you might want to contact support directly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
p
@AI Evy how to get "call_summary" always in spanish?
a
Thanks for the follow-up, @paco_86733. I'll get back to you soon.
### Answer Based on the available sources, I can see that getting the call summary in Spanish (or other languages) is a common question. The documentation shows that you can use post-call analysis to customize the language of extracted information [(1) ]() . You can configure a custom post-call analysis field using Text Analysis to get a Spanish summary . Here's how to set it up: 1. Navigate to your agent's Post-Call Analysis tab 2. Choose "Text Analysis" as the analysis type 3. Configure it with: - **Name**:
spanish_call_summary
- **Description**:
Provide a detailed summary of the call in Spanish
- **Format Example**: Include an example in Spanish of how you want the summary formatted From the community discussions, one user confirmed that "setting a post call variable seems to work" for getting summaries in different languages [(2) ]() . Another community member suggested using external automation tools like Make.com with OpenAI to translate the summaries [(3) ]() . The post-call analysis configuration supports custom analysis data that will be available after the call ends [(4) ]() , allowing you to extract information in the specific format and language you need.
​ To learn more, see the sources I considered: [[1] Define the information you want to extract](https://docs.retellai.com/features/post-call-analysis-create) [[2] Translated call_summary?](https://discord.com/channels/1186424376300679209/1276189025283346533) [[3] Call Summary in french ?](https://discord.com/channels/1186424376300679209/1349335627040297032) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the feedback, glad I was helpful.