[Freeswitch-users] Start Conference with first user
Mitja Thomas
mitja.thomas1 at ewetel.de
Tue Aug 30 10:44:36 MSD 2011
Hi Michael,
what you suggest is exactly what I was trying to do. Actually it does
work: I can join with a couple of non_moderators and get the enter_sound
as soon as the second one joins. when the moderator joins the
enter_sound is turned off.
But my initial Problem remains. When just one participant joins there is
no enter_sound because the conference did not start yet. So if someone
joins he waits and waits and all of a sudden (when the second one joins)
the sound gets played. So what I was looking for was a way to start the
conference, when the first participant joins.
I managed to get the sound working the way I want. Ignoring the
enter_sound and just playing the sound from dialplan after checking if a
moderator is present in the given conference room.
Still I think that the other way might be interessting not just for me.
Thanks for your time MC, answering every stupid question the list spits
out :)
Mitja
> I believe the mintwo flag is not what you want. Instead you probably
> want the controls that let you change the enter sound:
>
> conference <conf> enter_sound on|off|none|file <filename>
>
> So when the conference is first created it will use whatever is in the
> conference profile for the enter sound and then when the conference
> moderator joins you can use the api trick disable or change the enter
> sound. Let's say the name of the conference is "conference-3000" and
> you just want to turn off the enter sound. You could do something
> like this in the dialplan right before sending the moderator into the
> conference:
>
> <action application="set" data="api=${conference conference-3000
> enter_sound off}"/>
>
> Hope that helps!
>
> -MC
>
> On Fri, Aug 26, 2011 at 6:41 AM, Mitja Thomas <mitja.thomas1 at ewetel.de
> <mailto:mitja.thomas1 at ewetel.de>> wrote:
>
> Hello List,
>
> I try to start a conference in mod_conference when the first member
> attempts to join. This may sound weird, but the conference is set to
> wait for the moderator anyhow and I want to use the enter-sound to
> play
> something like "There is currently no Moderator in this room. Please
> hold the line". If the moderator joins, the enter-sound setting
> will be
> set to none from dialplan. I thought I just have to NOT set the mintwo
> member flag, but that didnt do the trick.
> When the first member (no moderator) join there is no enter-sound,
> just
> the moh file. When the second member joins (no moderator) both get the
> enter-sound.
> I thought there was a bug with the mintwo flag and I was close to
> submit
> to JIRA because of that, but looking further into the code Im not sure
> if the mintwo flag is even supposed to behave the way I want to.
> It just
> kills the conference when less then two users are in it.
>
> So what I want to know, am I expecting the wrong behaviour from the
> mintwo member flag? If so, is there a different approach to tell the
> conference users right at the beginning if there is a moderator
> present
> or not.
>
> Regards,
>
> Mitja
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
Mitja Thomas
Vertrieb Geschäftskunden
Branchenlösungen / Service Entwicklung
Telefon: +49 (0) 441 - 8000-4916
E-Mail: mitja.thomas at ewe.de
EWE TEL GmbH
Cloppenburger Straße 310
26133 Oldenburg
E-Mail: info at ewe.de
Internet: www.ewe.de
Handelsregister Amtsgericht Oldenburg HRB 3723
Vorsitzender des Aufsichtsrates: Dr. Werner Brinker
Geschäftsführung: Konrad Meier (Vorsitzender), Dirk Brameier, Ulf Heggenberger, Norbert Westfal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110830/75d29e62/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list