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

Reply via email to