https://retellai.com/?utm_source=discord&utm_medium=seo logo
any idea why transfer to certain numbers sometimes...
# ❓・ai-evy-support
j
@AI Evy any idea why transfer to certain numbers sometimes suceeds and sometimes fails
a
Thanks for tagging me @junkshaorou_97778. I'll look through relevant sources and get back to you shortly.
### Answer Transfer issues can occur for several reasons based on the documentation and reported cases: Common disconnection reasons for transfers include: [(1) ]() -
invalid_destination
- the number dialed is invalid -
dial_busy
- the number dialed is busy -
dial_no_answer
- the number dialed did not answer -
dial_failed
- dialing failed with no or unknown sip error code -
marked_as_spam
- the number dialed is marked as spam -
user_declined
- user declined the call Specific issues reported by users include: E.164 format validation errors, where the system reports "Transfer destination number is not a valid e.164 number" even when the number appears correctly formatted [(2) ]() SIP error 486 indicating the destination number is busy, even when it shouldn't be [(3) ]() SIP error 400 with "Invalid P-Asserted-Identity" messages [(4) ]() To troubleshoot transfer issues: [(5) ]() 1. Check the call history and detailed log for the disconnection reason and SIP error code 2. Verify your telephony configuration is correct 3. Ensure the destination number can accept calls For spam-related issues: When numbers experience high outbound call volume without warmup or have low pickup rates, they might be marked as spam by carriers . Solutions include purchasing new numbers with proper warmup, increasing pickup rates, or registering with spam remediation features
​ To learn more, see the sources I considered: [[1] Debug call disconnection](https://docs.retellai.com/reliability/debug-call-disconnect) [[2] URGENT!! My clients call transfers were working but just stopped working all of a sudden](https://discord.com/channels/1186424376300679209/1369916767161421874) [[3] Call Transfer unsuccessful](https://discord.com/channels/1186424376300679209/1412381041133355108) [[4] Support Request - Problems with call transfers](https://discord.com/channels/1186424376300679209/1430263227853307917) [[5] Debug outbound connection issues](https://docs.retellai.com/reliability/debug-outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy call history in GUI?
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer The call history is available through the Session History dashboard in the Retell AI GUI [(1) ]() . To access it: 1. Navigate to the dashboard 2. Select the "Call History" or "Chat History" tab The Session History dashboard provides a comprehensive view of all your calls and their statuses . You can: - Filter sessions - The dashboard offers powerful filtering capabilities to help you analyze your call and chat sessions . When investigating issues, filtering for unsuccessful sessions can help identify patterns in failure reasons and troubleshoot problems more effectively - Customize columns - Personalize your view of the history table by clicking the "Customize Field" button in the top-right corner and selecting or deselecting columns to show/hide **Storage duration**: Session history and recordings are stored indefinitely . However, all session history and recordings will be permanently deleted if you choose to delete your account . If you encounter issues accessing the Call History page (like application errors) , try clearing your cache and cookies and retry [(2) ]() .
​ To learn more, see the sources I considered: [[1] Monitor sessions via dashboard](https://docs.retellai.com/features/session-history) [[2] Error accessing Call History on dashboard.](https://discord.com/channels/1186424376300679209/1423441711287369778) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy call summary says "the transfer was unsuccessful multiple times due to permission issues"
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer ### Answer When you see "transfer was unsuccessful multiple times due to permission issues" in your call summary, this typically indicates telephony-level permission problems [(1) ]() . For call transfer failures, the most common causes are: **Telephony issues**: Call transfer is similar to placing an outbound call, and the reason it failed is similar to the reason why an outbound call is not successful . The SIP connection log is available in the call logs and is useful to understand the failure reason . To troubleshoot permission-related transfer failures: 1. Check your agent configuration - Confirm that you've added the transfer_call function to your agent's function list 2. Verify transfer conditions - Update your agent's prompt to clearly define transfer conditions and ensure the transfer_call function description is specific and unambiguous 3. Review SIP connection logs - The SIP connection log in your call logs will provide specific details about the permission failure **Important limitation**: Call transfer is only supported for phone calls, not web calls . For detailed troubleshooting steps specific to your agent type, refer to the [Function Calling Guide](build/single-multi-prompt/function-calling) for single/multi-prompt agents or [Conversation Flow Transfer Setup](../build/conversation-flow/transfer-node) for conversation flow agents . The permission issues are typically at the telephony provider level rather than within Retell AI itself, so checking your SIP logs and telephony provider settings will be key to resolving this .
​ To learn more, see the sources I considered: [[1] Debug call transfer failure](https://docs.retellai.com/reliability/call-performance) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy we cannnot test Call transfer via web gui test feature?
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer That's correct - call transfer cannot be tested via the web GUI test feature [(1) ]() . The transfer call functionality only works during phone calls, not web calls . As stated in the documentation: "This feature only works during phone calls instead of web calls" . The transfer call tool is available for Retell numbers and imported numbers, but specifically requires an actual phone call connection . From the Discord discussions, this limitation has been confirmed by support staff who noted that "you can't use the transfer function on web" and "it has to be phone" [(2) ]() . To test call transfer functionality, you'll need to: 1. Make an actual phone call to your Retell AI agent 2. Trigger the transfer conditions during the phone conversation 3. Monitor the results through the call history dashboard The web GUI test feature is designed for testing conversational flows and responses, but telephony features like call transfer require the full phone infrastructure to function properly [(1) ]() .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] I ma having issues with call transfer, can someone assist.](https://discord.com/channels/1186424376300679209/1422682849827623072) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
> Verify transfer conditions - Update your agent's prompt to clearly define transfer conditions and ensure the transfer_call function description is specific and unambiguous @AI Evy about this, i have confirmed the agent actually goes to transfer node but it keeps coming back to previous node
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer Based on your description that the agent reaches the transfer node but returns to the previous node, this suggests the transfer itself is failing and the conversation flow is continuing rather than completing the transfer [(1) ]() . For Call Transfer Node configuration, ensure you have properly set up the following key settings : Transfer Target Configuration: - Set transfer number to either a number in e.164 format, or a SIP URI in the format of
sip:username@domain
- If using extension, ensure it contains only 0-9, '*', '#' characters Transfer Type Selection: Choose between cold transfer (call is transferred and that's it) or warm transfer (AI agent can detect if the other side is human, leave private messages, do three-way introduce, etc.) Caller ID Configuration: The telephony provider must support caller id override for this feature to work : - For warm transfer, it uses SIP DIAL with
from
and
P-Asserted-Identity
headers set to the user's number - For cold transfer, it uses SIP REFER, and it's up to the telephony provider to support caller id override - Retell Twilio numbers support showing user's number on both warm and cold transfer, Retell Telnyx numbers only support this when using SIP REFER via cold transfer - If caller id override is not supported, the transfer would fail For Warm Transfer Specific Settings: Configure the agent detection timeout - the maximum amount of time the AI agent will wait to determine whether the transfer target is a human . The caller is connected only if human detection succeeds within this timeframe, otherwise the transfer is marked as failed . The default timeout is 30 seconds . Since your agent is returning to the previous node, the transfer is likely failing due to one of these configuration issues or telephony
provider limitations .
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy but it sometims succeeds as well
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer The intermittent success/failure pattern you're experiencing is common with call transfers and typically indicates telephony provider-level issues rather than configuration problems with your Retell AI setup [(1) ]() . Common causes of intermittent transfer failures include: Caller ID Override Support Issues : - For warm transfer, Retell uses SIP DIAL and sets
from
and
P-Asserted-Identity
headers to the user's number - For cold transfer, it uses SIP REFER, and it's up to the telephony provider to support caller id override for SIP REFER - If caller id override is not supported, the transfer would fail Telephony Provider Limitations [(2) ]() : - Different telephony providers may or may not honor custom SIP headers in transfer requests [(3) ]() - The documentation explicitly mentions that some providers like Twilio may not honor custom SIP headers in REFER requests for cold transfers Network and Routing Issues [(4) ]() : - New disconnection reasons include
telephony_provider_unavailable
representing cases where the telephony provider is not available or have errors -
sip_routing_error
representing cases where there are loops or issues with the sip routing Suggested troubleshooting steps: 1. Check your call logs for specific SIP error codes during failed transfers [(1) ]() 2. Consider switching between cold and warm transfer types to see if one is more reliable 3. If using custom telephony with "dial to SIP URI" method, note that transfer functionality may be limited and you might need to implement custom transfer logic [(5
) ]() 4. For elastic SIP trunking setups, verify your telephony provider's transfer and caller ID override settings [(2) ]() The intermittent nature suggests the issue is likely at the telephony/carrier level rather than your Retell AI configuration, since the same setup works sometimes but not others.
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[2] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[3] Help on Twilio DID questions](https://retell.discourse.group/t/help-on-twilio-did-questions/24) [[4] Deprecating on 6/30/2025](https://docs.retellai.com/deprecation-notice/6-30) [[5] Custom Telephony call transfer support](https://discord.com/channels/1186424376300679209/1416421362909843647) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
@AI Evy do i need to add ACL in twilio termination settings?
a
Thanks for the follow-up, @junkshaorou_97778. I'll get back to you soon.
### Answer Based on the available sources, I don't have specific information about ACL (Access Control List) requirements for Twilio termination settings when integrating with Retell AI. The documentation shows the basic setup for importing phone numbers from Twilio using elastic SIP trunking [(1) ]() , but doesn't explicitly mention ACL configuration requirements. The import process involves providing the termination URI and optional authentication credentials :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.import({
 phone_number: '+14157774444',
 termination_uri: 'someuri.pstn.twilio.com',
}) ;
For Twilio elastic SIP trunk integration, the documentation mentions configuring authentication either via IP whitelisting or credential-based authentication [(2) ]() , but doesn't provide detailed ACL configuration steps. Given that you're experiencing intermittent transfer issues and the sources indicate that telephony provider configuration can affect transfer success [(3) ]() , ACL settings might be relevant to your setup. I'd recommend checking with Retell AI support directly about specific ACL requirements for your Twilio termination configuration, as this level of detail isn't covered in the available documentation.
​ To learn more, see the sources I considered: [[1] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[2] How to Choose the Right Telephony System in 2024 | Retell AI](https://www.retellai.com/blog/how-to-choose-the-right-telephony-system-in-2024) [[3] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.