Would you mind putting a snippet of your dialplan into our pastebin? (<a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a>) I'm sure the folks here can help you figure it out. With FreeSWITCH there's almost always a way to do it and it's just a matter of figuring out what works for your scenario.<br>
<br>-MC<br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 10:44 AM, Hussein Said <span dir="ltr"><<a href="mailto:Hussein.Said@cassidiancommunications.com" target="_blank">Hussein.Said@cassidiancommunications.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-CA"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal">I have an application that routes a call to an ad-hoc conference. That application then hunts an extension to answer the call by sending a REFER to FreeSWITCH which will send an INVITE from the conference to join. <u></u><u></u></p>
<p class="MsoNormal">I need a way to make the “hunted” extension the moderator so that it can control the conference. <u></u><u></u></p><p class="MsoNormal">I did set a moderator controls profile and can see it works if I change the dial plan(public.xml) to set the “member-flag=moderator”.<u></u><u></u></p>
<p class="MsoNormal">Also, “mod-wait|rfc4579” are set in the conference.conf.xml.<u></u><u></u></p><p class="MsoNormal">My challenge is that when I hunt for an extension and find one, I send a REFER to FREESwitch so that it sends an INVITE to the extension that needs to answer the call, and I could not find a variable that worked in the dialplan that I can use as a condition to set the “member-flag=moderator” for the channel that is about to join the conference. Is what I am attempting feasible?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>