https://retellai.com/?utm_source=discord&utm_medium=seo logo
Got an email about our sip trunks and changing it ...
# ❓・ai-evy-support
c
@AI Evy Got an email about our sip trunks and changing it to sip.retellai.com. We use Twilio and we have the Elastic SIP Trunk on there, what do I need to do? Its currently sip:....sip.livekit.cloud I just need to update that sip url correct?
a
Thanks for tagging me @Ciaran. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Connect a Twilio number to Retell with elastic SIP trunking](https://docs.retellai.com/deploy/twilio) [[2] Connect Retell voice agents to custom telephony](https://docs.retellai.com/deploy/custom-telephony) ​
### Answer For your Twilio elastic SIP trunk, the origination SIP URI (inbound setting) needs to point to Retell's SIP server address:
sip:sip.retellai.com
[(1) ]() [(2) ]() . If your trunk's origination URI is currently set to a
sip.livekit.cloud
address, you'll need to update it in Twilio to
sip:sip.retellai.com
instead [(1) ]() . This handles inbound calls flowing from Twilio into Retell [(2) ]() . Note that origination and termination are configured separately : - **Origination (inbound) **: calls from Twilio into Retell — set this to
sip:sip.retellai.com
[(1) ]() [(2) ]() - **Termination (outbound) **: calls from Retell out through Twilio — Twilio gives you a termination SIP URI, which you then supply to Retell when importing the number (not something you change on Twilio's side) So updating the origination URI in your Twilio trunk settings to
sip:sip.retellai.com
should be the main step here [(1) ]() . Your termination setup and number import into Retell should remain unaffected unless the email specifies otherwise. If you run into issues after switching, verify that your termination SIP URI doesn't contain extra spaces and that you're using a localized termination URI near your region .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy Priority 10 and weight 10? Origination SIP URI sip:sip.retellai.com Priority 10 Numeric range from 0 to 65535. Weight 10 Numeric range from 1 to 65535. Enabled enabled
a
Thanks for the follow-up, @Ciaran. I'll get back to you soon.
### Answer The documentation specifies to set the origination SIP URI to
sip:sip.retellai.com
for inbound calls [(1) ]() , but it doesn't specify what priority or weight values to use for that trunk origination setting. I don't have documented information on the correct Priority or Weight numbers for this Twilio configuration field. Since these are Twilio-side trunk settings, I can't confirm specific values from the sources available to me. Check out these potentially useful sources: [Connect a Twilio number to Retell with elastic SIP trunking]() , [Elastic SIP Trunk Busy Signal]() Would you like a general answer based on my broader knowledge instead?
​ To learn more, see the sources I considered: [[1] Connect a Twilio number to Retell with elastic SIP trunking](https://docs.retellai.com/deploy/twilio) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.