dropmuse
12/03/2025, 12:12 AMAI Evy
12/03/2025, 12:13 AMAI Evy
12/03/2025, 12:13 AMAI Evy
12/03/2025, 12:13 AMsip:sip.retellai.com .
4. Import Number to Retell - After moving the number to your elastic SIP trunk, you must import it to Retell by supplying the termination SIP URI . If you set up auth via credentials, provide the username and password as well .
For Non-Elastic SIP Trunk Setup:
If you're using a non-elastic approach with webhooks, ensure your webhook endpoint is properly configured to dial the Retell SIP endpoint with the call ID [(2) ]() .
Additional Checks:
- Verify the phone number has an inbound_agent_id or outbound_agent_id configured depending on your use case [(3) ]()
- Check that your agent is properly set up and active
If you've verified all these settings and the issue persists, you may want to check the call logs in your Retell dashboard for more specific error details.AI Evy
12/03/2025, 12:13 AMAI Evy
12/03/2025, 12:16 AMdropmuse
12/03/2025, 12:16 AMAI Evy
12/03/2025, 12:16 AMuser_hangup as the disconnection reason but calls are ending immediately after answering, this could indicate a logging discrepancy between Retell and your telephony provider [(1) ]() .
For inbound calls, the user_hangup disconnection reason means the user hung up the call [(2) ]() . However, there's documented evidence of cases where Retell logs show user_hangup while Twilio logs indicate the call was ended by the caller (Retell) [(1) ]() .
To diagnose this issue:
1. Check Twilio call logs - Compare the disconnection reason in Twilio with what Retell shows . For inbound calls, the caller in Twilio logs refers to the user, not Retell .
2. Verify your configuration:
- Ensure your Twilio elastic SIP trunk origination is set to sip:sip.retellai.com [(3) ]()
- Confirm your termination SIP URI is configured correctly
- Check that authentication (IP whitelisting or credentials) is properly set up
3. Review call timeout settings - Verify your agent's timeout configuration isn't causing premature disconnections [(1) ]() .
If the issue persists and you believe there's a discrepancy between Retell and Twilio logs, you should check with Twilio support as well, since for inbound calls the disconnection could be on their end .AI Evy
12/03/2025, 12:16 AMAI Evy
12/03/2025, 12:16 AMdropmuse
12/03/2025, 12:18 AMAI Evy
12/03/2025, 12:18 AMAI Evy
12/03/2025, 12:18 AMAI Evy
12/03/2025, 12:18 AMAI Evy
12/03/2025, 12:18 AMdropmuse
12/03/2025, 12:21 AMAI Evy
12/03/2025, 12:21 AMAI Evy
12/03/2025, 12:21 AMAI Evy
12/03/2025, 12:21 AMAI Evy
12/03/2025, 12:21 AMsip:+441416735883@public-vip.de1.twilio.com) , there are several potential issues with your Twilio-Retell integration:
Configuration Issues to Check:
When connecting Twilio numbers to Retell AI through elastic SIP trunking, you need to ensure your Origination SIP URI in Twilio is set to Retell's SIP server address: sip:5t4n6j0wnrl.sip.livekit.cloud [(1) ]() . For toll-free numbers specifically, you should specify the transport protocol: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp .
The SIP URI you're seeing (public-vip.de1.twilio.com) suggests the call routing may not be properly configured to reach Retell's infrastructure .
Common Disconnection Reasons:
When outbound calls show status not_connected, the disconnection_reason field tracks why the connection failed [(2) ]() . Common reasons include:
- telephony_provider_permission_denied - SIP trunk authentication failed
- telephony_provider_unavailable - telephony provider errors
- sip_routing_error - loops or issues with SIP routing
- dial_failed - SIP error codes unavailable or unknown error
Troubleshooting Steps:
1. Check your Twilio elastic SIP trunk configuration and verify the Termination SIP URI doesn't have spaces [(1) ]()
2. Confirm authentication is properly set up (IP whitelisting or credentials)
3. After moving the number to your elastic SIP trunk, ensure you imported it to Retell by supplying the termination SIP URI
4. Review the call history and detailed log in Retell's dashboard - it contains the disconnection reason, SIP error code, and error message [(2) ](AI Evy
12/03/2025, 12:21 AMAI Evy
12/03/2025, 12:33 AMdropmuse
12/03/2025, 12:33 AMAI Evy
12/03/2025, 12:34 AMuser_hangup as the disconnection reason, but the call is actually dropping while the agent is speaking or immediately after answering [(1) ]() [(2) ]() .
This is a documented discrepancy:
According to the disconnection reasons documentation, user_hangup with call status ended means "Expected behavior, user hangup the call" [(3) ]() . However, community reports show this same disconnection reason appears when calls drop unexpectedly during agent speech [(1) ]() [(2) ]() .
Key diagnostic steps:
1. Check actual call behavior - If Twilio shows "call failed" but Retell shows user_hangup, there's a mismatch in how the disconnection is being logged .
2. Review your SIP configuration - The SIP URI you mentioned (sip:+441416735883@public-vip.de1.twilio.com) suggests the call may not be routing correctly to Retell's infrastructure. Your Twilio origination should point to Retell's SIP endpoint [(4) ]() .
3. Verify authentication - For inbound calls through Twilio elastic SIP trunk, ensure your termination SIP URI and authentication (IP whitelisting or credentials) are properly configured .
Other possible disconnection reasons to rule out:
- error_llm_websocket_lost_connection - LLM websocket connection broke during the call [(3) ]()
- error_no_audio_received - Retell hasAI Evy
12/03/2025, 12:34 AMtelephony_provider_unavailable - The telephony provider is unavailable
Since Twilio shows the call as failed but Retell logs it as user_hangup, this points to a configuration or connectivity issue between Twilio and Retell rather than an actual user action [(1) ]() [(2) ]() .AI Evy
12/03/2025, 12:34 AMAI Evy
12/03/2025, 12:34 AM