Alessandro Russo
2008-Feb-18 22:18 UTC
[asterisk-users] Asterisk: how to limit h323 connections.
Hi to all, I would like to limit the numbers of inbound h323 connections for different extensions, for instance, I've the following rules in my dialplan: exten => 123,1,DIAL(H323/1100) exten => 234,1,DIAL(H323/2200) and I would like to limit to 5 the number of h323 connections for exten 123 e to 2 those for 234. The reason to limit the number of connectios is that these h323 connections are redirected to a MCU which accept all connections you put to, so I want to limit the number of connection that the MCU can accept for different extensions. There exist a simple way to do it? thx in advice! -- Alessandro R. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080218/24864c7a/attachment.htm
Jared Smith
2008-Feb-19 02:24 UTC
[asterisk-users] Asterisk: how to limit h323 connections.
On Mon, 2008-02-18 at 23:18 +0100, Alessandro Russo wrote:> I would like to limit the numbers of inbound h323 connections for > different extensions, for instance, I've the following rules in my > dialplan: > > exten => 123,1,DIAL(H323/1100) > exten => 234,1,DIAL(H323/2200) > > and I would like to limit to 5 the number of h323 connections for > exten 123 e to 2 those for 234.Use the GROUP() function to assign each call to a group (that corresponds to the extension), and then use the GROUP_COUNT function to count how many calls are currently connected to a particular extension. -- Jared Smith Community Relations Manager Digium, Inc.