How to limit RTP ports

Basildane
Posts: 213
Member Since:
2007-06-30

I am having firewall config problems. We currently have the trixbox wide open on the firewall. Reason is, Asterisk seems to use random udp ports for rtp. I have rtp.conf set to a block of rtp ports that I have port forwarded, however, outgoing calls use a random port that I don't seem to have control over.

Can anyone point me in the right direction?