[asterisk-dev] h323 channel and tcp/udp port ranges

Alex Samorukov ml at os2.kiev.ua
Thu Sep 25 18:43:02 CDT 2008


Hi.

While customizing firewall rules for my asterisk box I found that it
always uses ports range from 1024 to 65535 for the H.245 channels. While
looking into openh323 sources I found that there is a way to specify tcp
port range using SetTCPPorts functions. I tried to put it inside
MyProcess::Main(ast_h323.cxx) and this works correctly.

Now i want to create patch to allow user  change this values inside
h323.conf
I think that smth. like h245tcpstart and h245tcpend should be a good
options for this.

But also I found rtp.conf with rtpstart/rtpend settings for rtp, and now
i`m not sure, may be its better to place this settings here? This is the
reason why I decided to ask in maillist before creating the patch.




More information about the asterisk-dev mailing list