[Freeswitch-users] Changing mode for CDRs

Ken Rice krice at freeswitch.org
Fri Apr 7 21:12:15 MSD 2017


You might want to specify which CDR module you are using… there could be different behavior between them… the umask used could be hard coded or could follow umask that FS was executed with

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rick Jarvis
Sent: Friday, April 7, 2017 12:09 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Changing mode for CDRs

 

Still can’t work out where this umask / permissions setting is coming from. Considering writing a hack that will monitor for files and chmod then move them, but I’d rather not add to the complexity. Someone out there must have a clue?! :)

On 7 Apr 2017, at 10:49, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com> > wrote:

 

I’ve tried setting the umask in .profile, .bashrc and even in freeswitch.service but nothing seems to affect it, even after a restart...

On 6 Apr 2017, at 23:02, Joel Serrano <joel at gogii.net <mailto:joel at gogii.net> > wrote:

 

Just a guess here... Have you tried setting the umask for the user launching the freeswitch process before starting it?

 

On Thu, Apr 6, 2017 at 11:10 AM, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com> > wrote:

How do I set the permissions for the CDR files that FreeSWITCH writes? There don’t appear to be any settings that I can find apart from in config.FS0, although changing in this file doesn’t make any difference (and it doesn’t appear to be in typical FS format, I’m not actually sure what it does?!)…

Thanks
R


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> 

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

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> 

 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org <mailto: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 <mailto: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

 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org <mailto: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 <mailto: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/0b48fb2e/attachment.html 


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