https://retellai.com/?utm_source=discord&utm_medium=seo logo
How does call transfering work, do I need to provi...
# ❓・ai-evy-support
d
@AI Evy How does call transfering work, do I need to provide a SIP url or can i just provided a normal number, I am from New Zealand, can I provided a normal nz number
a
Thanks for tagging me @debman. I'll look through relevant sources and get back to you shortly.
### Answer For call transfers in Retell AI, you can use either a normal phone number or a SIP URI [(1) ]() [(2) ]() . The transfer destination can be set to either a number in e.164 format or a SIP URI in the format
sip:username@domain
[(2) ]() . For normal phone numbers, you should use the E.164 format (e.g., +64XXXXXXXXX for New Zealand numbers) [(1) ]() [(2) ]() . You can also use dynamic variables that get substituted at runtime [(2) ]() . Retell AI supports two types of transfers [(1) ]() [(2) ]() : - **Cold transfer**: The call is transferred to a destination number and that's it - **Warm transfer**: After the call is transferred, the AI agent attempts to detect if the other side is a human, then speaks whisper and three-way messages However, there are some considerations for New Zealand numbers. Based on community reports, there have been issues with call transfers when both the SIP trunking number and transfer number are New Zealand (+64) numbers [(3) ]() . The transfer function may fail to connect even when the SIP trunking setup is capable of making calls . For cold transfers with transferee's number, your telephony provider must support SIP REFER and have the ability to set caller ID for SIP REFER [(1) ](
d/single-multi-prompt/transfer-call) [(2) ]() . Some providers require specific configuration to enable transfer to PSTN with transferee caller ID . If you encounter transfer failures, check that your telephony provider supports call transfers and that the outbound voice profile is active [(4) ]() .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Discord message from @.andrizzy on 2025-01-24](https://discord.com/channels/1186424376300679209/1294891368505937952/1332237577033355264) [[4] Discord message from @scrappysam on 2025-08-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1403025903570784440) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy could the issue be because i havnt verified my identify on retell
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer Based on the troubleshooting documentation for call transfer failures, identity verification is not mentioned as a requirement for call transfers to work [(1) ]() . The common causes for call transfer failures are typically related to: 1. Agent configuration issues - Missing transfer_call function implementation or unclear transfer conditions 2. Call type limitations - Call transfer is only supported for phone calls, not web calls 3. SIP connection problems - Similar to outbound call failures, where the SIP connection logs show the failure reason From the Discord thread you're referencing, users are experiencing transfer failures with the status "Transfer call cannot be completed, maybe the other side did not pick up" [(2) ]() . This suggests the issue is more likely related to the receiving end not answering or SIP connectivity problems rather than identity verification . The troubleshooting steps recommend checking your agent's transfer_call function implementation and reviewing the SIP connection logs for the actual failure reason [(1) ]() . If the transfer is triggered but fails, it's similar to outbound call failure issues . I don't see identity verification mentioned as a prerequisite for call transfers in the available documentation. The issues appear to be more technical in nature related to SIP connectivity or agent configuration.
​ To learn more, see the sources I considered: [[1] Debug call transfer failure](https://docs.retellai.com/reliability/call-performance) [[2] call transfer not working](https://discord.com/channels/1186424376300679209/1375514595804057690) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy im getting this error: 025-08-14 10:14:52.210 call_4dc8bd58e9d1d4710b4b6b3dd7f info: custom sip headers {} 2025-08-14 10:14:52.747 call_4dc8bd58e9d1d4710b4b6b3dd7f error: Error transferring call via SIP REFER, SIP status code: undefined SIP error category: user_no_answer Error: twirp error unknown: call transfer failed 2025-08-14 10:14:52.748 call_4dc8bd58e9d1d4710b4b6b3dd7f info: transfer call result false 2025-08-14 10:14:52.748 call_4dc8bd58e9d1d4710b4b6b3dd7f info: Received result for tool: 7216c8d3efd2d234 transfer_call Result: {"status":"Transfer call cannot be completed, the other side did not pick up. Please inform the customer that the transfer did not go through and offer to try again or assist them directly."}
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer The error you're encountering indicates a SIP REFER transfer failure with an undefined SIP status code and "user_no_answer" category [(1) ]() . This specific error means the call was canceled or timed out, and no explicit SIP status was returned, so the system reports an internal Twirp cancellation . Based on the troubleshooting steps for outbound connection issues, you should first check the call history and detailed log, which contains the disconnection reason, the SIP error code, and the error message [(2) ]() . In most cases, this would be enough to identify the root cause . For call transfer issues specifically, if you're using custom telephony, you should double check your configuration and make sure you imported the right information . If the configuration is not correct, delete the imported number and re-import . If that does not solve it, please check with your telephony provider to see what's the error on their side . If you're using numbers purchased from Retell, make sure the destination number can accept the call . Currently, numbers purchased from Retell can only make calls to US numbers . The "SIP REFER did not go through" error has been reported by other users and appears to be intermittent rather than affecting all calls [(3) ]() . For cold transfers with transferee's number, your telephony provider must support SIP REFER and have the ability to set caller ID for SIP REFER [(4) ]() . Additional troubleshooting steps include: - Check timeouts, client-side cancellation logic, and SIP logs to diagnose where the flow stops [(1) ](
186424376300679209/1400106509257408532) - Adding fallback logic or retries for user_no_answer cases can improve reliability - Verify the destination number format is exactly E.164 format [(4) ]() - Check if you can make regular outbound calls to the same destination number
​ To learn more, see the sources I considered: [[1] SIP error - help](https://discord.com/channels/1186424376300679209/1400106509257408532) [[2] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[3] Transfer Call (Transferree’s Number)](https://discord.com/channels/1186424376300679209/1362046572766040075) [[4] Discord message from @scrappysam on 2025-08-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1403025903570784440) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy this is the entire detailed log, give me clear and concise descrptions in order to fix this: 2025-08-14 10:14:02.796 call_4dc8bd58e9d1d4710b4b6b3dd7f info: Starting call: call_4dc8bd58e9d1d4710b4b6b3dd7f 2025-08-14 10:14:14.860 call_4dc8bd58e9d1d4710b4b6b3dd7f info: E2E latency for this turn: 1547 2025-08-14 10:14:30.104 call_4dc8bd58e9d1d4710b4b6b3dd7f info: E2E latency for this turn: 1112.0009765625 2025-08-14 10:14:38.172 call_4dc8bd58e9d1d4710b4b6b3dd7f info: E2E latency for this turn: 1590 2025-08-14 10:14:49.282 call_4dc8bd58e9d1d4710b4b6b3dd7f info: E2E latency for this turn: 1550 2025-08-14 10:14:52.203 call_4dc8bd58e9d1d4710b4b6b3dd7f info: Calling tool: transfer_call Arguments: {"execution_message":"Transferring you now to a team member who can assist further."} 2025-08-14 10:14:52.210 call_4dc8bd58e9d1d4710b4b6b3dd7f info: custom sip headers {} 2025-08-14 10:14:52.747 call_4dc8bd58e9d1d4710b4b6b3dd7f error: Error transferring call via SIP REFER, SIP status code: undefined SIP error category: user_no_answer Error: twirp error unknown: call transfer failed 2025-08-14 10:14:52.748 call_4dc8bd58e9d1d4710b4b6b3dd7f info: transfer call result false 2025-08-14 10:14:52.748 call_4dc8bd58e9d1d4710b4b6b3dd7f info: Received result for tool: 7216c8d3efd2d234 transfer_call Result: {"status":"Transfer call cannot be completed, the other side did not pick up. Please inform the customer that the transfer did not go through and offer to try again or assist them directly."} 2025-08-14 10:15:02.779 call_4dc8bd58e9d1d4710b4b6b3dd7f info: E2E latency for this turn: 1297 2025-08-14 10:15:08.560 call_4dc8bd58e9d1d4710b4b6b3dd7f info: Ending call: call_4dc8bd58e9d1d4710b4b6b3dd7f
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer Based on your detailed log, here are the clear and concise steps to fix the transfer call issue: ## Root Cause Analysis Your log shows a SIP REFER transfer failure with "user_no_answer" error category [(1) ]() . The transfer call was triggered correctly but failed at the telephony provider level. ## Immediate Steps to Fix ### 1. Verify Transfer Configuration Check your transfer call tool configuration [(2) ]() : - Ensure the destination number is in proper E.164 format (e.g., +64XXXXXXXXX for New Zealand) - Confirm you're using either a static number or SIP URI format ### 2. Check Telephony Provider Settings If using custom telephony, verify your provider supports [(1) ]() : - SIP REFER functionality - Call transfers to PSTN - Outbound voice profile is active For cold transfers with transferee's number, your telephony provider must support SIP REFER and have the ability to set caller ID for SIP REFER [(2) ]() . ### 3. Test Basic Connectivity - Try making a regular outbound call to the same destination number to verify it can accept calls [(1) ]() - If using numbers purchased from Retell, note they can only make calls to US numbers ### 4. Provider-Specific Configuration If using Telnyx, ensure [(3) ]() : - Your elastic SIP trunk supports call transfers - Outbound voice profile is properly configured - Transport method is set to TCP ### 5. Troubleshoot Further If the above steps don't resolve the issue [(1) ]() : - Double check your configuration and re-imp
ort the number if needed - Contact your telephony provider to check their logs for the specific error - Verify the destination number can actually receive transferred calls The "user_no_answer" error suggests either the destination didn't pick up or your telephony provider blocked the transfer operation [(4) ]() .
​ To learn more, see the sources I considered: [[1] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[3] Telnyx](https://docs.retellai.com/deploy/telnyx) [[4] Discord message from @scrappysam on 2025-08-07](https://discord.com/channels/1186424376300679209/1186462578310910112/1403025903570784440) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy Regarding step 2 do i set caller id as transferer or transferee, I am using a NZ number i brough on Twilio.
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer For Twilio with a New Zealand number, you should set the caller ID as Transferor (your Twilio number) [(1) ]() . Based on community reports from users with similar issues, when using Twilio for call transfers, you should "Change Caller ID to Transferor (your Twilio number) or enable Clip No Screening if using Transferee" . Additionally, make sure "Geo permissions are enabled for the target country" . For cold transfers with transferee's number, the documentation notes that "Different telephony providers may or may NOT honor the custom SIP headers in the REFER request. Twilio for example, 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" [(2) ]() . There's also a known regulatory issue with EU-based numbers where SIP REFER transfers may not work due to pricing regulations when the Elastic SIP trunk is bound to Retell (located in the US) [(1) ]() . Recommended Twilio Configuration: - Set Caller ID to Transferor (your Twilio number) - Enable geo permissions for New Zealand - Ensure SIP REFER is enabled - Enable PSTN Transfers If you continue having issues with transferee caller ID, this appears to be a limitation with Twilio's SIP REFER implementation for international numbers [(1) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Transfer_call with Twilio number](https://discord.com/channels/1186424376300679209/1386317647662157914) [[2] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) [[3] Discord message from @viola08384 on 2025-02-28](https://discord.com/channels/1186424376300679209/1294891368505937952/1345015364622487693) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer For your Twilio New Zealand number transfer issue, here are the specific configurations you need: Twilio SIP Trunk Settings: - Set Caller ID to Transferor (your Twilio number) [(1) ]() - Enable geo permissions for New Zealand - Enable SIP REFER - Enable PSTN Transfers Why Transferor is recommended: The documentation indicates that for cold transfers with transferee number, different telephony providers may or may NOT honor the custom SIP headers in the REFER request [(2) ]() . Twilio specifically 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 . Additional considerations for NZ numbers: There's a known regulatory issue where SIP REFER transfers may not work due to pricing regulations when the Elastic SIP trunk is bound to Retell (located in the US) and the call traverses through certain regions [(1) ]() . This has been reported specifically for EU countries and may affect other international numbers. Alternative approach: If you need the transferee's caller ID to show reliably, your options are limited with custom LLM implementations [(3) ]() . The feature to control caller ID display is currently not supported in custom LLM setups . Try setting the caller ID to Transferor first, as this is the most reliable configuration for Twilio international numbers.
​ To learn more, see the sources I considered: [[1] Transfer_call with Twilio number](https://discord.com/channels/1186424376300679209/1386317647662157914) [[2] Set & parse custom SIP headers](https://docs.retellai.com/build/telephony/sip-headers) [[3] display transferee's caller id during transfers](https://discord.com/channels/1186424376300679209/1345677574814306324) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy do i need to enablesymetric rtp or secure trunking in twilio. Other then that I have done everything you mentioned and its still not working why
a
Thanks for the follow-up, @debman. I'll get back to you soon.
### Answer Based on the available sources, symmetric RTP and secure trunking settings are not specifically mentioned as requirements for Retell AI call transfers with Twilio [(1) ]() . Since you've already configured the recommended settings (Caller ID as Transferor, geo permissions for New Zealand, SIP REFER enabled, and PSTN transfers enabled) and the transfer is still failing, here are additional troubleshooting steps: Check Your Twilio Configuration: - Verify your Termination SIP URI is correct and doesn't have spaces - Use a localized termination URI near your region - Double-check your username and credentials - ensure you're using the actual username, not the friendly name Known Issues with International Numbers: There's a documented issue where SIP REFER transfers may not work due to pricing regulations when the Elastic SIP trunk is bound to Retell (located in the US) [(2) ]() . This has been reported for international numbers including New Zealand numbers. Additional Troubleshooting: - Test making a regular outbound call to the same destination number to verify basic connectivity [(1) ]() - Check Twilio's call logs with RTP debugging enabled [(2) ]() - Ensure both sides use the same codec (e.g., G.711) - Confirm your outbound voice profile is active Alternative Solutions: If the SIP REFER method continues failing, you might need to consider using a SIP proxy like FreeSWITCH/Asterisk to handle transfers more reliably , or explore Method 2 from the custom telephony documentation where you handle the telephony integration yourself [(3) ]() . The persistent "user_no_answer
" error suggests this may be a telephony provider limitation rather than a configuration issue with your Retell AI setup.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] 🛑 SIP Call Transfer Issue – No Audio Received, Charged Despite RTP Timeout](https://discord.com/channels/1186424376300679209/1382138392862785597) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
t
@AI Evy What means the "E2E latency for this turn" in the detailled log
a
Thanks for the follow-up, @tacitus_16379. I'll get back to you soon.
### Answer The "E2E latency for this turn" in the detailed log refers to the end-to-end latency measurement for that specific conversation turn [(1) ]() . End-to-end latency measures the total time from when the user stops speaking until the AI agent begins responding . This includes processing time, network delays, and model inference time . In your log example, you can see values like: -
E2E latency for this turn: 1547
(1.547 seconds) -
E2E latency for this turn: 1112.0009765625
(1.112 seconds) -
E2E latency for this turn: 1590
(1.59 seconds) These measurements are logged for each turn of the conversation to help monitor the responsiveness of your AI agent . The Retell platform achieves latency as low as 600ms under optimal conditions [(2) ]() . You can also access detailed latency metrics through the API response, which includes percentile breakdowns (P50, P90, P95, P99) and component-specific latencies for LLM, TTS, knowledge base, and other processing steps [(3) ]() [(4) ]() .
​ To learn more, see the sources I considered: [[1] Check actual latency](https://docs.retellai.com/reliability/check-actual-latency) [[2] Check estimated latency](https://docs.retellai.com/reliability/check-estimated-latency) [[3] Update Call](https://docs.retellai.com/api-references/update-call) [[4] Get Call](https://docs.retellai.com/api-references/get-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.