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 

> Inline...
>
>  On Fri, Jun 19, 2009 at 3:27 PM, Bradley Brashier 
> wrote:
>
>> So it turns out that it wasn't a bug at all -- it is a feature that was
>> not implemented. So I've got some work to do to get that running. Since I
>> said I would, though, here's my analysis of the conference parameters you
>> were asking about:
>>
>> mute-detect-sound
>> Different sound for if muting using only when mute-detect flag is on.
>> max-members
>> Specifies the maximum number of participants in a call.
>> max-members-sound
>> If caller cannot join because max is reached, this sound plays.
>> Recommended if max-members is set.
>> comfort-noise-level
>> Sets volume of background white noise to generate.
>> announce-count
>> Requires TTS. When joining, tells caller how many callers are already in
>> conference if at least the specified minimum.
>> suppress-events
>> ? Sets a flag, but does not appear to do anything with it.
>>
>
> I think suppress-events is to supress audio events such as "User  has
> joined the conferece."
> Would the sound right?
>
>
>>
>> verbose-events
>> Maximum verbosity for transcripting.
>> timer-name
>> Specifies the name of this profile's timer. To separate it from other
>> timers?
>>
>> BB
>>   On Fri, Jun 19, 2009 at 8:59 AM, Bradley Brashier > > wrote:
>>
>>> OK, I figured out the TTS stuff. It's a matter of choosing an engine (I
>>> chose flite), uncommenting a few things, and setting the TTS variables in
>>> the conference profile. You do have to rebuild FS to do this.
>>>
>>> With that working, my count function works, too.
>>>
>>> I posted a bug last night about conferencing, BTW: if you're using the
>>> wait-mod function, where the conference doesn't start until the moderator
>>> arrives, and you're also using separate profiles for users and moderators,
>>> the users only have the "user" profile until the first moderator arrives. At
>>> that time, they switch to also be using the "moderator" profile.
>>>
>>> Now that TTS is working, I'm going to see about helping you fill out
>>> those ???s, and maybe see if I can figure out how to fix the above bug.
>>>
>>> BB
>>>
>>
>>
>> ___
>> 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
>
>
___
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

2009-06-19 Thread João Mesquita
Inline...

On Fri, Jun 19, 2009 at 3:27 PM, Bradley Brashier wrote:

> So it turns out that it wasn't a bug at all -- it is a feature that was not
> implemented. So I've got some work to do to get that running. Since I said I
> would, though, here's my analysis of the conference parameters you were
> asking about:
>
> mute-detect-sound
> Different sound for if muting using only when mute-detect flag is on.
> max-members
> Specifies the maximum number of participants in a call.
> max-members-sound
> If caller cannot join because max is reached, this sound plays. Recommended
> if max-members is set.
> comfort-noise-level
> Sets volume of background white noise to generate.
> announce-count
> Requires TTS. When joining, tells caller how many callers are already in
> conference if at least the specified minimum.
> suppress-events
> ? Sets a flag, but does not appear to do anything with it.
>

I think suppress-events is to supress audio events such as "User  has
joined the conferece."
Would the sound right?


>
> verbose-events
> Maximum verbosity for transcripting.
> timer-name
> Specifies the name of this profile's timer. To separate it from other
> timers?
>
> BB
> On Fri, Jun 19, 2009 at 8:59 AM, Bradley Brashier wrote:
>
>> OK, I figured out the TTS stuff. It's a matter of choosing an engine (I
>> chose flite), uncommenting a few things, and setting the TTS variables in
>> the conference profile. You do have to rebuild FS to do this.
>>
>> With that working, my count function works, too.
>>
>> I posted a bug last night about conferencing, BTW: if you're using the
>> wait-mod function, where the conference doesn't start until the moderator
>> arrives, and you're also using separate profiles for users and moderators,
>> the users only have the "user" profile until the first moderator arrives. At
>> that time, they switch to also be using the "moderator" profile.
>>
>> Now that TTS is working, I'm going to see about helping you fill out those
>> ???s, and maybe see if I can figure out how to fix the above bug.
>>
>> BB
>>
>
>
> ___
> 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


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 Brashier wrote:

> So it turns out that it wasn't a bug at all -- it is a feature that was not
> implemented. So I've got some work to do to get that running. Since I said I
> would, though, here's my analysis of the conference parameters you were
> asking about:
>
> mute-detect-sound
> Different sound for if muting using only when mute-detect flag is on.
> max-members
> Specifies the maximum number of participants in a call.
> max-members-sound
> If caller cannot join because max is reached, this sound plays. Recommended
> if max-members is set.
> comfort-noise-level
> Sets volume of background white noise to generate.
> announce-count
> Requires TTS. When joining, tells caller how many callers are already in
> conference if at least the specified minimum.
> suppress-events
> ? Sets a flag, but does not appear to do anything with it.
> verbose-events
> Maximum verbosity for transcripting.
> timer-name
> Specifies the name of this profile's timer. To separate it from other
> timers?
>
> BB
>   On Fri, Jun 19, 2009 at 8:59 AM, Bradley Brashier 
> wrote:
>
>> OK, I figured out the TTS stuff. It's a matter of choosing an engine (I
>> chose flite), uncommenting a few things, and setting the TTS variables in
>> the conference profile. You do have to rebuild FS to do this.
>>
>> With that working, my count function works, too.
>>
>> I posted a bug last night about conferencing, BTW: if you're using the
>> wait-mod function, where the conference doesn't start until the moderator
>> arrives, and you're also using separate profiles for users and moderators,
>> the users only have the "user" profile until the first moderator arrives. At
>> that time, they switch to also be using the "moderator" profile.
>>
>> Now that TTS is working, I'm going to see about helping you fill out those
>> ???s, and maybe see if I can figure out how to fix the above bug.
>>
>> BB
>>
>
>
___
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

