I believe the mintwo flag is not what you want. Instead you probably want the controls that let you change the enter sound:<div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">conference <conf> enter_sound on|off|none|file <filename></font></div>
<div><br></div><div>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:</div>
<div><br></div><div><font class="Apple-style-span" face="'courier new', monospace"><action application="set" data="api=${conference conference-3000 enter_sound off}"/></font></div><div><br>
</div><div>Hope that helps!</div><div><br></div><div>-MC<br><br><div class="gmail_quote">On Fri, Aug 26, 2011 at 6:41 AM, Mitja Thomas <span dir="ltr"><<a href="mailto:mitja.thomas1@ewetel.de">mitja.thomas1@ewetel.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello List,<br>
<br>
I try to start a conference in mod_conference when the first member<br>
attempts to join. This may sound weird, but the conference is set to<br>
wait for the moderator anyhow and I want to use the enter-sound to play<br>
something like "There is currently no Moderator in this room. Please<br>
hold the line". If the moderator joins, the enter-sound setting will be<br>
set to none from dialplan. I thought I just have to NOT set the mintwo<br>
member flag, but that didnt do the trick.<br>
When the first member (no moderator) join there is no enter-sound, just<br>
the moh file. When the second member joins (no moderator) both get the<br>
enter-sound.<br>
I thought there was a bug with the mintwo flag and I was close to submit<br>
to JIRA because of that, but looking further into the code Im not sure<br>
if the mintwo flag is even supposed to behave the way I want to. It just<br>
kills the conference when less then two users are in it.<br>
<br>
So what I want to know, am I expecting the wrong behaviour from the<br>
mintwo member flag? If so, is there a different approach to tell the<br>
conference users right at the beginning if there is a moderator present<br>
or not.<br>
<br>
Regards,<br>
<br>
Mitja<br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>