https://retellai.com/?utm_source=discord&utm_medium=seo logo
I setup a sip trunk with Twilio
# ❓・ai-evy-support
k
@AI Evy I setup a sip trunk with Twilio. The calls are being answered by Retell, but then immediately hanging up. What could be the issue?
a
Thanks for tagging me @kevinstonepdx. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, here are the most common issues when calls are answered but immediately hang up with Twilio SIP trunks: Check Your Origination SIP URI [(1) ]() The origination SIP URI in your Twilio trunk must be set to
sip:sip.retellai.com
[(2) ]() [(3) ]() . A recent issue occurred where users had the old URI (
5t4n6j0wnrl.sip.livekit.cloud
) which caused calls to be answered but immediately hang up [(1) ]() . Verify Agent Assignment [(4) ]() Ensure an Agent is correctly assigned to the imported number . Without proper agent assignment, calls may connect but fail to proceed . *Check Termination Settings (for Outbound) * [(2) ]() If you're experiencing issues with outbound calls: - Verify your Termination SIP URI has no spaces - Use a localized termination URI near your region - Confirm your username and credentials are correct (the username is different from the friendly name) Review Your Elastic SIP Trunk Setup Make sure you've completed these steps: 1. Created the trunk with proper termination settings 2. Set up origination with Retell's SIP server address:
sip:sip.retellai.com
3. Configured authentication via IP whitelisting or username/password credentials 4. Imported the number to Retell with the correct termination SIP URI If the issue persists after checking these items, review the detailed logs from both Twilio and Retell to identify where the disconnect is occurring [(4) ]() .
​ To learn more, see the sources I considered: [[1] "No Answer" on Twilio for 10% of calls. Shows up as either 0:00 call or hang up inactivity on retell](https://discord.com/channels/1186424376300679209/1431111980131029062) [[2] Twilio](https://docs.retellai.com/deploy/twilio) [[3] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[4] SIP Trunk - Twilio](https://discord.com/channels/1186424376300679209/1430255602814287964) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.