Twilio Changelog | Jul. 18, 2023
Media Streams IP Address Pool upcoming change
Effective November 16, 2023, Twilio will stop using the current IP pools for sending Media Streams’ media, and will begin sending Media Streams media from a broad range of publicly available AWS IPs, so that we can improve the flexibility, reliability, and scalability of our Voice products.
We’re giving advance notice to allow customers time to update your network infrastructure and applications, but before November 16, 2023, you must:
- Update your network infrastructure to stop allowlisting the old IP range used for U.S. Media Streams media:
(Traffic is secure web socket over TCP)
- Configure your firewall rules to allow secure websocket connections (TCP port 443) to their websocket servers from any public IP address.
You should also configure your application to validate the X-Twilio-Signature header, to verify that the media stream is coming from an authentic Twilio source, as described here: https://www.twilio.com/docs/usage/security#validating-requests
If customers do not update their network infrastructure, then forked media from Media Streams will not continue to be successfully delivered to your applications.