[Asterisk-Dev] voicemail message number limits

dking at pimpsoft.com dking at pimpsoft.com
Sat Jul 24 15:12:01 MST 2004

Please don't flame me. It only makes yourself look immature; If I was 
really the one at fault I would be beneath you and you would not fame 
me, but you have and so it is clear I am not.

As to my suggestion I believed that the memory slots for the messages 
did not populate until they where needed; I assumed that basic memory 
management was not something that confounded the people writing the 
code; Having ten or even a million possible buckets does not mean 
that they are all filled with water and a bi-directional linked list 
is really not that hard if you can code something to control the 
phone system.

And just for the record, I have not and can not sign the crap NDA for 
the source, or sign the required fax so It makes no sense that I 
browse the code; It may not be a NDA per-se, but when you require 
paperwork to join a open source project not even 1.0 stable yet your 
requiring too much, and you can not honestly expect people to trust 

I was just trying to help; I may be wrong and in fact I know for a 
fact that I am ignorant to many things regarding asterisk and its 
design (And I have admitted this freely many times), but if you 
really feel that you are so high and mighty and by thus feel that 
disrespecting others by flaming them is a ok thing to do, you should 
also be aware that someone so high and respectable would never do 
such a thing.

On 24 Jul 2004 at 16:03, Tilghman Lesher wrote:

> On Saturday 24 July 2004 15:32, dking at pimpsoft.com 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
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

More information about the asterisk-dev mailing list