Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs?
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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs?
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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs?
Just add noload=cdr_csv.so to modules.conf -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of JR Richardson Sent: Friday, October 19, 2012 5:09 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk 1.6.0 disable cdr account logs? Hi All, I would like to disable the cdr account logs but in 1.6.0 but the 'accountlogs=no' switch is not available till 1.8 as far as I can tell. Is the any switch I can turn off int he Mkae file for the cdr_csv.so module to disable accountcode logs? Thanks. JR -- JR Richardson Engineering for the Masses -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs?
Just add noload=cdr_csv.so to modules.conf -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of JR Richardson Sent: Friday, October 19, 2012 5:09 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk 1.6.0 disable cdr account logs? Hi All, I would like to disable the cdr account logs but in 1.6.0 but the 'accountlogs=no' switch is not available till 1.8 as far as I can tell. Is the any switch I can turn off int he Mkae file for the cdr_csv.so module to disable accountcode logs? Correct me if I'm wrong, if I noload=cdr_csv.so, won't that disable all csv CDR's. I still want the Master CSV file with account code, what I don't want is a seperate CSV CDR for each accountcode generated. Thanks. JR -- JR Richardson Engineering for the Masses -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs?
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). -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of JR Richardson Sent: Monday, October 22, 2012 11:58 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Asterisk 1.6.0 disable cdr account logs? Just add noload=cdr_csv.so to modules.conf -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of JR Richardson Sent: Friday, October 19, 2012 5:09 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Asterisk 1.6.0 disable cdr account logs? Hi All, I would like to disable the cdr account logs but in 1.6.0 but the 'accountlogs=no' switch is not available till 1.8 as far as I can tell. Is the any switch I can turn off int he Mkae file for the cdr_csv.so module to disable accountcode logs? Correct me if I'm wrong, if I noload=cdr_csv.so, won't that disable all csv CDR's. I still want the Master CSV file with account code, what I don't want is a seperate CSV CDR for each accountcode generated. Thanks. JR -- JR Richardson Engineering for the Masses -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Asterisk 1.6.0 disable cdr account logs?
Hi All, I would like to disable the cdr account logs but in 1.6.0 but the 'accountlogs=no' switch is not available till 1.8 as far as I can tell. Is the any switch I can turn off int he Mkae file for the cdr_csv.so module to disable accountcode logs? Thanks. JR -- JR Richardson Engineering for the Masses -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users