Asterisk cmd MeetMeCount

MeetMeCount

Synopsis

MeetMeCount(confno[|var])

MeetMe participant count

Description

Plays back the number of users in the specified MeetMe conference. If var is specified, playback will be skipped and the value will be returned in the variable.

Examples

You can limit the number of users in a conference with something like this:

[globals]
CONFMAX => 10 ; max persons in conference

exten => 8081,1,Macro(stdmeetme,8081))

[macro-stdmeetme]
; with limit to max number of persons in conference

exten => s,1,MeetMeCount(${MACRO_EXTEN}|count)
exten => s,2,Gotoif,$[${count} >= ${CONFMAX}]?103
exten => s,3,MeetMe(${MACRO_EXTEN})
exten => s,4,Goto(s|1)

exten => s,103,Background(conf-full)
exten => s,104,Hangup

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

MeetMeCount

Synopsis

MeetMeCount(confno[|var])

MeetMe participant count

Description

Plays back the number of users in the specified MeetMe conference. If var is specified, playback will be skipped and the value will be returned in the variable.

Examples

You can limit the number of users in a conference with something like this:

[globals]
CONFMAX => 10 ; max persons in conference

exten => 8081,1,Macro(stdmeetme,8081))

[macro-stdmeetme]
; with limit to max number of persons in conference

exten => s,1,MeetMeCount(${MACRO_EXTEN}|count)
exten => s,2,Gotoif,$[${count} >= ${CONFMAX}]?103
exten => s,3,MeetMe(${MACRO_EXTEN})
exten => s,4,Goto(s|1)

exten => s,103,Background(conf-full)
exten => s,104,Hangup

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Fri 12 of Oct, 2007 (13:02 UTC) by chandave
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+