Twilio Changelog | Sep. 07, 2023
ACTION REQUIRED: Twilio Voice Media IP Migration Production Traffic Opt-In
Effective October 10, 2023, Twilio will permanently change the public media IPs and expand the port ranges for Elastic SIP Trunking calls, Programmable SIP calls, Voice SDK calls, Flex calls, and SIPREC sessions in all regions.
If you’ve already updated your network infrastructure to allowlist the full IP and port ranges and made test calls for your Twilio applications, you can now enable your accounts for production traffic.
If you’ve updated your network infrastructure to allowlist the full IP and port ranges and made test calls for your Twilio applications, you can enable your accounts for production traffic immediately.
If you don’t want to opt-in your traffic right now, you still need to update your network infrastructure to allowlist the full IP and port ranges before September 26, 2023, following the steps below:
- Add 168.86.128.0/18 to your firewall rules.
- Enable UDP from Twilio using ports 10000-60000.
Then, place test calls for your Twilio application using one of these methods:
Enable your accounts to use the new ranges for all Voice product traffic. Then, during a maintenance window, use a sub account or production account to test calls.
Test Voice SDK and Flex calls using Twilio's Network Test tool; it now has an option that uses the new IP and port ranges.
Next, after you have validated that your network infrastructure has been updated and that two-way audio is present on calls placed using the new IP and port ranges, you can enable your accounts for production traffic.
Lastly, keep old IP and port ranges open in your infrastructure until October 10, 2023; these ranges won’t be able to accept or send traffic after this time, but they need to stay open until the migration is complete.
If you don’t take action by September 26, 2023, when 1% of traffic will be migrated to the new range, you will experience one-way audio and dropped calls. If you haven’t allowlisted the full IP and port ranges before the migration, all calls will fail after October 10, 2023.