Thank you sooo much for reporting back what you did. Any chance you can put this on the wiki? If you need any assistance ping me off list.<br>-MC<br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 10:57 AM, Daniel Eiland <span dir="ltr">&lt;<a href="mailto:daniel.eiland@gmail.com" target="_blank">daniel.eiland@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Awesome thanks, just the direction I needed.  Still trying to understand the dial plan and everything else.  <br><br>For anyone else wondering, I created the following dial plan conditions and it seems to do the trick:<br>

<br><span style="font-family:courier new,monospace">&lt;extension name=&quot;meetme&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;(^MEETME\d\d)&quot; break=&quot;on-false&quot;&gt;<br>

        &lt;action inline=&quot;true&quot; application=&quot;set&quot; data=&quot;member_count=${conference( $1 get count)}&quot;/&gt;<br>        &lt;action inline=&quot;true&quot; application=&quot;set&quot; data=&quot;member_limit=${sofia_gateway_data( $1 var member_limit)}&quot;/&gt;<br>

        &lt;action inline=&quot;true&quot; application=&quot;set&quot; data=&quot;dialed_ext=$1&quot;/&gt;<br>    &lt;/condition&gt;<br>    &lt;condition field=&quot;${cond(${member_count} == ${member_limit} ? YES : NO)}&quot; expression=&quot;^YES$&quot; break=&quot;on-true&quot;&gt;<br>

        &lt;action application=&quot;respond&quot; data=&quot;486&quot;/&gt;<br>    &lt;/condition&gt;<br>    &lt;condition&gt;<br>        &lt;action application=&quot;answer&quot; data=&quot;is_conference&quot;/&gt;<br>
        &lt;action application=&quot;conference&quot; data=&quot;${dialed_ext}@default&quot;/&gt;<br>
    &lt;/condition&gt;<br>&lt;/extension&gt;</span><br><br>-Daniel<br><br><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Oct 9, 2012 at 3:24 PM, Dave R. Kompel <span dir="ltr">&lt;<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><u></u>

<div>
<div>Check out the wiki to see the conference API, check the count of members on a conference using that API from the dialplan, and if it&#39;s at the max then use Application=respond, data=486, to blow off the call with a busy.</div>


<div> </div>
<div>Sorry I don&#39;t have the details for you, but I wanted to point you in the right direction ASAP.</div>
<div> </div>
<div>--Dave</div><br>
<blockquote style="BORDER-LEFT:#0000ff 2px solid;PADDING-LEFT:5px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px">
<hr>
<b>From:</b> Daniel Eiland [mailto:<a href="mailto:daniel.eiland@gmail.com" target="_blank">daniel.eiland@gmail.com</a>]<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>

<b>Sent:</b> Tue, 09 Oct 2012 11:27:12 -0700<br><b>Subject:</b> [Freeswitch-users] Reject incoming call (namely session) on conference member limit<div><div><br><br>Hey folks,<br><br>I was poking around the mod_conference settings and saw that I can limit the maximum members in a conference (via the max-members parameter).  However, once this limit is reached, the next incoming call is still answered and played a tone (designated via max-members-sound) before it is simply hung-up.  <br>

<br>In the SIP world, this looks like an INVITE-200-ACK sequence followed by a BYE-200 sequence.  Is there anyway I can skip the BYE-200 sequence and simply reject the call outright with say a 486 response to the INVITE?<br>

<br>Thanks,<br>Daniel<br></div></div></blockquote>


<div> </div>
<div> </div></div><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>_________________________________________________________________________<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><br>