Markus
2012-Aug-26 23:43 UTC
[asterisk-users] One leg in a conference and adjusting stream volume of other leg
Hi all, I'm looking for some serious help. :) I couldn't find a better description for my problem... I think it is quite complex! Here's what I would like to achieve: A SIP caller dials into to my Asterisk 10. He will automatically listen to a specific MP3 stream. Other SIP callers dial also into my Asterisk. They all will automatically listen to the same MP3 stream. All callers automatically are joined into the same conference and are able to speak/hear each other at the same time they're listening to the stream. The tricky part: A caller may now press some digits on their their keypad, like 1, or 2, and this will have the effect that the volume of the stream is increasing or decreasing. BUT: When they adjust the volume of the stream, if effects only their stream, and not the volume of the stream of the other callers. In short: All callers at all times are *always* in the same conference, but each caller is able to increase or decrease the volume of "their" MP3 stream individually. If I'm right the MP3 stream cannot come from inside conference (MeetMe or ConfBridge with MOH) because there is no functionality to control the volume individually. So, I guess the basic foundation is a plain conference room without MOH, and then somehow the MP3 stream is "joined" to each caller individually, without bridging the audio into the whole conference ... I don't know where to start. Queue? Local channel? ... Thank you so much for any advise! I'm puzzled. :) Regards Markus
Matthew Jordan
2012-Aug-27 13:41 UTC
[asterisk-users] One leg in a conference and adjusting stream volume of other leg
----- Original Message -----> From: "Markus" <universe at truemetal.org> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> > Sent: Sunday, August 26, 2012 6:43:31 PM > Subject: [asterisk-users] One leg in a conference and adjusting stream volume of other leg > > Hi all, ><snip>> A SIP caller dials into to my Asterisk 10. He will automatically > listen > to a specific MP3 stream.As you're using Asterisk 10, I'm going to assume you're using ConfBridge. <snip>> When they adjust the volume of the stream, if effects only their > stream, > and not the volume of the stream of the other callers. > > In short: All callers at all times are *always* in the same > conference, > but each caller is able to increase or decrease the volume of "their" > MP3 stream individually.You can use ConfBridge's DTMF menus to allow a participant to change their listening volume. This should only affect the audio that the participant hears, and not the other participants in the conference - regardless of whether or not the audio originates from the same source. [bridge_user_menu] *1=increase_listening_volume 1=increase_listening_volume *2=decrease_listening_volume 2=decrease_listening_volume For more information on setting up DTMF menus and associating them with bridge users, see the ConfBridge article on the Asterisk wiki: https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10> If I'm right the MP3 stream cannot come from inside conference > (MeetMe > or ConfBridge with MOH) because there is no functionality to control > the > volume individually.<snip> No, that's fine. ConfBridge allows you to control the listening/speaking volume of each participant. See above. <snip>> > I don't know where to start. Queue? Local channel? ... >If you wanted to stream your sound from a source other than MOH, using a Local channel may be appropriate. I'm not sure how a Queue would help here. -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org