https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can I set up a SIP trunk with IP-based authent...
# ❓・ai-evy-support
u
@AI Evy How can I set up a SIP trunk with IP-based authentication in Retell? My SBC will send the INVITE from a fixed IP instead of using username/password.
a
Thanks for tagging me @.andresds. I'll look through relevant sources and get back to you shortly.
### Answer To set up a SIP trunk with IP-based authentication in Retell, you'll need to configure your elastic SIP trunking to use IP whitelisting instead of username/password credentials [(1) ]() . For elastic SIP trunking, you need to configure your SIP trunk to accept Retell's outbound requests by either whitelisting IP addresses or creating authentication with username and password [(2) ]() . Since you want to use IP-based authentication, you'll need to whitelist Retell's IP addresses. Retell provides specific IP blocks for whitelisting: - IP block for United States traffic:
143.223.88.0/21
,
161.115.160.0/19
[(1) ]() When importing your phone number to Retell, the
sip_trunk_auth_username
and
sip_trunk_auth_password
fields become optional when using IP-based authentication [(3) ]() . You would only need to provide the
termination_uri
which uniquely identifies your elastic SIP trunk for outbound calls . For your SBC setup, you'll need to configure it to send INVITEs from your fixed IP address to Retell's SIP server:
5t4n6j0wnrl.sip.livekit.cloud
[(1) ]() . The transport methods supported are UDP, TCP, and TLS, with SRTP media encryption support . Note that currently there's no static IP address block for traffic outside of the US, but it's under development . If you need static IP addresses for regions outside the US or encounter setup difficulties, you can check out Retell's partner Jambonz, which supports static IP address and mutual TLS .
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Telnyx](https://docs.retellai.com/deploy/telnyx) [[3] Import Phone Number](https://docs.retellai.com/api-references/import-phone-number) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy How can I have my SBC added to Retell’s whitelist for IP-based SIP trunking? I already have the phone number and termination URI set, but I need to make sure Retell accepts INVITEs from my SBC. Also, is it necessary to specify a custom port (e.g., 5080), or will Retell accept SIP traffic on the default 5060 port?
a
Thanks for the follow-up, @.andresds. I'll get back to you soon.
### Answer Based on the available sources, I can see that the documentation covers SIP trunking setup with various providers like Twilio, Telnyx, and Vonage, but I don't have specific information about how to get your SBC's IP address added to Retell's whitelist or details about port configuration for custom SIP trunking setups. The sources show that for providers like Twilio, you can whitelist IP addresses or use credential-based authentication [(1) ]() , and that Retell's SIP server address is
5t4n6j0wnrl.sip.livekit.cloud
[(1) ]() [(2) ]() [(3) ]() . However, the specific process for getting your own SBC IP whitelisted by Retell isn't documented in these sources. From the community discussions, there are mentions of IP whitelisting challenges where users need to whitelist multiple IP addresses due to load balancing [(4) ]() , but this doesn't address your specific question about getting your SBC whitelisted on Retell's end. I don't have information about custom port specifications or whether Retell accepts traffic on non-standard ports in the available sources. For this specific technical configuration, I'd recommend: Visit [Contact Sales]() Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Twilio](https://docs.retellai.com/deploy/twilio) [[2] Telnyx](https://docs.retellai.com/deploy/telnyx) [[3] Vonage](https://docs.retellai.com/deploy/vonage) [[4] Whitelisting IP addresses - SIP](https://discord.com/channels/1186424376300679209/1346770899839225876) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy How can I submit my SBC’s IP to be added to Retell AI’s whitelist for IP-based SIP trunking authentication? Currently located in Mexico—what steps are needed?
a
Thanks for the follow-up, @.andresds. I'll get back to you soon.
### Answer Based on the documentation, I don't have specific information about the process for submitting your SBC's IP address to be added to Retell AI's whitelist for IP-based authentication [(1) ]() . However, there are some important considerations for your Mexico location. The documentation indicates that currently there's no static IP address block for traffic outside of the US, but it's under development . The available IP blocks are specifically for United States traffic:
143.223.88.0/21
,
161.115.160.0/19
. From community discussions, there's confirmation that there are no plans for a static IP for the SIP server, as it's distributed globally [(2) ]() . If you can use other means of authentication like SIP username and password, that would be the recommended approach . However, I understand you mentioned your SBC requires IP-based authentication. For your specific situation in Mexico with IP-based authentication requirements, the documentation suggests checking out Retell's partner Jambonz, which supports static IP address and mutual TLS [(1) ]() . This might be a viable solution for your SBC setup. For the specific process of getting your SBC IP whitelisted by Retell AI, I'd recommend: Visit [Contact Sales]() Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Websocket](https://discord.com/channels/1186424376300679209/1285782731787210832) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.