[Asterisk-Users] Meetme with moderator

Bruce Marler bmarler at newwaycommunications.com
Fri Jun 4 21:26:56 MST 2004


Florian,All,

So I did what was noted below, here what I run into though, how do I set the
DB entry for moderator after the moderator hangs up. I just read the other
posts to the list about continuing after a hangup, but that is based on the
dial command and not meetme.

Here is what I have setup now for my simple testing, basically i dial 100 it
asks for conf # , if they dial 101 it sets moderator code to 1, if they dial
102 it checks it and lets them in if it is 1, unfortuatnely it stays 1 even
after the moderator hangups:

[conferences]

exten => 101,1,Answer
exten => 101,2,Wait(1)
exten => 101,3,DBput(Moderator/55555=1)
exten => 101,4,Meetme(55555)
exten => 101,6,Hangup

exten => 102,1,Answer
exten => 102,2,Wait(1)
exten => 102,3,DBget(55555Admin=Moderator/55555)
exten => 102,4,Gotoif($[${55555Admin} = 1]?55555,1:5550001:1)

exten => 100,1,Answer
exten => 100,2,Wait(1)
exten => 100,3,DigitTimeout,5
exten => 100,4,ResponseTimeout,8
exten => 100,5,BackGround(enter-conf-call-number)
exten => 100,6,Waitexten(20)
exten => 100,7,Goto(100,5)


exten => 55555,1,Meetme(55555)
exten => 55555,2,hangup

> -----Original Message-----
> I have been beating my head against a wall trying to figure
> out how I would implement a separate moderator code and
> participant code for the same conference using meetme, the
> deal is I dont want the participants to be able to join until
> the moderator is in the conference.
>
> Is it possible to do this using the apps as they are , or is
> their a way to use an Agi script, is that the only way?

Simple extension logic is enough to do this:

>From a certain extension or with a special pincode or whatever, have
moderator access. Be sure to set a database entry (/MMModerator/Roomnr/ = 1)
before accessing the MeetMe.

For all others, first check this database entry. Only access MeetMe if the
flag is set.






More information about the asterisk-users mailing list