change rtp port range

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,031
251
83
This is configured at the switch level, the file to look at is /etc/freeswitch/autoload_configs/switch.conf.xml

The parameters rtp-start-port and rtp-end-port are commented out because 16384-32768 are the default values. If you change anything in this file, you will need to restart FreeSWITCH.

The relevant documentation can be found here:
https://freeswitch.org/confluence/display/FREESWITCH/Switch.conf.xml
 
  • Like
Reactions: farhaadn

farhaadn

New Member
Sep 20, 2020
24
0
1
thank you and yes I know that, but I must change iptables rules for that
It would be better if there were settings to change the rtp ports that also changed the roles of the iptables
and you say there were not? am I right?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
2,728
481
83
Maybe but for 99.9% of people, there is absolutely no reason to need to change RTP ports.
 
  • Like
Reactions: farhaadn