Re: [Freeswitch-users] Controlling Conference Controls
Wow, I apologize for the duplicate posts. The mailing list didn't want to cooperate with me last night... j3flight wrote: I haven't gone to the trouble (yet) of making this work, but I believe you could use execute_application from the conference controls to do just about anything with JavaScript... Here's a wiki page I created after building a JavaScript IVR for a conference server... http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR There are a couple functions in there for voicing user count, etc. So, I believe you could stick those in a script by themselves and call them from execute_application. Somehow, you would have to identify what user is calling the script and what conference they're in. (You could possibly set a session variable upon entering the conference, or parse all the conferences until you find that session's UUID.) I don't know what else you're trying to do, but once you get one of them working, the rest should follow a similar template. Post back if you make it work, I'm interested! ___ 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
Re: [Freeswitch-users] Controlling Conference Controls
I also saw the option for the "announce-count" conference parameter (which i assume is what you're trying to use) and it didn't seem to work for me either. I couldn't figure out whether I was doing something wrong or if it was not working - that's why I implemented it in JS. Looking at the code now, do you have tts_engine and tts_voice defined in the conference config file. Looks like conference_member_say won't do anything without those... I can definitely attest to the confusion on your second point... It took me a while to figure out the "default" conference controls as well. As long as you name your caller-controls something else, it all works great. The easy fix would be to modify the included conference config file so that the sample conference controls had a different name. If someone removed them manually, it would work as advertised. The wiki doc for mod_conference still needs some help too. I tried to fill in what I knew recently by adding all the options I could find in the source and re-arranging the page to make it easier to understand for new folks. I had to leave a bunch of ??? in places though because I didn't know what something did or meant... Can anyone help complete that? ___ 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
Re: [Freeswitch-users] Controlling Conference Controls
As far as using multiple digits in the conference controls, that doesn't seem possible. I was hoping I could make all the commands require a preceding *, like *1 for mute, *2 for lock, etc but that didn't work. I'm sure that could be added, but then you have other silly issues to worry about... i.e. what if someone defines *1 and *10? Anyway, the conference app is powerful, especially if you want to leverage the event socket (which I have yet to try, but I can tell that's where all the goodies are). Asterisk's MeetMe has more features out of the box, but is not nearly as easily customized. I feel like mod_conference needs the following things so new folks don't go cross-eyed trying to get it to work (and I'll be more than happy to assist with this where I can): -- if the TTS stuff is required for other features to work, it needs to be turned on by default (tts is built by default now, right?) -- a great number of the possible conference parameters are missing from the default config file. I've stuck all the possibilities on the wiki (with missing descriptions in many cases) but those need to be in the default config with better explanations. (or, it could be left off the wiki entirely and a link to the default config file could be used, so documentation is only kept in one place) -- Some explanation that the default caller controls are HARD-CODED. I'll take a look at the wiki in just a minute and clear it up, but the config file needs an explanation too. Maybe they should be commented (or removed entirely) just to prove that you get the default set of caller controls without them being defined...?? -- View this message in context: http://www.nabble.com/Controlling-Conference-Controls-tp24063307p24104639.html 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
Re: [Freeswitch-users] Controlling Conference Controls
Well crap, I must have had something else screwed up then with the multiple digits... I will try it out again soon, thanks for putting me back on track. I made some more changes to the wiki that hopefully clean up some confusion on a few things like the caller-controls. ___ 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
Re: [Freeswitch-users] Controlling Conference Controls
I haven't gone to the trouble (yet) of making this work, but I believe you could use execute_application from the conference controls to do just about anything with JavaScript... Here's a wiki page I created after building a JavaScript IVR for a conference server... http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR There are a couple functions in there for voicing user count, etc. So, I believe you could stick those in a script by themselves and call them from execute_application. Somehow, you would have to identify what user is calling the script and what conference they're in. (Once you're in the javascript, you could check a conference number variable that you set when the person entered the conference. Or, you could parse the output of conference list until you found that session's UUID.) I don't know what else you're trying to do, but once you get one of them working, the rest should follow a similar template. Post back if you make it work, I'm interested! ___ 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
Re: [Freeswitch-users] Controlling Conference Controls
I haven't gone to the trouble (yet) of making this work, but I believe you could use execute_application from the conference controls to do just about anything with JavaScript... Here's a wiki page I created after building a JavaScript IVR for a conference server... http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR There are a couple functions in there for voicing user count, etc. So, I believe you could stick those in a script by themselves and call them from execute_application. Somehow, you would have to identify what user is calling the script and what conference they're in. (You could possibly set a session variable upon entering the conference, or parse all the conferences until you find that session's UUID.) I don't know what else you're trying to do, but once you get one of them working, the rest should follow a similar template. Post back if you make it work, I'm interested! -- View this message in context: http://www.nabble.com/Controlling-Conference-Controls-tp24063307p24084409.html 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
Re: [Freeswitch-users] Controlling Conference Controls
FYI: I fixed the Wiki documentation for the lock/unlock feature. Bradley Brashier wrote: So I found one interesting thing so far: the lock caller control actually does function as a toggle, and, in fact, unlock does not do anything. This goes against wiki docs on mod_conference, but is helpful in this instance. ___ 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
Re: [Freeswitch-users] Conference users hear MOH until leader enters?
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.miness...@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 stevecr...@gmail.comwrote: 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 m...@freeswitch.orgwrote: On Tue, May 26, 2009 at 4:56 PM, Anthony Minessale anthony.miness...@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=1...@wideband/ or action application=conference data=1...@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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@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--tp23724561p23746348.html 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
Re: [Freeswitch-users] Conference users hear MOH until leader enters?
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--tp23724561p23754379.html 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
[Freeswitch-users] Conference users hear MOH until leader enters?
I'm attempting to replicate the behavior of an Asterisk system with FreeSwitch and I need a feature that, I'm surprised to say, doesn't seem to be supported (easily). Ok, so 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 conference 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, but I want them protected by their owner so they can only be used when that conference owner dials. If other users have entered the conference prior to the owner, they should hear music-on-hold until the leader enters. 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, the 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... -- View this message in context: http://www.nabble.com/Conference-users-hear-MOH-until-leader-enters--tp23715721p23715721.html 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
Re: [Freeswitch-users] Conference users hear MOH until leader enters?
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=1...@profile_for_users/ action application=conference data=1...@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--tp23724561p23734920.html 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