Thanks Dan - did you use this in conjunction with a file watcher, presumably, to maintain some kind of realtime? 

You say you ‘used to’ use it, does that mean it’s FS version thing? What I can’t work out is that there are older cdrs in the directory that have 770 permissions, yet I haven’t updated FS or anything like that, so I can’t work out why they would now be writing out with 700 perms!?

On 7 Apr 2017, at 18:38, DanB <danb.lists@gmail.com> wrote:

Hi Rick,

We used to use this script:

https://github.com/cgrates/cgrates/blob/master/data/scripts/freeswitch_cdr_csv_rotate.sh

Let me know if any issues with it (there is some time since I have last checked it).


DanB


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Apr 2017 18:25:56 +0100
From: Rick Jarvis <rick@magicmail.mooo.com>
Subject: Re: [Freeswitch-users] Changing mode for CDRs
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Message-ID: <5305262A-7CF9-40FC-A5B8-EB3950F8676E@magicmail.mooo.com>
Content-Type: text/plain; charset="utf-8"

Thanks Ken, yes good point! It?s cdr_csv, trying to get cgrates to read the csv files.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org