[Freeswitch-users] Changing mode for CDRs

Rick Jarvis rick at magicmail.mooo.com
Fri Apr 7 21:43:32 MSD 2017


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 at 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 <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
> 
> On 07.04.2017 19:26, freeswitch-users-request at lists.freeswitch.org <mailto:freeswitch-users-request at lists.freeswitch.org> wrote:
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Fri, 7 Apr 2017 18:25:56 +0100
>> From: Rick Jarvis <rick at magicmail.mooo.com> <mailto:rick at magicmail.mooo.com>
>> Subject: Re: [Freeswitch-users] Changing mode for CDRs
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> <mailto:freeswitch-users at lists.freeswitch.org>
>> Message-ID: <5305262A-7CF9-40FC-A5B8-EB3950F8676E at magicmail.mooo.com> <mailto:5305262A-7CF9-40FC-A5B8-EB3950F8676E at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170407/bd7f7ece/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list