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 <[email protected]>wrote: > 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 code and change it. Go into > asterisk-x.y.zz.?/include/asterisk/cdr.h: > > #define AST_MAX_ACCOUNT_CODE 20 > > Then recompile the entire source tree. > > If you didn't install from source, you're out of luck. > > If you don't want to modify the source, you're out of luck. > > -- Alex > > -- > Alex Balashov > Evariste Systems > Web : http://www.evaristesys.com/ > Tel : (+1) (678) 954-0670 > Direct : (+1) (678) 954-0671 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Zeeshan A Zakaria
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
