https://retellai.com/?utm_source=discord&utm_medium=seo logo
I was using vapi which had automatically connected...
# ❓・ai-evy-support
a
@AI Evy I was using vapi which had automatically connected to my twilio phone number. I prefer Retell so created a trunk in twilio and transferred the number to the trunk. I imported the number in Retell and assigned it to an inbound call agent. However, when I tried to call the number, it just keep ringing.
a
Thanks for tagging me @andrewtraub. I'll look through relevant sources and get back to you shortly.
### Answer When inbound calls to your Twilio SIP trunk number keep ringing without connecting, the issue is typically with the origination setup in your Twilio elastic SIP trunk [(1) ]() . For inbound calls to work, you need to set up origination (inbound routing) with Retell's SIP server address as the origination SIP URI:
sip:sip.retellai.com
[(1) ]() [(2) ]() . Key steps to verify: 1. Check your Twilio trunk's origination settings - ensure you've specified Retell's SIP server address:
sip:sip.retellai.com
2. Verify the number is properly imported in Retell - when you imported the number, you should have provided the termination SIP URI (which ends with
.pstn.twilio.com
for Twilio) [(1) ]() [(3) ]() 3. Confirm an inbound agent is assigned - the number needs an
inbound_agent_id
bound to it for inbound calls to be accepted [(3) ]() [(4) ]() If calls don't show up in Retell's call history at all, the origination setup in Twilio is likely incorrect [(5) ]() . If calls appear in Retell but fail, check your Twilio call logs for specific error messages . For transport method, you can use TCP (recommended) , UDP, or TLS by appending the transport to the SIP server URL (e.g.,
sip:sip.retellai.com;transport=tcp
) [(2) ]() .
​ 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] Get Phone Number](https://docs.retellai.com/api-references/get-phone-number) [[5] Issue with Inbound Voice Agent](https://discord.com/channels/1186424376300679209/1413628905235021887) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
It seems like a twilio issue but I do have the origination URI set to sip:sip.retellai.com
@AI Evy In phone numbers, I have a number that is called "Inbound AAL" followed by the phone number. However, on the Agents page, it shows for the phone "undefined" followed by the phone number. Is this a bug or do I have the configuration wrong?