Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-16 Thread Jared Smith
On Tue, 2009-07-14 at 00:01 +0200, Benny Amorsen wrote: > Last concern: Does setvar work even for transfers, like accountcode > does? At least in theory, the setvar= setting in sip.conf or iax.conf (or in Asterisk 1.6.0 and later, chan_dahdi.conf) should work just like the Set() dialplan applicati

Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Benny Amorsen
Zeeshan Zakaria writes: > I've just found out that CDR(accountcode) variable can only be 20 > characters long, doesn't matter what size the MySQL column has for it. > > I need to increase it to at least 30 characters. Any idea how this can be > accomplished? As others have said, that requires re

Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Zeeshan Zakaria
I guess I'll shorten the accountcodes for my users. Its a little bit extra work to modify the PHP code, but it is better than playing around with the asterisk on the production server. Thanks for your answers. This information will help me in future. Regards, Zeeshan On Mon, Jul 13, 2009 at 9:3

Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Steve Edwards
On Mon, 13 Jul 2009, Zeeshan Zakaria wrote: > What if I compile it again but on a test machine and then copy cdr.h > over to the production one? Your question demonstrates a lack of understanding of the process of building software. An "h" file is only used during compilation. What you need ar

Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Zeeshan Zakaria
What if I compile it again but on a test machine and then copy cdr.h over to the production one? Zeeshan On Mon, Jul 13, 2009 at 3:58 AM, Alex Balashov wrote: > Zeeshan Zakaria wrote: > > > I've just found out that CDR(accountcode) variable can only be 20 > > characters long, doesn't matter what

Re: [asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Alex Balashov
Zeeshan Zakaria wrote: > I've just found out that CDR(accountcode) variable can only be 20 > characters long, doesn't matter what size the MySQL column has for it. > > I need to increase it to at least 30 characters. Any idea how this can > be accomplished? You will have to go in the source co

[asterisk-users] How to Change size of CDR(accountcode) variable?

2009-07-13 Thread Zeeshan Zakaria
I've just found out that CDR(accountcode) variable can only be 20 characters long, doesn't matter what size the MySQL column has for it. I need to increase it to at least 30 characters. Any idea how this can be accomplished? -- Zeeshan A Zakaria ___ --