[asterisk-users] Asterisk 1.6.0 disable cdr account logs?
JR Richardson
jmr.richardson at gmail.com
Mon Oct 29 16:33:39 CDT 2012
> My bad. I sent Igor to the boneyard to fetch 1.6.0.28 and it appears to me
> that by commenting out lines 309-312 and doing a fresh make you eliminate
> the extra files (or make them empty).
>
Appriciate the suggestion but commenting out 309-312 refused to compile:
cdr_csv.c
/* if (!ast_strlen_zero(cdr->accountcode)) {
if (writefile(buf, cdr->accountcode))
ast_log(LOG_WARNING, "Unable to write CSV
record to account file '%s' : %s\n", cdr->a$
*/ }
pbx1:/usr/src/asterisk-1.6.0.28# make
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect
CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk-1.6.0.28/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-1.6.0.28/menuselect'
Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
[CC] cdr_csv.c -> cdr_csv.o
cdr_csv.c:314: error: expected identifier or ‘(’ before ‘return’
cdr_csv.c:315: error: expected identifier or ‘(’ before ‘}’ token
make[1]: *** [cdr_csv.o] Error 1
make: *** [cdr] Error 2
Any other options?
Thanks.
JR
--
JR Richardson
Engineering for the Masses
More information about the asterisk-users
mailing list