[Asterisk-Users] Limit Number of user in Conference

Steven Critchfield critch at basesys.com
Wed Aug 20 05:15:56 MST 2003


On Wed, 2003-08-20 at 02:55, Florian Overkamp wrote:
> Citeren Chee Foong <cheefoong at inovas.com>:
> 
> > Hello, 
> > 
> > Is it possible to limit the number of user in a particular conference room? 
> > 
> > Foong
> 
> Hi,
> 
> I think the easiest way is to create a counter that adds one when a user joins 
> and subtracts when a user leaves or hangs up. A few simple AGI scripts could 
> do it. Just make sure you lock the counter when updating so as to avoid 
> miscounting when two channels join at the same time..

Problem with that is making sure that calls exit the conference and
passes through your exit AGI. 

This is why I submitted a patch some time ago to modify MeetMeCount to
set a variable to the number of users in the conference.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list