On Saturday 24 July 2004 15:32, [EMAIL PROTECTED] wrote: > On 23 Jul 2004 at 10:16, Tilghman Lesher wrote: > > On Friday 23 July 2004 06:45, mattf wrote: > > > All you have to do is edit the /asterisk/apps/app_voicemail.c > > > file and change this line: > > > #define MAXMSG 100 > > > > > > change it to whatever you want, we usually change it to 999, > > > then just recompile and install and you're good. > > > > If you reexamine the code, you'll find that a MAXMSG of 999 > > actually limits you one less than necessary -- owing to the fact > > that the first message is message 0, not message 1. Just go with > > a MAXMSG of 1000. > > Or just #include the limits.h for the os in question and use the > max value possible for the chosen data type. That sounds like a > idea to me.
It's a rather stupid idea. The maximum value for that data type would consume 4 GB of memory on a 32-bit architecture and far more on a 64-bit architecture. Please go read the code and understand what you're talking about, before you go make another stupid suggestion. -- Tilghman _______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev