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

Teemu Harju teemu.harju at gmail.com
Tue Jan 23 23:42:35 MST 2007


Oh, ok. Thanks for that info. I'm just using BRIstuffed patches
(http://www.junghanns.net/en/download.html) for the asterisk and the
version that the patches were made for was 1.2.10. But now it seems
that those are available for 1.2.14. Is this feature fixed in that
release?

Regards,

Teemu

On 1/23/07, Russell Bryant <russell at digium.com> wrote:
> 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.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>


-- 
Teemu Harju
http://www.teemuharju.net


More information about the asterisk-dev mailing list