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:

An |int| must not be larger than a |long int|
A |long int| must be at least 32 bits long int
An |int| must be at least 16 bits long. 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
and in most modern systems, ints are 32 bits (max value of 2^31-1)

Danny Nicholas wrote:
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
*Singer Wang*
/System and Database Engineer/
The Pythian Group
------------------------------------------------------------------------
Office:                 (613) 565-8696 x298
Toll Free:              (877) 798-4426 x298
Fax:            (613) 565-8710
Email:          [EMAIL PROTECTED]
MSN:            [EMAIL PROTECTED]
Yahoo:          pythianwang
AIM:            pythianwang
ICQ:            201253
Gadu-Gadu:              6817795
Tencent QQ:             858310404

begin:vcard
fn:Singer Wang
n:Wang;Singer
email;internet:[EMAIL PROTECTED]
tel;work:(613) 565-8696 x298
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to