[asterisk-users] Asterisk: how to limit h323 connections.

Jared Smith jsmith at digium.com
Mon Feb 18 20:24:20 CST 2008


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.




More information about the asterisk-users mailing list