Ensure the following line is uncommented in 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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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