[asterisk-dev] Size of realtime appdata field under MySQL

Peter Spikings peter.spikings at power.net.uk
Tue Aug 22 03:08:40 MST 2006


That seems to have sorted it. Patch attached.

Peter.

On Tue, 2006-08-22 at 10:39 +0100, Peter Spikings wrote:
> Sorry, going to answer my own post for the benefit of anyone else who
> has this problem ;)
> 
> I got a bit confused by the verbose logging which prints out a truncated
> (to 256) version of what it's trying to do but there is a limit which is
> imposed by realtime_exec in pbx/pbx_realtime.c of 512 (or 511) as it
> declares a buffer statically for the appdata. I suspect it might be
> worth writing a little patch to increase that to 8192 as it does
> elsewhere if the LOW_MEMORY flag hasn't been set in the Makefile??
> 
> Thanks,
> 
> Peter.
> 
> On Tue, 2006-08-22 at 09:36 +0100, Peter Spikings wrote:
> > Hi all,
> > 
> > I'm trying to use a bigger appdata column for realtime, the reason being
> > that I'm moving to a new setup where the SIP devices are named according
> > to the name of the user and some of my dial/page commands need to dial a
> > goodly number of phones which then exceeds the 255 max size of the
> > column. I've tried turning the column into a text and Asterisk copes
> > with that but still truncates it somewhere. Could someone point in the
> > direction of where Asterisk interface truncates this? I've had a look
> > through the code and it's not obvious ;) I think I've established that
> > it's not the MySQL realtime interface but I got lost when I ventured
> > into the guts of Asterisk.
> > 
> > TIA,
> > 
> > Peter.
> > This message has been comprehensively scanned for viruses,
> > please visit http://www.avg.power.net.uk/ for details.
> > _______________________________________________
> > --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
> This message has been comprehensively scanned for viruses,
> please visit http://www.avg.power.net.uk/ for details.
> _______________________________________________
> --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
This message has been comprehensively scanned for viruses,
please visit http://www.avg.power.net.uk/ for details.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: appdata-size.patch
Type: text/x-patch
Size: 462 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20060822/07aed64f/appdata-size.bin


More information about the asterisk-dev mailing list