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

JR Richardson jmr.richardson at gmail.com
Tue Oct 30 10:16:40 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.

Got it, after properly commenting out that section and re-compiling
and reloading cdr_csv.so, I still get the individual account code
CDR's.

Any other suggestions?

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses



More information about the asterisk-users mailing list