[asterisk-users] ASterisk CDR file Master.csv
ujjval at simplesignal.com
Fri Aug 27 12:54:30 CDT 2010
Thx Dean. I will be interested in testing that as well.
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dean Hoover
Sent: Friday, August 27, 2010 11:03 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] ASterisk CDR file Master.csv
On 8/27/2010 11:55 AM, Danny Nicholas wrote:
> *From:* asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Tim Nelson
> *Subject:* Re: [asterisk-users] ASterisk CDR file Master.csv
> ----- "Ujjval Karihaloo" <ujjval at simplesignal.com> wrote:
>>How can we set the CDR Master file to rollover at say 30 Meg and create
> a new one
> Use 'logrotate'.
> To "improve" on your answer, set up a shell to check the size of CDR
> master and do a logrotate (/usr/sbin/asterisk -rx "logger rotate") when
> the condition is met. GIYF on this one.
I use logrotate to help with the files in /var/log/asterisk, but it does
nothing with Master.csv. I am working on a script described earlier
that if the file gets larger than a certain number of lines to move them
off to another file and compress for space.
If that is something anyone else is interested in, let me know and I'll
post it when it's working.
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
More information about the asterisk-users