Interesting… I never considered the implications of using UDP vs. TCP. Is there
any way to separate internal (i.e. LAN) RTP ports vs. external (i.e. WAN) RTP
ports? In this way I could limit the number of open ports for my SIP trunk, but
increase the number of RTP ports so that I never have a problem no matter how
many extensions I add.
cheers,
S.
--
Shamus Rask
> Message: 3
> Date: Tue, 28 Feb 2012 21:21:37 -0600
> From: Lonnie Abelbeck <li...@lonnie.abelbeck.com
> (mailto:li...@lonnie.abelbeck.com)>
> Subject: Re: [Astlinux-users] RTP ports - number required
> To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net
> (mailto:astlinux-users@lists.sourceforge.net)>
> Message-ID: <eb7697ae-6b59-4a0a-9041-a1404b7cd...@lonnie.abelbeck.com
> (mailto:eb7697ae-6b59-4a0a-9041-a1404b7cd...@lonnie.abelbeck.com)>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Shamus,
>
> I'm glad you solved your own problem. Yes, the dynamic, connectionless nature
> of RTP is not simple math as you had hoped.
>
> I've give you one example, since RTP is over UDP/IP there is no 'connection
> state' as TCP/IP has, so when a SIP call terminates, the firewall maintains
> the RTP 'conntrack' for 3 minutes and the network stack for some period of
> time as well, since there is no way to signal that UDP is 'done', it simply
> times out. Given that, it is easy to see how a small RTP range could fill-up
> and appear 'busy' to asterisk.
>
> I'm sure others here could explain better than I, nevertheless you need extra
> headroom for your RTP range, greater than simple math would suggest. Given
> that the default rtp.conf range is 10000, you can make it much, much smaller,
> but I'd probably set it at least 128 (rtpend-rtpstart). I use 256.
>
> Lonnie
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.