Conference users hear MOH until leader enters?
First off, I apologize if this has been sent multiple times, the mailing list won't cooperate with me... Hopefully that is resolved now. I'm attempting to replicate the behavior of an Asterisk conferencing system and I need a feature that, I'm surprised to say, doesn't seem to be supported (easily) in FreeSwitch. I've setup my dialplan so that when a specific extension is hit, it calls out to some javascript which acts like an IVR to handle the prompts and conferencing setup. (Similar to this: http://wiki.freeswitch.org/wiki/Examples_confcall_js but with my own improvements.) Anyway, the conferences are stored permanently in a database table, but I need them disabled until the conference owner dials in and enables his conference. If other users have entered the conference prior to the owner, they should hear music-on-hold until the leader enters. (The purpose of this is to prevent abuse of conferences that are, basically, always available.) This is easy in Asterisk because you can pop someone into MeetMe with different flags. So, in my IVR, I prompt for the "conference number" (known to all) and then the "password" (known only to the owner/leader). If the proper password is entered, that user is sent to conference XYZ with the leader flag set. If no password is entered, the user goes to conference XYZ, without the leader flag. If anyone enters before the leader, they're told by MeetMe that "the conference will begin when the leader arrives" and MeetMe provides MOH until that time. Help! This is an absolute deal-breaker for my install... How can I do this in FreeSwitch? Thanks...
Jason, There are many ways to accomplish this using FreeSWITCH. All of which will require you to do a little bit of coding in js, lua or some other language. 1. Park all callers into a fifo.. (see mod_fifo) 2. When leader auths in your script then you uuid_transfer them all into the conference. You could also do this via esl using perl, lua, python, php or ruby. That should accomplish the same ending result. /b On May 26, 2009, at 9:38 AM, Jason Cromes wrote:
This is easy in Asterisk because you can pop someone into MeetMe with different flags. So, in my IVR, I prompt for the "conference number" (known to all) and then the "password" (known only to the owner/ leader). If the proper password is entered, that user is sent to conference XYZ with the leader flag set. If no password is entered, the user goes to conference XYZ, without the leader flag. If anyone enters before the leader, they're told by MeetMe that "the conference will begin when the leader arrives" and MeetMe provides MOH until that time.
Help! This is an absolute deal-breaker for my install... How can I do this in FreeSwitch? Thanks...
the easiest way would be the new feature I added to 13442 in the conference profile add <param name="conference-flags" value="wait-mod"/> to your <profile> and in your dialplan <action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/> or <action application="conference" data="1234@wideband+flags{moderator}"/> Don't forget the wishlist and donate button on the main site.... On Tue, May 26, 2009 at 10:46 AM, <jcromes@gmail.com> wrote:
Ok, that sounds doable... I have no problem banging around with some code. Thanks for the advice... I'm new to FIFOs and FreeSwitch in general, so please check my logic here...
- When a user enters their conference number, I check to see if that conference exists (because the conference shouldn't exist until the leader enters). - If that conference exists, the user gets dropped straight into it. - If that conference does not exist, I park that user into a FIFO, with music.
- When the leader enters their conference number and password, I put them into that conference (which creates the conference). - Then check for the presence of a FIFO with parked users. - If the FIFO contains parked users, I transfer everyone from the FIFO into the conference.
Is that what you were thinking?
Brian West wrote:
Jason, There are many ways to accomplish this using FreeSWITCH. All of which will require you to do a little bit of coding in js, lua or some other language.
1. Park all callers into a fifo.. (see mod_fifo) 2. When leader auths in your script then you uuid_transfer them all into the conference.
You could also do this via esl using perl, lua, python, php or ruby.
That should accomplish the same ending result.
/b
On May 26, 2009, at 9:38 AM, Jason Cromes wrote:
This is easy in Asterisk because you can pop someone into MeetMe with different flags. So, in my IVR, I prompt for the "conference number" (known to all) and then the "password" (known only to the owner/ leader). If the proper password is entered, that user is sent to conference XYZ with the leader flag set. If no password is entered, the user goes to conference XYZ, without the leader flag. If anyone enters before the leader, they're told by MeetMe that "the conference will begin when the leader arrives" and MeetMe provides MOH until that time.
Help! This is an absolute deal-breaker for my install... How can I do this in FreeSwitch? Thanks...
_______________________________________________ Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
<param name="conference-flags" value="wait-mod"/>
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband+flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
Michael, Pardon me for hopping on this thread, but can you explain more about this new feature? I've been wanting something like this to apply different behaviors for different conference members. Can this be used to provide a 'moderator' with different behaviors bound to DTMF keys than regular callers? --Stephen On Tue, May 26, 2009 at 5:55 PM, Michael Collins <msc@freeswitch.org> wrote:
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
<param name="conference-flags" value="wait-mod"/>
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband+flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Anthony - unbelievable! Thank you so much for implementing that! I kept going through the possibilities of using a FIFO, putting the javascript in a polling loop, or having everyone enter the conference muted and manually playing MOH. This feature absolutely makes my code a snap... Yes, I will remember the wish-list and I will update the wiki (probably tomorrow though). Stephen: This new feature doesn't provide the ability you're referring to... It gives me the ability to make normal users "wait" on a moderator to open the conference. However, the capability you're asking for already exists in FreeSwitch by choosing different "profiles" for your conferences. Within the mod_conference config file you can create different profiles which use different "caller controls" a.k.a. "in-conference dtmf features". So, create one profile for your normal users and another identical profile (except for the caller controls) for your moderators/admins. When you put them into the conference, you can select your profile like so: <action application="conference" data="1234@profile_for_users"/> <action application="conference" data="1234@profile_for_moderators"/> I hope that's all correct - again, I'm new. Anthony, I will try this out first thing tomorrow! -- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23724... Sent from the Freeswitch-users mailing list archive at Nabble.com.
This opens the door to what you ask but to add moderator specific dtmf controls is another patch that would require specifics and most likely a bounty or contract to complete. On Tue, May 26, 2009 at 8:17 PM, Stephen Crosby <stevecrozz@gmail.com>wrote:
Michael,
Pardon me for hopping on this thread, but can you explain more about this new feature? I've been wanting something like this to apply different behaviors for different conference members. Can this be used to provide a 'moderator' with different behaviors bound to DTMF keys than regular callers?
--Stephen
On Tue, May 26, 2009 at 5:55 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
<param name="conference-flags" value="wait-mod"/>
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband+flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Thanks j3flight, I have used that method, but the profiles seem to be for conferences not users. So I give a conference a profile, and everybody in the conference shares the profile settings. If I'm wrong, let me know, otherwise I'll stop hijacking this thread. --Stephen On Wed, May 27, 2009 at 5:50 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
This opens the door to what you ask but to add moderator specific dtmf controls is another patch that would require specifics and most likely a bounty or contract to complete.
On Tue, May 26, 2009 at 8:17 PM, Stephen Crosby <stevecrozz@gmail.com>wrote:
Michael,
Pardon me for hopping on this thread, but can you explain more about this new feature? I've been wanting something like this to apply different behaviors for different conference members. Can this be used to provide a 'moderator' with different behaviors bound to DTMF keys than regular callers?
--Stephen
On Tue, May 26, 2009 at 5:55 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
<param name="conference-flags" value="wait-mod"/>
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband +flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Nope, it seems you are absolutley correct. I had setup my conferences this way, but hadn't experimented yet. I tried putting two users into the same conference using different profiles, but they both had the same caller controls. Bummer. I believe we can get around this though, assuming I can call javascript from the caller controls. Currently, I am using a trick in my conference IVR where I scan the UUIDs in a conference looking for an IsModerator variable that I set when they were dropped in. If a user has that variable set to 1, they are a moderator. I could use that same trick from the caller controls to determine whether that user has moderator permissions and can act (or not act) on their button press. I'll give it a shot at some point and post back. Stephen Crosby-2 wrote:
Thanks j3flight, I have used that method, but the profiles seem to be for conferences not users. So I give a conference a profile, and everybody in the conference shares the profile settings. If I'm wrong, let me know, otherwise I'll stop hijacking this thread.
--Stephen
On Wed, May 27, 2009 at 5:50 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
This opens the door to what you ask but to add moderator specific dtmf controls is another patch that would require specifics and most likely a bounty or contract to complete.
On Tue, May 26, 2009 at 8:17 PM, Stephen Crosby <stevecrozz@gmail.com>wrote:
Michael,
Pardon me for hopping on this thread, but can you explain more about this new feature? I've been wanting something like this to apply different behaviors for different conference members. Can this be used to provide a 'moderator' with different behaviors bound to DTMF keys than regular callers?
--Stephen
On Tue, May 26, 2009 at 5:55 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband +flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23724... Sent from the Freeswitch-users mailing list archive at Nabble.com.
It would be an improvement to move the caller controls to the member so it works the way you expect but it will have to wait for the right time and motivation level.
From there it would also be possible to make up some new caller controls that were moderator inspired like (mute all besides moderator) stuff like that.
I don't want to get too fancy because the idea behind the conference is to keep it clean. We do have a caller control that just sends an event so an external application can catch it and use esl to do the desired action such as, dial 4, get the event on the socket decide it means mute all and then send the correct series of api calls to mute each member. On Wed, May 27, 2009 at 11:45 AM, j3flight <jcromes@gmail.com> wrote:
Nope, it seems you are absolutley correct. I had setup my conferences this way, but hadn't experimented yet. I tried putting two users into the same conference using different profiles, but they both had the same caller controls. Bummer.
I believe we can get around this though, assuming I can call javascript from the caller controls. Currently, I am using a trick in my conference IVR where I scan the UUIDs in a conference looking for an IsModerator variable that I set when they were dropped in. If a user has that variable set to 1, they are a moderator.
I could use that same trick from the caller controls to determine whether that user has moderator permissions and can act (or not act) on their button press. I'll give it a shot at some point and post back.
Stephen Crosby-2 wrote:
Thanks j3flight, I have used that method, but the profiles seem to be for conferences not users. So I give a conference a profile, and everybody in the conference shares the profile settings. If I'm wrong, let me know, otherwise I'll stop hijacking this thread.
--Stephen
On Wed, May 27, 2009 at 5:50 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
This opens the door to what you ask but to add moderator specific dtmf controls is another patch that would require specifics and most likely a bounty or contract to complete.
On Tue, May 26, 2009 at 8:17 PM, Stephen Crosby <stevecrozz@gmail.com>wrote:
Michael,
Pardon me for hopping on this thread, but can you explain more about this new feature? I've been wanting something like this to apply different behaviors for different conference members. Can this be used to provide a 'moderator' with different behaviors bound to DTMF keys than regular callers?
--Stephen
On Tue, May 26, 2009 at 5:55 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
the easiest way would be the new feature I added to 13442
in the conference profile add
to your <profile>
and in your dialplan
<action application="set" data="conference_member_flags=moderator"/> <action application="conference" data="1234@wideband"/>
or
<action application="conference" data="1234@wideband +flags{moderator}"/>
Don't forget the wishlist and donate button on the main site....
And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>< MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>< sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23724... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Wiki Tax paid... That was my first contribution to the freeswitch wiki! MC, you're welcome to have a look over it and see if i made things clear enough. Feel free to edit. On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale < And the wiki tax if you feel comfortable adding this to the wiki. If not let me know and I'll add it. -MC -- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23724... Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Wed, May 27, 2009 at 8:00 PM, j3flight <jcromes@gmail.com> wrote:
Wiki Tax paid... That was my first contribution to the freeswitch wiki! MC, you're welcome to have a look over it and see if i made things clear enough. Feel free to edit.
Nicely done! Thanks for taking the time to create a wiki user and jump in with both feet. BTW, as you gain more practical experience with this wait-mod/moderator feature please feel free to come back and add any useful tidbits to the wiki. -MC
I could not get this working on current trunk. Can you post your configuration on conference module and the dialplan example? Thanks, jmesquita On Thu, May 28, 2009 at 12:56 PM, Michael Collins <msc@freeswitch.org>wrote:
On Wed, May 27, 2009 at 8:00 PM, j3flight <jcromes@gmail.com> wrote:
Wiki Tax paid... That was my first contribution to the freeswitch wiki! MC, you're welcome to have a look over it and see if i made things clear enough. Feel free to edit.
Nicely done! Thanks for taking the time to create a wiki user and jump in with both feet. BTW, as you gain more practical experience with this wait-mod/moderator feature please feel free to come back and add any useful tidbits to the wiki.
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'd be very interested to see your script and dialplan , for me it's a very important issue as my conference server facing to outside and I need to have moderators and regular users entering different pins. Anton jcromes@gmail.com wrote:
Unfortunately, the instance of FreeSwitch where I've been playing with this is at work and I can't get to it at the moment... Eventually, I plan to post my entire implementation (javascript and dialplan) on the Wiki because I've added quite a few improvements to the confcall.js example that is there now...
Here's what I did though:
In conference.conf.xml, put this entire line into the profile you are using for your conferences: *<param name="conference-flags" value="wait-mod"/>*
In your dialplan, you need to use the two lines below. Somehow, you need to separate how callers encounter them though..
This first line enters callers as a standard user. This means that anyone entering conference 1234 using this line will WAIT until a moderator enters. *<action application="conference" data="1234@your-conf-profile-name"/>*
This second line sets the moderator member flag as they enter conference 1234. Anyone already in the conference will now come off music. You could put an extra prompt for a pass code before this line. Or you could assign two extensions that both go to the same conference, but one extension is publicly known, the other is only known to the owner/moderator. *<action application="conference" data="1234@your-conf-profile-name+flags{moderator}"/>*
Hope that helps.
João Mesquita wrote:
I could not get this working on current trunk. Can you post your configuration on conference module and the dialplan example?
Thanks,
jmesquita
------------------------------------------------------------------------
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Maybe someone can do a wiki page with scripts and a howto? /b On May 29, 2009, at 3:31 PM, Anton Karpov wrote:
I'd be very interested to see your script and dialplan , for me it's a very important issue as my conference server facing to outside and I need to have moderators and regular users entering different pins. Anton
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I would set the endconf flag in addition to the moderator flag so when you leave it kicks everyone. :) /b On May 30, 2009, at 1:11 AM, jcromes@gmail.com wrote:
Regarding #3: Here is what I'm used to... When the (last) moderator drops, the users hear something like "the moderator has left the conference" and then get kicked back to music. If a moderator dials back in, music goes away and the users are re-joined. It's intended to be a secure conference, and the moderator is the security, right? Other conferencing systems I've worked with behave like this as well (not just Asterisk). I realize we're getting into the realm of fancy features rather than a clean conference application, so I'm already prepared take a hike. =) Could I emulate that behavior another way?
Regarding #4: I don't have an opinion either way on the ding sounds really - it's a cosmetic thing and I just thought I'd mention it.
Thanks!
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
+flags{endconf|moderator} Its there... /b On May 30, 2009, at 11:48 AM, jcromes@gmail.com wrote:
Did someone add that feature? Are you messing with my head? =)
That would almost work perfectly... One scenario to consider - sometimes, in a large group of folks that meet regularly, there are multiple callers that come in as a moderator because they're not sure who might not be able to attend that particular conference. So, we would only want to kick the users/members out if the moderator "count" goes to 0.
I'm such a pain.
I think I can answer my own question after looking at the code... It seems that when THAT ONE user leaves, a flag is set that notifies the conference thread to teardown the conference. I guess I will have to roll my own on this one I guess, especially since I don't want to kill the conference completely, just drop the users back to music. Also, more importantly... I just discovered a number of conference profile options that are neither documented in the Wiki nor mentioned in the sample configuration file. I've added entries in the Wiki for all the ones that were missing, but I don't know what half of them do. =( Could someone in-the-know please fill those in? Also, I would suggest adding those to the sample config file. Options like "endconf" and "announce-user" are GREAT conference features, but no one knows they are there! (I had actually implemented the user count announcement within Javascript, because I didn't know it was available.)
I added support so when multiple endconf users are in the same conference the total number of people with the flag must reach 0 before it kills the conf. Can I take a small break now please ;) That's why I'm afraid to add new stuff sometimes. On Sat, May 30, 2009 at 9:16 PM, <jcromes@gmail.com> wrote:
I think I can answer my own question after looking at the code... It seems that when THAT ONE user leaves, a flag is set that notifies the conference thread to teardown the conference. I guess I will have to roll my own on this one I guess, especially since I don't want to kill the conference completely, just drop the users back to music.
Also, more importantly... I just discovered a number of conference profile options that are neither documented in the Wiki nor mentioned in the sample configuration file. I've added entries in the Wiki for all the ones that were missing, but I don't know what half of them do. =(
Could someone in-the-know please fill those in? Also, I would suggest adding those to the sample config file. Options like "endconf" and "announce-user" are GREAT conference features, but no one knows they are there!
(I had actually implemented the user count announcement within Javascript, because I didn't know it was available.)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
No breaks! keep improving the conference app :) --Stephen On Mon, Jun 1, 2009 at 6:08 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added support so when multiple endconf users are in the same conference the total number of people with the flag must reach 0 before it kills the conf.
Can I take a small break now please ;) That's why I'm afraid to add new stuff sometimes.
On Sat, May 30, 2009 at 9:16 PM, <jcromes@gmail.com> wrote:
I think I can answer my own question after looking at the code... It seems that when THAT ONE user leaves, a flag is set that notifies the conference thread to teardown the conference. I guess I will have to roll my own on this one I guess, especially since I don't want to kill the conference completely, just drop the users back to music.
Also, more importantly... I just discovered a number of conference profile options that are neither documented in the Wiki nor mentioned in the sample configuration file. I've added entries in the Wiki for all the ones that were missing, but I don't know what half of them do. =(
Could someone in-the-know please fill those in? Also, I would suggest adding those to the sample config file. Options like "endconf" and "announce-user" are GREAT conference features, but no one knows they are there!
(I had actually implemented the user count announcement within Javascript, because I didn't know it was available.)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You rock! Thanks for doing that, makes things work nicely. Although, I was in the process of putting together a php event socket thingy to handle conference state changes. I didn't get very far yet, but it was a good exercise! I do appreciate your work - break granted. Jason -- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23724... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (9)
-
Anthony Minessale
-
Anton Karpov
-
Brian West
-
j3flight
-
Jason Cromes
-
jcromes@gmail.com
-
João Mesquita
-
Michael Collins
-
Stephen Crosby