https://retellai.com/?utm_source=discord&utm_medium=seo logo
b
@AI Evy Hello! I’m trying to connect my twilio phone number to my retell account but it keeps hanging up and in logs it says user_hangup. Anyone know what Origination URI should I use??
a
Thanks for tagging me @blcksmith__. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) [[4] I’m trying to use a toll-free number (connected from Twilio through a SIP trunk)](https://retell.discourse.group/t/i-m-trying-to-use-a-toll-free-number-connected-from-twilio-through-a-sip-trunk/127) [[5] Call Disconnection Logging Discrepancy - Retell = User Hangup, Twilio = Caller Termination](https://discord.com/channels/1186424376300679209/1383741946865909840) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer For the Origination URI in your Twilio Elastic SIP Trunk, you should use:
sip:sip.retellai.com
[(1) ]() [(2) ]() This URI tells Twilio where to route inbound calls to Retell AI [(1) ]() . Setup checklist to resolve your issue: 1. Create Elastic SIP Trunking in Twilio - Set up Termination (for outbound calls) - Set up Origination with the Retell SIP URI above 2. Configure Origination correctly - In Twilio, go to your SIP Trunk → Origination - Add the Origination URI:
sip:sip.retellai.com
- Save the settings 3. Move your number to the SIP Trunk - Your Twilio number needs to be assigned to this Elastic SIP Trunk 4. Import the number into Retell - Provide your Termination SIP URI (from Twilio, typically ends with
.pstn.twilio.com
) [(1) ]() [(3) ]() - Include authentication credentials if you set them up Common issues causing "user_hangup": - Incorrect Termination SIP URI (check for spaces) [(1) ]() - Missing or incorrect authentication credentials - Number not properly moved to the SIP Trunk - Origination URI not set correctly Check your Twilio logs to see if calls are reaching the SIP trunk properly [(4) ]() . If you're still having issues after verifying these settings, the problem may be with your Twilio configuration rather than Retell [(5) ]() .