[Freeswitch-users] Rotate cdr-records as root user (when FS is running from freeswitch user).

Vitalie Colosov vetali100 at gmail.com
Mon Feb 13 05:05:57 MSK 2012


Ensure the following line is uncommented in
cdr_csv.conf.xml<http://wiki.freeswitch.org/wiki/Cdr_csv.conf.xml>

<param name=”rotate-on-hup” value=”true”/>


To rotate, execute from commandline:

killall -HUP freeswitch

You can add this command to cron so it will be executed automatically.




2012/2/12 Henrik Aagaard Sørensen <henrikaagaardsorensen at gmail.com>

> I'm having FS running from the user freeswitch on CentOS 6.
>
> When calling (as the user root):
> /usr/local/freeswitch/bin/fs_cli -x 'cdr_csv rotate' >/dev/null
> nothing happens. The cdr-records does not get rotated.
>
> Can anyone help me on why this is happening and how I can rotate the
> files as root?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20120212/ea1b696e/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list