[Asterisk-Users] Re: Question about meetme app
Tony Mountifield
tony at softins.clara.co.uk
Sat Mar 18 09:02:15 MST 2006
In article <003501c64aa1$59320c00$0a01a8c0 at MIKE>,
Michael Gaudette <list at virtutel.ca> 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: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list