2009-06-19 Thread Bradley Brashier
So it turns out that it wasn't a bug at all -- it is a feature that was not
implemented. So I've got some work to do to get that running. Since I said I
would, though, here's my analysis of the conference parameters you were
asking about:

mute-detect-sound
Different sound for if muting using only when mute-detect flag is on.
max-members
Specifies the maximum number of participants in a call.
max-members-sound
If caller cannot join because max is reached, this sound plays. Recommended
if max-members is set.
comfort-noise-level
Sets volume of background white noise to generate.
announce-count
Requires TTS. When joining, tells caller how many callers are already in
conference if at least the specified minimum.
suppress-events
? Sets a flag, but does not appear to do anything with it.
verbose-events
Maximum verbosity for transcripting.
timer-name
Specifies the name of this profile's timer. To separate it from other
timers?

BB
On Fri, Jun 19, 2009 at 8:59 AM, Bradley Brashier wrote:

> OK, I figured out the TTS stuff. It's a matter of choosing an engine (I
> chose flite), uncommenting a few things, and setting the TTS variables in
> the conference profile. You do have to rebuild FS to do this.
>
> With that working, my count function works, too.
>
> I posted a bug last night about conferencing, BTW: if you're using the
> wait-mod function, where the conference doesn't start until the moderator
> arrives, and you're also using separate profiles for users and moderators,
> the users only have the "user" profile until the first moderator arrives. At
> that time, they switch to also be using the "moderator" profile.
>
> Now that TTS is working, I'm going to see about helping you fill out those
> ???s, and maybe see if I can figure out how to fix the above bug.
>
> BB
>
___
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

2009-06-19 Thread Bradley Brashier
OK, I figured out the TTS stuff. It's a matter of choosing an engine (I
chose flite), uncommenting a few things, and setting the TTS variables in
the conference profile. You do have to rebuild FS to do this.

With that working, my count function works, too.

I posted a bug last night about conferencing, BTW: if you're using the
wait-mod function, where the conference doesn't start until the moderator
arrives, and you're also using separate profiles for users and moderators,
the users only have the "user" profile until the first moderator arrives. At
that time, they switch to also be using the "moderator" profile.

Now that TTS is working, I'm going to see about helping you fill out those
???s, and maybe see if I can figure out how to fix the above bug.

BB
___
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

2009-06-18 Thread Jason White
Bradley Brashier  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 amazingly quickly. I've been working with it for exactly 5
> weeks now, starting from not knowing what SIP was or even that it had
> anything to do with VoIP. I've got a decent, demo conference bridge working,
> and am likely to be saving my company a good chunk of change as soon as I
> work out a few more kinks. A 2-month time to market from complete zero is
> just incredible.

If organizations such as yours could contribute some of the money they save to
FreeSWITCH development, for example to get desired features implemented or
bugs fixed, I'm sure that would help to make what is already a great project
even better.

The software is excellent, the community helpful, and I've had a lot of fun
experimenting with IPv6, TLS, ZRTP and other features that few other projects
have implemented.


___
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

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 was confused about at first.

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 amazingly quickly. I've been working with it for exactly 5
weeks now, starting from not knowing what SIP was or even that it had
anything to do with VoIP. I've got a decent, demo conference bridge working,
and am likely to be saving my company a good chunk of change as soon as I
work out a few more kinks. A 2-month time to market from complete zero is
just incredible.

On Thu, Jun 18, 2009 at 9:45 PM,  wrote:

> 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
>
___
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

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.


___
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

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 using 3
and 34 as separate commands, and I'm using * commands on my
working system. Perhaps you should try again?

Obviously, if you were confused, the docs on this could definitely be
better. I'll check out the TTS stuff in the morning, and figure out those
other parameters after that. Unless the original author wants to pipe up, of
course.

On Thu, Jun 18, 2009 at 7:38 PM, j3flight  wrote:

>
> 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
>
___
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

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...  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

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 me find some of the right variables. And no, it didn't work, but I see
now that it's most likely because conference_member_say wasn't working.

I didn't think to try to define tts_engine and tts_voice, though, thinking
that things like that had likely defaults. Obviously that would be an issue
if not. I'll look at that next.

