<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Channel_Variables#record_post_process_exec_api">http://wiki.freeswitch.org/wiki/Channel_Variables#record_post_process_exec_api</a><br>
<br>
On 12/27/2012 7:36 PM, Michael Collins wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxVHJQ5PmKSvyx8XWJdO9gxrE_=_4zoVfmgCq=c3-m15Xg@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Thu, Dec 27, 2012 at 2:20 PM, Puskás
Zsolt <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:errotan@elder.hu" target="_blank">errotan@elder.hu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><br>
Would be simpler and more reliable to store the file
during the recording on the local machine (hard or RAM
disk) than copy the file after hangup.<br>
</div>
</div>
</blockquote>
<div>+1<br>
<br>
You're better off doing a cron job that copies the files to
the target host, confirms they made it, then deletes the files
from the local host (i.e. the FreeSWITCH box). You could even
write a daemon that runs constantly and waits for a lull in
system activity and moves the files when things are quiet. You
could get really fancy if you wanted to but I think most
sysadmins around here would say: keep it simple, try a cron
job that runs every 10 minutes or so and uses "nice" or
something similar to make sure the copy process doesn't spike
your disk, network, or cpu usage.<br>
<br>
-MC <br>
</div>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>