Twilio will be changing its IP port range along with their RTP port range.
Here is a link to their page for complete information: [Page]
NEW IP AND RTP FROM TWILIO
IP: 168.86.128.0/18
RTP: 10000-60000
I’ve updated my firewall rules to accept traffic from the IP and the RTP ports.
Do I also need to update the RTP Port Range section under the PBX to 10000-60000? It currently stands at the default 10000-20000 [Settings\Asterisk SIP Settings\RTP Settings].
I have grandstream gxp2170 phones and never set up anything related to RTP in them. Do I need to also configure the new RTP ranges to my phones if the ports in the PBX change from 10000-20000 to 10000-60000?
The defined SIP RTP port ranges are the ports on which the host will receive media. Asterisk will happily send media to whatever ports the far end advertises, which may not necessarily be within it’s own port range.
Twilio publishes it’s RTP range for those who firewall outbound traffic from the PBX.
Inbound RTP traffic to the PBX will only come over the ports specified in the Asterisk config. You don’t have to consider external host config when adjusting inbound routing rules.