Don't quote me on what announce-count is supposed to do, yet -- I only
looked at it for long enough to tell that it wasn't what I needed. Once I
have things working the way I want, I feel like I'll have enough data to be
more certain of what everything does, and then I'll be happy to help you
fill those out.
I like your solution on the default controls. Naming them "sample" instead
of "default" would do fine. Alternately, if we put a blurb in the comments
above the default controls saying "these controls are hard-coded, and
changes will not be taken into account. They are here as an example only",
that would probably be good enough.

Also, it's not clear that the DTMF commands for caller controls can be
multiple digits. It might go without saying, but I didn't think about it
until a little ways in, so something on the wiki might be nice.
On Thu, Jun 18, 2009 at 5:01 PM,  wrote:

> 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
>
>
___
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

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 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

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 user something,
but all of them are bypassed in the vanilla build because the default
profile plays a wav instead of generating them on the fly. If you take out
the wav, the message is supposed to be generated. So I took out the wavs,
but I'm not hearing any messages.

BTW, something I discovered last week:  straight out-of-the-box with no
other modifications, if you make any changes to the set of "default" caller
controls in conference.conf.xml, they don't get taken. The "default" caller
controls appear to get overwritten in a hard-coded fashion in
mod_conference.c. A "feature", perhaps, but very confusing for us new users.
Can we add some documentation in there to that effect, perhaps?
BB
On Thu, Jun 18, 2009 at 7:26 AM, Bradley Brashier wrote:

> 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.
> That's what I'll be tacking today.
>
> The only other things I really need to figure out are a toggle for whether
> or not the moderator leaving ends the conference (from a DTMF, I have to
> clear all endconfs or something), and a command to mute all participants.
> Once I have those, I'm sure everything else will be a laydown.
>
> I'm not opposed to other methods, but I am opposed to increased complexity.
> If I can do it all in C and XML, I prefer that to some C, some XML, some
> lua, some JS, etc. I'll take a closer look at your example when I get into
> the office to see if that's a more elegant solution than what I have.
>
>   On Wed, Jun 17, 2009 at 9:07 PM,  wrote:
>
>> 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
>>
>
>
___
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

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. That's
what I'll be tacking today.

The only other things I really need to figure out are a toggle for whether
or not the moderator leaving ends the conference (from a DTMF, I have to
clear all endconfs or something), and a command to mute all participants.
Once I have those, I'm sure everything else will be a laydown.

I'm not opposed to other methods, but I am opposed to increased complexity.
If I can do it all in C and XML, I prefer that to some C, some XML, some
lua, some JS, etc. I'll take a closer look at your example when I get into
the office to see if that's a more elegant solution than what I have.

On Wed, Jun 17, 2009 at 9:07 PM,  wrote:

> 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
>
___
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

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 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

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

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 using execute_application out of the caller controls...
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

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...
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

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... 
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

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 
> 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] 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 execute-application
to be interesting, but since what I next need is a count of all conference
participants, and no application already exists for that, I'm still going to
have to write something else.

BB

On Wed, Jun 17, 2009 at 12:12 PM, Rupa Schomaker  wrote:

> 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 17, 2009 at 1:18 PM, Bradley Brashier wrote:
>
>> 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 updated
>> with the current trunk, so I'll have to figure out how to deal with that.
>>
>> I'll let you know if I have trouble.
>>
>
> --
> -Rupa
>
> ___
> 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


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 17, 2009 at 1:18 PM, Bradley Brashier wrote:

> 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 updated
> with the current trunk, so I'll have to figure out how to deal with that.
>
> I'll let you know if I have trouble.
>

-- 
-Rupa
___
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

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 updated
with the current trunk, so I'll have to figure out how to deal with that.

I'll let you know if I have trouble.

On Tue, Jun 16, 2009 at 5:04 PM, William Suffill
wrote:

> 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 work
> at first but could be well worth it depending on your needs.
>
> -- W
>
> ___
> 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


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 work
at first but could be well worth it depending on your needs.

-- W
___
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

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
like it would be an extension of what I'm doing, now, more like a totally
new method.

Of course, I'm saying this from a complete outside point of view, and am
more than willing to admit that I don't necessarily know the best course.

On Tue, Jun 16, 2009 at 2:41 PM, Raymond Chandler <
intralan...@freeswitch.org> wrote:

> 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
> > configuration files. Is this even possible? If so, how would I get
> > started?
> you could do this by having a script listen on the event socket...
> instead of using the default controls, you could just listen for a
> certain dtmf and then send the [un]lock command to the conference over
> the event socket
>
> -Ray
>
> ___
> 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


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 
> configuration files. Is this even possible? If so, how would I get 
> started?
you could do this by having a script listen on the event socket... 
instead of using the default controls, you could just listen for a 
certain dtmf and then send the [un]lock command to the conference over 
the event socket

-Ray

___
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

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 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 configuration files. Is this
> even possible? If so, how would I get started?
>
> There are a variety of small things like this that I need to implement.
> Would I be better off switching to Lua?
>
> ___
> 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


[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 possible? If so, how would I get started?

There are a variety of small things like this that I need to implement.
Would I be better off switching to Lua?
___
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