In article <[EMAIL PROTECTED]>,
Michael Gaudette <[EMAIL PROTECTED]> wrote:
> Thanks Jonathan.
> 
> In this case, how do you actually mute everybody but the admins?
> 
> Imagine giving a training to 100 people, and not wanting anybody to say
> anything except the trainer...

Here's an idea.

Have the leader enter MeetMe with the X option. In the same context, have
an extension number, say 1, which calls MeetMeAdmin with the N flag, which
means Mute All except Admins. It then puts him back into the MeetMe straight
away. You probably want to use the 'q' flag to suppress the enter and leave
sounds.

[meetme-admin]
exten => _X.,1,Set(CONF=${EXTEN})
exten => _X.,2,Answer
exten => _X.,3,MeetMe(${CONF}|daAqX)
exten => _X.,4,Hangup

exten => 1,1,MeetMeAdmin(${CONF}|N)
exten => 1,2,MeetMe(${CONF}|daAqX)
exten => 1,3,Hangup

exten => 2,1,MeetMeAdmin(${CONF}|n)
exten => 2,2,MeetMe(${CONF}|daAqX)
exten => 2,3,Hangup

[meetme-others]
exten => _X.,1,Set(CONF=${EXTEN})
exten => _X.,2,Answer
exten => _X.,3,MeetMe(${CONF}|dqwx)
exten => _X.,4,Hangup

So with the above, an admin ought to be able to press '1' to mute everyone
except the admins, and '2' to unmute them again.

Further functionality can be added using similar techniques.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to