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. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
