Ticket #3331 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 2 years ago

Limit the number of users in a conference

Reported by: ukr-alex Assigned to: GameGamer43
Priority: minor Milestone: 2.8
Component: Conferences Version:
Keywords: Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Need add to "Conference Options" list box "Max participants" range 1..20.

Check count of participants before READPIN:
...
exten => TOOMUCHPARTICIPANTS,1,Playback(conf-full)
exten => TOOMUCHPARTICIPANTS,n,hangup
...
exten => s,n,MeetMeCount?(MEETME_ROOMNUM|count)
exten => s,n,Set(CONFMAX=10)
exten => s,n,Gotoif($[${count} > ${CONFMAX}]?TOOMUCHPARTICIPANTS)
...

Attachments

conferences.patch (7.7 kB) - added by GameGamer43 on 03/06/10 23:22:39.

Change History

10/26/08 16:53:44 changed by mbrevda

Hmm, this sounds like an interesting feature... Im sure a little motivation can get thing$ rolling...

08/18/09 16:57:10 changed by p_lindheimer

  • version deleted.
  • milestone changed from 2.6 to 3.0.

02/27/10 18:20:49 changed by p_lindheimer

This should be pretty straight forward. Here is the code that will enable it, the values just need to get set:

MAX_PARTICIPANTS = 0 means no limit:

First existing dialplan gets the following variable added for each conference based on the configuration settings:

exten => 8124,n,Set(MAX_PARTICIPANTS=3)

Next the STARTMEETME gets modified to look something like this, along with the MEETMEFULL extension:

exten => STARTMEETME,1,ExecIf($["${MEETME_MUSIC}" != ""],SetMusicOnHold,${MEETME_MUSIC})
exten => STARTMEETME,n,Set(GROUP(meetme)=${MEETME_ROOMNUM})
exten => STARTMEETME,n,GotoIf($[${MAX_PARTICIPANTS} > 0 && ${GROUP_COUNT(${MEETME_ROOMNUM}@meetme)}>${MAX_PARTICIPANTS}]?MEETMEFULL,1)
exten => STARTMEETME,n,MeetMe(${MEETME_ROOMNUM},${MEETME_OPTS},${PIN})
exten => STARTMEETME,n,Hangup
exten => MEETMEFULL,n,Playback(im-sorry&conf-full&goodbye)
exten => MEETMEFULL,n,Hangup

02/28/10 05:11:51 changed by GameGamer43

  • owner set to GameGamer43.

02/28/10 09:58:55 changed by p_lindheimer

  • milestone changed from Cut Line to 2.8.

03/06/10 23:22:39 changed by GameGamer43

  • attachment conferences.patch added.

03/08/10 23:45:56 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [9099]) closes #3331 adds maximum conference participants option, thanks Bryan from Schmooze

03/09/10 00:20:26 changed by mickecarlsson

(In [9100]) Re #3331 updated language files for all languages