junkshaorou_97778
10/22/2025, 4:59 AMAI Evy
10/22/2025, 4:59 AMAI Evy
10/22/2025, 4:59 AMinvalid_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 featuresAI Evy
10/22/2025, 5:00 AMAI Evy
10/22/2025, 5:00 AMjunkshaorou_97778
10/22/2025, 5:00 AMAI Evy
10/22/2025, 5:00 AMAI Evy
10/22/2025, 5:00 AMAI Evy
10/22/2025, 5:00 AMAI Evy
10/22/2025, 5:00 AMjunkshaorou_97778
10/22/2025, 5:03 AMAI Evy
10/22/2025, 5:03 AMAI Evy
10/22/2025, 5:03 AMAI Evy
10/22/2025, 5:03 AMAI Evy
10/22/2025, 5:03 AMjunkshaorou_97778
10/22/2025, 5:05 AMAI Evy
10/22/2025, 5:05 AMAI Evy
10/22/2025, 5:05 AMAI Evy
10/22/2025, 5:05 AMAI Evy
10/22/2025, 5:05 AMjunkshaorou_97778
10/22/2025, 5:08 AMAI Evy
10/22/2025, 5:08 AMAI Evy
10/22/2025, 5:08 AMsip: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 telephonyAI Evy
10/22/2025, 5:08 AMAI Evy
10/22/2025, 5:08 AMAI Evy
10/22/2025, 5:08 AMjunkshaorou_97778
10/22/2025, 5:11 AMAI Evy
10/22/2025, 5:11 AMAI Evy
10/22/2025, 5:11 AMfrom 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 [(5AI Evy
10/22/2025, 5:11 AMAI Evy
10/22/2025, 5:11 AMAI Evy
10/22/2025, 5:11 AMjunkshaorou_97778
10/22/2025, 5:44 AMAI Evy
10/22/2025, 5:44 AMAI Evy
10/22/2025, 5:45 AMjavascript
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.AI Evy
10/22/2025, 5:45 AMAI Evy
10/22/2025, 5:45 AM