Can I change the rtp ports and reduce the number of open ports?

Hi Guys can I reduce the number of rtp ports in freepbx because 10000-20000 is a very large number How ever only 5-6 extensions are using nat/external sip calls .

We do that to reduce the likelihood of attackers being able to snag your RTP sessions. It’s an “on purpose” thing.

You can, of course, reduce the RTP port range - if you decide to, don’t go more than 4:1 (10 extensions, 40 ports).