Hello, I have defined that I want to receive audio (RTP) on port 11500 till 11954 (rtp.conf). The same range I have defined in my firewall. I now see that an IP-address gets blocked by my firewall because there are packets coming onto port 11955. How come the client sends audio on port 11955 when I clearly define in my SDP-body that I want to receive audio on port range 11500 till 11954 ? What makes the client choose this port number when it is not allowed ? Kind regards, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130913/7b071c3e/attachment.htm>
Normally you should open ports 10000-20000 udp On 9/13/2013 11:37 AM, Jonas Kellens wrote:> I now see that an IP-address gets blocked by my firewall because there > are packets coming onto port 11955.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130913/8a5aae77/attachment.htm>
In article <5232DCBC.20803 at telenet.be>, Jonas Kellens <jonas.kellens at telenet.be> wrote:> > I have defined that I want to receive audio (RTP) on port 11500 till > 11954 (rtp.conf). > > The same range I have defined in my firewall. > > I now see that an IP-address gets blocked by my firewall because there > are packets coming onto port 11955. > > > How come the client sends audio on port 11955 when I clearly define in > my SDP-body that I want to receive audio on port range 11500 till 11954 ? > > What makes the client choose this port number when it is not allowed ?An RTP connection typically uses a pair of adjacent ports. The even port for the RTP stream, and the next port up (odd) for RTCP reports. So when defining a port range, you should probably make the lower port number even and the upper port number odd. (so the default 10000-20000 is probably wrong too, and should be 10000-19999) It also means that you should allow at least twice as many ports as the number of simultaneous calls you want to handle. Cheers Tony -- Tony Mountifield Work: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org
Reasonably Related Threads
- (no subject)
- pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
- info about application not available asterisk 1.6.2.11
- pjproject 2.5.5 + asterisk-certified-13.8-cert1 : many Error loading module...undefined symbol
- Asterisk 11.23.0 on CentOS6 : how to get ICE support ?