All, 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? Bruce
Hi Bruce, I am doing smth similar in one appli. just using MeetMecount inside an AGI script, btw I know when there is someone in the conference and I can let the user go in or not! Thr trick is to save the result in a variable and then use "GET VARIABLE" to get the nb user! /-------- snprintf( tmp_command, 200, "EXEC MeetMeCount %d|count", room_number); ... res = run_command("GET VARIABLE count"); ---------/ I can give you more input if you need, I didnt want to past a lot of source code in the mailing-list. Hope it helps, Kind regards, Areski On Wed, 2004-06-02 at 16:57, Bruce Marler wrote:> All, > > 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? > > Bruce > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi,> -----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:
Bruce Marler wrote:> All, > > 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?Maybe you could use app_groupcount to check if any admins are logged in, since they usually call on another extension... If that doesn't work, someone could write an app that checks how many admins that are logged in - now that we have a working admin menu and functionality in meetme. /O
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, havemoderator 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.
I am having trouble finding links to continue after hangup based on dial. Can you send me something on that ? Umar. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Bruce Marler Sent: 05 June 2004 05:27 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] Meetme with moderator 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, havemoderator 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. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users