Skip to contentSkip to navigationSkip to topbar
On this page

Voice Media IP Expansion Security FAQ



What is happening?

what-is-happening page anchor

Twilio is migrating our public Voice media connectivity to a new range of IPs and an expanded port range. Our previously published region-specific IP/port ranges will be decommissioned and will no longer send or accept Voice media traffic. Beginning on 23 January 2024 Twilio Voice Media IPs will use a single global range; 168.86.128.0/18 with a UDP port range 10000-60000.


When is this happening?

when-is-this-happening page anchor

Before the migration, on 5 December 2023, Twilio will perform a soft-launch of the new range where 1% of all calls will begin to use the new range for 24 hours. A week before the migration, on 16 January 2024, Twilio will perform a second 24 hour soft launch, this time with 20% of all calls using the new range. You will need to update your network infrastructure to ensure that you have allowlisted the full IP and port ranges before 5 December 2023 to avoid any impact. Old IP and port ranges will no longer accept or send traffic after this date but will need to be kept open in your infrastructure until that time. Failure to do so will result in one-way audio and dropped calls.


Which Twilio products are impacted by this change?

which-twilio-products-are-impacted-by-this-change page anchor

Elastic SIP Trunking, Flex, Programmable SIP, and Voice SDK (Android/iOS/JavaScript) calls, and SIPREC all utilize the public media IP/port ranges impacted by this change. If you or your customers use these methods to get calls into or out of Twilio, you will need to validate that the systems communicating with Twilio's media edge(s) have been updated.


Why does Twilio require voice customers to open so many IP addresses/UDP ports?

why-does-twilio-require-voice-customers-to-open-so-many-ip-addressesudp-ports page anchor

Due to the size of Twilio's Voice customer base and the growth of traffic on the platform, we have a large pool of IP addresses and a wide port range to provide reliability and scalability for the foreseeable future.


Isn't it a security risk for us to have so many IPs/Ports open?

isnt-it-a-security-risk-for-us-to-have-so-many-ipsports-open page anchor

It is a security risk to have any IPs/ports allowlisted. If an attacker can take over one IP or port from a given range they can take over others, so the threat doesn't increase with the number of IPs or ports open.

Additionally, this IP range is owned by Twilio and registered with ARIN. This is not an ephemeral IP range that is at risk of being recycled by our cloud providers and could potentially be used by another organization in the future; with this in mind it is Twilio's position that this is a security improvement over the previous paradigm, despite the larger range(s).


The size of the allowlist makes me nervous, you're asking us to blindly open our systems!?

the-size-of-the-allowlist-makes-me-nervous-youre-asking-us-to-blindly-open-our-systems page anchor

Every RTP media session is negotiated by one of a small number of trusted Twilio signaling edges. The IP/ports here refer to the Twilio media edge, you should allow UDP traffic to be sent and received from the published IP address ranges, but you do not need to open any additional IPs or ports on your side. The IP range is owned by Twilio and registered with ARIN, this is not an ephemeral IP range that is at risk of being recycled by our cloud providers and could potentially be used by another organization in the future; with this in mind it is Twilio's position that this is a security improvement over the previous paradigm.


Why doesn't Twilio offer region-specific/product-specific IP ranges?

why-doesnt-twilio-offer-region-specificproduct-specific-ip-ranges page anchor

The new media pool is not region- or product-specific by design. It allows Twilio to allocate IP addresses dynamically based on current capacity needs. For example, if there are traffic spikes in us1 Twilio can dynamically re-allocated unused capacity from au1 or sg1 which are likely to be dormant.


What are some security best practices customers can use to lower their risk?

what-are-some-security-best-practices-customers-can-use-to-lower-their-risk page anchor

Using secure RTP (Programmable SIP | Elastic SIP Trunking) will additionally lower the risk of RTP injection and hijacking attacks, as will disabling symmetric RTP on your SIP infrastructure unless it is absolutely necessary for NAT traversal.


Why don't other companies have such broad requirements?

why-dont-other-companies-have-such-broad-requirements page anchor

We can't speak for the decision making processes of other companies or their architectural designs, but we do see other companies with broadly similar requirements; Telnyx for example has a single non-regional /19 IP range, and Zoom Phone and Zoom Contact Center has a UDP port range of 20000-64000.


Why is Twilio doing this all at once?

why-is-twilio-doing-this-all-at-once page anchor

We are making changes to public media edges and private Interconnect media edges separately so there is some distribution of changes, but our thinking is to do a once-and-for-all change that migrates as much traffic as possible to the new media range to limit the number of discrete changes necessary to both customer and Twilio systems.


Why doesn't Twilio just use multiplexing or IP forwarding to reduce the number of IPs and ports that we need to receive traffic from?

why-doesnt-twilio-just-use-multiplexing-or-ip-forwarding-to-reduce-the-number-of-ips-and-ports-that-we-need-to-receive-traffic-from page anchor

Twilio does multiplexing and IP forwarding. The IP and port range requirements are based on our growth projections for the next ~10 years and take our multiplexing and IP forwarding capabilities into consideration.


This isn't going to work for us, we need to stay on the old IP addresses

this-isnt-going-to-work-for-us-we-need-to-stay-on-the-old-ip-addresses page anchor

Unfortunately, this is not an option. Twilio needs to increase the size of our media fleet to ensure the reliability, resiliency, scalability, and stability of our network. Twilio offers a Network Traversal Service which provides media relay capabilities using TURN for Voice SDK calls to reduce the number of IP addresses and ports required.

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.