<p style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:19px;font-family:sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ensure the following line is uncommented in <a href="http://wiki.freeswitch.org/wiki/Cdr_csv.conf.xml" title="Cdr csv.conf.xml" style="text-decoration:none;color:rgb(90,54,150);background-image:none;background-color:initial;background-repeat:initial initial">cdr_csv.conf.xml</a></p>
<pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47,111,171);border-right-color:rgb(47,111,171);border-bottom-color:rgb(47,111,171);border-left-color:rgb(47,111,171);background-color:rgb(255,255,255);line-height:1.1em">
&lt;param name=”rotate-on-hup” value=”true”/&gt;</pre><div><br></div><div>To rotate, execute from commandline:</div><div><br></div><div>killall -HUP freeswitch</div><div><br></div><div>You can add this command to cron so it will be executed automatically.</div>
<div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">2012/2/12 Henrik Aagaard Sørensen <span dir="ltr">&lt;<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m having FS running from the user freeswitch on CentOS 6.<br>
<br>
When calling (as the user root):<br>
/usr/local/freeswitch/bin/fs_cli -x &#39;cdr_csv rotate&#39; &gt;/dev/null<br>
nothing happens. The cdr-records does not get rotated.<br>
<br>
Can anyone help me on why this is happening and how I can rotate the<br>
files as root?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>