<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Be careful there, the size of a int is not statically defined in c.
The rules in the standard that applies to an int is as follows:<br>
<br>
<tt>An <code>int</code> must not be larger than a <code>long int</code><br>
A <code>long int</code> must be at least 32 bits long int<br>
An <code>int</code> must be at least 16 bits long. <br>
</tt><br>
So an int is at least 16 bits (thus max value of 2^15-1) but there is
no upper limit. I've found that in most modern systems and compilers;
I've done a fair bit of programming<br>
and in most modern systems, ints are 32 bits (max value of 2^31-1)<br>
<br>
Danny Nicholas wrote:
<blockquote cite="mid:3E52E9EDDC23420E87EB72D92934A0F5@db0005"
type="cite">
<pre wrap="">In my meetme.c, users is defined as an int on line 328. This gives a
possibility of 35768 people in a conference. If you cbanged that to a
signed char, you would limit it to 127.
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Noah Miller
Sent: Thursday, November 20, 2008 3:59 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Limit the number of users in a meetme conference?
Hi -
I found the "maxusers" defined in meetme.c, but I'm not sure how this
value is set. Does anybody know if one can limit the number of users
permitted in a meetme conference? I know there's MeetmeCount(), but
I'd rather avoid the dialplan logic and just set maxusers instead.
Thanks,
Noah
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font face="Arial"><b>Singer Wang</b><br>
<i>System and Database Engineer</i><br>
The Pythian Group<br>
</font>
<hr><font face="Courier,monospace">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>Office: </td>
<td> </td>
<td>(613) 565-8696 x298</td>
</tr>
<tr>
<td>Toll Free: </td>
<td> </td>
<td>(877) 798-4426 x298</td>
</tr>
<tr>
<td>Fax: </td>
<td> </td>
<td>(613) 565-8710</td>
</tr>
<tr>
<td>Email: </td>
<td> </td>
<td><a class="moz-txt-link-abbreviated" href="mailto:wang@pythian.com">wang@pythian.com</a></td>
</tr>
<tr>
<td>MSN: </td>
<td> </td>
<td><a class="moz-txt-link-abbreviated" href="mailto:pythianwang@hotmail.com">pythianwang@hotmail.com</a></td>
</tr>
<tr>
<td>Yahoo: </td>
<td> </td>
<td>pythianwang</td>
</tr>
<tr>
<td>AIM: </td>
<td> </td>
<td>pythianwang</td>
</tr>
<tr>
<td>ICQ: </td>
<td> </td>
<td>201253</td>
</tr>
<tr>
<td>Gadu-Gadu: </td>
<td> </td>
<td>6817795</td>
</tr>
<tr>
<td>Tencent QQ: </td>
<td> </td>
<td>858310404</td>
</tr>
</tbody>
</table>
</font>
</div>
</body>
</html>