Hello, I need to limit the RTP ports used by an asterisk in a client, Actualy the range defined is from 10000 to 20000 udp ports. If I only have 10 local sip extension ?how many ports/range should I set up in /etc/asterisk/rtp.conf? Which is the way to calculate the rtp ports needed on an instalation? Thanks in advance, Voipcrazy.
In my installation, netstat usually indicates 4 ports per extension, so my assumption is that you would need 40 ports or a range of 10000-10039. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of voip crazy Sent: Monday, May 03, 2010 6:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] RTP ports Hello, I need to limit the RTP ports used by an asterisk in a client, Actualy the range defined is from 10000 to 20000 udp ports. If I only have 10 local sip extension ?how many ports/range should I set up in /etc/asterisk/rtp.conf? Which is the way to calculate the rtp ports needed on an instalation? Thanks in advance, Voipcrazy. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Mon, May 3, 2010 at 3:04 PM, Danny Nicholas <danny at debsinc.com> wrote:> In my installation, netstat usually indicates 4 ports per extension, so my > assumption is that you would need 40 ports or a range of 10000-10039. > > Sounds reasonable, I was going to suggest 100 would easily do, but anactual measured value is even better :) r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100503/e9afc758/attachment.htm
Hi!> In my installation, netstat usually indicates 4 ports per extension, > so my assumption is that you would need 40 ports or a range of > 10000-10039. > > Sounds reasonable, I was going to suggest 100 would easily do, but an > actual measured value is even better :)Be a bit careful: At least in the past Asterisk did not clear unused RTP/RTCP ports as expected. Also take transfers into account, i.e. phones that run more than 1 call in parallel. Philipp
On Mon, May 3, 2010 at 4:25 PM, Philipp von Klitzing < klitzing at pool.informatik.rwth-aachen.de> wrote:> > so my assumption is that you would need 40 ports or a range of > > 10000-10039. > > > > Sounds reasonable, I was going to suggest 100 would easily do, but an > > actual measured value is even better :) > > > In my installation, netstat usually indicates 4 ports per extension, > Be a bit careful: At least in the past Asterisk did not clear unused > RTP/RTCP ports as expected. Also take transfers into account, i.e. phones > that run more than 1 call in parallel. > > Incidentally, my router was limited to 20 ports to forward and I used10000-10020. For a three person company we never had problems. (Anecdotal, I know) r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100503/cca708ce/attachment.htm