[Freeswitch-users] count
Tim St. Pierre
fs-list at communicatefreely.net
Fri Mar 4 22:36:07 MSK 2011
conference_list (api) will give you a list of members, (use the cli help
to figure these out). You would have to count them in your script logic.
You can also use mod_limit, set to an arbitrarily high value, then use
limit_usage to see the current count.
To have an adjustable maximum user limit after the conference starts,
you would have to have that threshold set in a database somewhere. Set
up your dialplan so the threshold is compared against the current number
of participants whenever someone calls into the conference room. If you
reduced the limit, it wouldn't kick anybody though, it would just keep
more people from coming in until the count got back down below the
threshold.
Hope that's helpful.
-Tim
Sam wrote:
> And how to specify the threshold for the conference on the fly when
> the someone hits the conference dial-plan.
>
> Regards
> Sam
>
> On Thu, Mar 3, 2011 at 10:17 AM, Sam <u2nsam at gmail.com
> <mailto:u2nsam at gmail.com>> wrote:
>
> Hello,
>
> Whats the command to get the participants count in the conference ?
>
> Rwgards
> Sam
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
More information about the FreeSWITCH-users
mailing list