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 cmd MeetMe: The MeetMe conferencing application
- Asterisk config meetme.conf: Configuration
- Asterisk timer: Descriptions of timers needed for Meetme to work
- Asterisk multi-language: Localizing prompts
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