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"><extension name="meetme"><br> <condition field="destination_number" expression="(^MEETME\d\d)" break="on-false"><br>
<action inline="true" application="set" data="member_count=${conference( $1 get count)}"/><br> <action inline="true" application="set" data="member_limit=${sofia_gateway_data( $1 var member_limit)}"/><br>
<action inline="true" application="set" data="dialed_ext=$1"/><br> </condition><br> <condition field="${cond(${member_count} == ${member_limit} ? YES : NO)}" expression="^YES$" break="on-true"><br>
<action application="respond" data="486"/><br> </condition><br> <condition><br> <action application="answer" data="is_conference"/><br> <action application="conference" data="${dialed_ext}@default"/><br>
</condition><br></extension></span><br><br>-Daniel<br><br><br><br><div class="gmail_quote">On Tue, Oct 9, 2012 at 3:24 PM, Dave R. Kompel <span dir="ltr"><<a href="mailto:drk@drkngs.net" target="_blank">drk@drkngs.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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'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'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 class="h5"><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>_________________________________________________________________________<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>