[asterisk-dev] How to increase the maximum length of the mailbox parameters in Voicemail?

Russell Bryant russell at digium.com
Tue Jan 23 09:47:54 MST 2007


Teemu Harju wrote:
> I looked the source (btw I'm using asterisk 1.2.10) of
> apps/app_voicemail.c and there the leave_voicemail function. The
> string seems to be passed there and copied to a tmp variable of length
> 256. I increased the size a bit, but it seems like the string is cut
> somewhere already before the leave_voicemail application and I can get
> only 510 first charachters of that string in leave_voicemail. Probably
> it is cut somewhere where the string is loaded from the configuration.
> 
> Is it easy to increase this value? I'm not too competent C-coder, so
> if it will get too messy I will not try it. But if it is only a matter
> of increasing some buffer size then I would appreciate the help.

This was resolved months ago.  You really should be using the latest 
version before you go diving into a problem.

-- 
Russell Bryant
Software Engineer
Digium, Inc.


More information about the asterisk-dev mailing list