Re: [Freeswitch-users] Controlling Conference Controls

2009-06-19 Thread Jason White
Bradley Brashier bjbrash...@gmail.com wrote: I want to take a second and point out that while I may be complaining about some difficulties I'm having, the process has actually been FAR easier and faster than I had ever expected. This is a nice, solid product that works amazingly well

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-19 Thread Bradley Brashier
mute-detect-sound Different sound for if muting using only when mute-detect flag is on. Sorry... that didn't come out right. Try this: Different sound to play when muted by someone else and mute-detect flag is on. Plays mute-sound if this is not present. On Fri, Jun 19, 2009 at 11:27 AM, Bradley

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-19 Thread Bradley Brashier
That sounds like something it might do, but searching through the code I didn't find any use of the flag that parameter sets. It is, of course, possible that I missed it, especially if it's an indirect use. 2009/6/19 João Mesquita jmesqu...@gmail.com Inline... On Fri, Jun 19, 2009 at 3:27

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread j3flight
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

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread Bradley Brashier
What I did last night was to go ahead and modify mod_conference.c to include a new count conference control. I've got it getting to the right place, and spitting debug messages with the right data about which member and what the count is, but for some reason the text-to-speech isn't working.

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread Bradley Brashier
OK, so I did some more experimenting today. I found a problem with the code I'm using (again, this is off the current trunk, but with some small modifications): conference_member_say in mod_conference.c is simply not working. There are several messages in there that can theoretically tell the

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread j3flight
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

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread Bradley Brashier
I was indeed looking at announce-count, but from the code, it looks like that was designed to announce to the caller how many people were on the conference only when they were joining and the number was over a threshold specified in the profile. Not exactly what I was looking for, but it did help

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread j3flight
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...

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread Bradley Brashier
I've been using multiple digits successfully right from the start, about 2 or 3 weeks ago. They do the separation of *1 and *10 the same way as several other systems -- by time. If you dial *, then 1, then wait past a timeout, then 0, you'll get *1, and *10 if you did it faster. I've tested by

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread j3flight
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.

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-18 Thread Bradley Brashier
Actually, that's another good reason to do those wiki and/or code comments changes... most likely, the reason you thought it couldn't be done is that you tried it and it didn't work... but you tried it on the default profile before you realized that it was hard coded. I know that's what I did and

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread Bradley Brashier
Well, since what I really need at this time is only about 5 commands of similar complexity to a toggle on something already extant, I've decided to just modify source. I can't imagine that people will be terribly interested in my modifications, but I know I'm interested in being able to stay

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread Rupa Schomaker
I added the ability to call into your dialplan from the caller controls in conferences a while back. Depending on your goal, that might be an easy way to get your problem resolved. You can keep state using the hash api and hash on the conference name or some other useful thingie. On Wed, Jun

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread Bradley Brashier
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. I have a few other commands to work on, still. I found

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread j3flight
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...

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread j3flight
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...

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread j3flight
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

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-17 Thread Jason Cromes
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... This Wiki page has some good JavaScript examples... http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR

[Freeswitch-users] Controlling Conference Controls

2009-06-16 Thread Bradley Brashier
How much power do I have with DTMF conference controls? The wiki doesn't have much information on this. For example, one of the things I'd like to do is take the currently existing lock and unlock actions and merge them into a lock toggle action. Preferably in XML configuration files. Is this even

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-16 Thread Michael Collins
What is the big picture application? Reason I ask is that the FS devs and community have a lot of experience so if they can see the big picture they might be able to offer better advice. -MC On Tue, Jun 16, 2009 at 2:26 PM, Bradley Brashier bjbrash...@gmail.comwrote: How much power do I have

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-16 Thread Raymond Chandler
Bradley Brashier wrote: How much power do I have with DTMF conference controls? The wiki doesn't have much information on this. For example, one of the things I'd like to do is take the currently existing lock and unlock actions and merge them into a lock toggle action. Preferably in XML

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-16 Thread Bradley Brashier
Hmmm is that going to be easier than just modifying the mod_conference code to allow for a handfull of extra, simple commands? To me, it seems like for reasons of maintainability, etc, you want as few varied pieces as possible, in as few languages as possible. Socket scripting doesn't sound

Re: [Freeswitch-users] Controlling Conference Controls

2009-06-16 Thread William Suffill
It depends pretty heavily on what you are trying to add function wise. If it's more in depth using the event socket would allow it to be used on any FreeSwitch server assuming it caught the dtmf and acted according without having to modify the core source code/recompile. It might be a bit more