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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org