<div dir="ltr">maybe look at <span style="background-color:transparent;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;color:rgb(0,0,0);font-size:14px;line-height:18px">inotifywait ( </span><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px"><a href="http://stackoverflow.com/questions/10533200/processing-data-with-inotify-tools-as-a-daemon">http://stackoverflow.com/questions/10533200/processing-data-with-inotify-tools-as-a-daemon</a> )</span></font><div style>

<span style="background-color:transparent;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;color:rgb(0,0,0);font-size:14px;line-height:18px">or </span><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px"><a href="http://code.google.com/p/lsyncd/">http://code.google.com/p/lsyncd/</a></span></font></div>

<div style><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px"><br>

</span></font></div><div style><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"><span style="font-size:14px;line-height:18px">or use inotify in your own daemon if you want.</span></font></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 December 2012 11:29, Abaci <span dir="ltr">&lt;<a href="mailto:abaci64@gmail.com" target="_blank">abaci64@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>His question was about call recording
      not voicemail, not sure if that&#39;s triggered for voicemail (I think
      it is), you can probably add a var in mod_voicemail.c to the
      file_path and use that var in the post_process api/app.<div><div class="h5"><br>
      <br>
      On 12/27/2012 8:08 PM, Avi Marcus wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">That gets triggered for VM too? How do you pass in
        the name of the file that was recorded?
        <div><br clear="all">
          <div>
            <div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
          </div>
          <br>
          <div class="gmail_quote">On Fri, Dec 28, 2012 at 2:50 AM,
            Abaci <span dir="ltr">&lt;<a href="mailto:abaci64@gmail.com" target="_blank">abaci64@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#record_post_process_exec_api" target="_blank">http://wiki.freeswitch.org/wiki/Channel_Variables#record_post_process_exec_api</a>
                  <div>
                    <div><br>
                      <br>
                      On 12/27/2012 7:36 PM, Michael Collins wrote:<br>
                    </div>
                  </div>
                </div>
                <blockquote type="cite">
                  <div>
                    <div><br>
                      <br>
                      <div class="gmail_quote">On Thu, Dec 27, 2012 at
                        2:20 PM, Puskás Zsolt <span dir="ltr">&lt;<a href="mailto:errotan@elder.hu" target="_blank">errotan@elder.hu</a>&gt;</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&#39;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 &quot;nice&quot; or something
                          similar to make sure the copy process doesn&#39;t
                          spike your disk, network, or cpu usage.<br>
                          <br>
                          -MC <br>
                        </div>
                      </div>
                      <br>
                      <br>
                      <fieldset></fieldset>
                      <br>
                    </div>
                  </div>
                  <div>
                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a>
</pre>
                  </div>
                </blockquote>
                    <br>
              </div>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincerely<br><br>Jay
</div>