[asterisk-users] Asterisk 1.6.0 disable cdr account logs?

Joshua Colp jcolp at digium.com
Mon Oct 29 16:35:08 CDT 2012


JR Richardson wrote:
>> 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$
> */      }

You need to place the */ after the } or else they are mismatched and 
like you have seen, the universe will explode.

Cheers,

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-users mailing list