Hello- I'm using the "accountcode" field in cdr table to store some temporary information used by my perl scripts. I'm finding that the field seems to be truncated to 19 characters, even though the allocated field in the table is larger (varchar(45)). Anyone familiar with the asterisk sources know where I can make a change to keep this from happening? ie: to allow more characters to be stored here. I could not see where this is limited in the source code (pbx.c). Thanks! Scott M. Stingel Emerging Voice Technology Inc.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 08 September 2003 11:10, Scott Stingel wrote:> Anyone familiar with the asterisk sources know where I can make a change to > keep this from happening? ie: to allow more characters to be stored here. > I could not see where this is limited in the source code (pbx.c).Line 67 in include/asterisk/cdr.h - -- Regards, Tais M. Hansen ComX Networks Tel: +45-70257474 Fax: +45-70257374 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/XF6N2TEAILET3McRAhztAJwPip5Sb0Xv9QzZe9uzk9XoEBoXGgCcCRjK uHBForE5bJUUVgSPrzRwfS0=C90c -----END PGP SIGNATURE-----
> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Tais M. Hansen > Sent: Monday, September 08, 2003 11:49 AM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] cdr_mysql question: accountcode >> > On Monday 08 September 2003 11:10, Scott Stingel wrote: > > Anyone familiar with the asterisk sources know where I can > make a change to > > keep this from happening? ie: to allow more characters to > be stored here. > > I could not see where this is limited in the source code (pbx.c). > > Line 67 in include/asterisk/cdr.h > > - -- > Regards, > Tais M. Hansen > ComX Networks > Tel: +45-70257474 > Fax: +45-70257374of course - would seem obvious! (as I smack myself in the head) Thanks Scott M. Stingel Emerging Voice Technology Inc. Email: scott@evtmedia.com <mailto:scott@evtmedia.com> URL: www.evtmedia.com <http://www.evtmedia.com>