<div dir="ltr">We ran into this issue and solved it by adding <X-PRE-PROCESS cmd="set" data="audio_spool_path=/tmp"/> to vars.xml. The saves the audio in a temp directory and then copies it to the S3 directory. <br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>><><br>nathan stratton</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 26, 2019 at 12:44 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Why not just uploading the files once it’s been recorded? What’s wrong with that?</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 26 Oct 2019 at 13:45, H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: H Yavari <<a href="mailto:hyavari@rocketmail.com" target="_blank">hyavari@rocketmail.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>, "<a href="mailto:per@wgtwo.com" target="_blank">per@wgtwo.com</a>" <<a href="mailto:per@wgtwo.com" target="_blank">per@wgtwo.com</a>><br>Cc: <br>Bcc: <br>Date: Sat, 26 Oct 2019 12:34:39 +0000 (UTC)<br>Subject: Re: [Freeswitch-users] Voicemail on AWS<br><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div></div>
        <div dir="ltr">As @Per said, there is problem with wave files.</div><div dir="ltr">I know that S3 doesn't support appending to file, so I think FS makes some headers for wave file and then write to it, and on S3 we have just wave headers.</div><div dir="ltr"><br></div><div dir="ltr">If someone has any idea, please share.</div><div dir="ltr"><br></div><div dir="ltr">Regards,</div><div dir="ltr">HY<br></div><div><br></div>
        
        </div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byahoo_quoted_3026314797">
            <div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
                
                <div>
                    On Wednesday, September 25, 2019, 10:21:59 AM GMT+3:30, H Yavari <<a href="mailto:hyavari@rocketmail.com" target="_blank">hyavari@rocketmail.com</a>> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div></div>
        <div dir="ltr">Hi Per,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thank for your hint.</div><div dir="ltr">So you didn't use http_cache right. Do you have the HA for your system also? is it ok with this structure?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Regards,</div><div dir="ltr">H.Yavari</div><div dir="ltr"><br clear="none"></div>
        
        </div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760ydp6081abd6yahoo_quoted_9984488298">
            <div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
                
                <div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760yqtfd74860"></div></div></div></div></div></div></div></div></div><div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byahoo_quoted_3026314797"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760"><div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760ydp6081abd6yahoo_quoted_9984488298"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760yqtfd74860"><div>
                    On Tuesday, September 24, 2019, 09:52:57 PM GMT+3:30, Per Modin <<a href="mailto:per@wgtwo.com" target="_blank">per@wgtwo.com</a>> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div>On 2019-09-23 20:10 (CEST), H Yavari via FreeSWITCH-users <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>> wrote:<br clear="none">> Date: Sun, 22 Sep 2019 09:32:56 +0000 (UTC)<br clear="none">> From: H Yavari <<a shape="rect" href="mailto:hyavari@rocketmail.com" rel="nofollow" target="_blank">hyavari@rocketmail.com</a>><br clear="none">> To: "<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>"<br clear="none">>  <<a shape="rect" href="mailto:freeswitch-users@lists.freeswitch.org" rel="nofollow" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br clear="none">> Subject: Voicemail on AWS<br clear="none">> X-Mailer: WebService/1.1.14303 YMailNorrin Mozilla/5.0 (Windows NT 10.0;<br clear="none">>  Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75<br clear="none">>  Safari/537.36<br clear="none">> <br clear="none">> I am looking for some hints how we can make an voicemail server for<br clear="none">> our company users to have their own voicemail box, then we save all<br clear="none">> voice files on AWS S3.  I see mod_http_cache, but afraid of it's only<br clear="none">> solution or there is better one.<br clear="none"><br clear="none">Hi,<br clear="none"><br clear="none">we used to run on S3, where we mounted the recordings with s3fs-fuse[1]<br clear="none">which we ran successfully on 1.6.20.<br clear="none"><br clear="none">HOWEVER, when we updated to 1.8.5 we ran into problems with the wave<br clear="none">files, the media stream was not saved and we ended up with empty media<br clear="none">containers, with only some meta data of around 250 bytes ended up being<br clear="none">saved. This issue affected about half of all recordings, and we found no<br clear="none">correlation in regards to codecs used etc. If this was an issue with<br clear="none">configuration, s3fs-fuse or Freeswitch we didn't investigate.<br clear="none"><br clear="none">We solved this by moving the storage from S3 to EFS, and are currently<br clear="none">running it in production without issues in that regard.<br clear="none"><br clear="none">[1]: <a shape="rect" href="https://github.com/s3fs-fuse/s3fs-fuse" rel="nofollow" target="_blank">https://github.com/s3fs-fuse/s3fs-fuse</a><br clear="none"><br clear="none">-- <br clear="none">Per Modin<br clear="none">Software Engineer<br clear="none">Working Group Two<br clear="none">m: +46724452037<br clear="none">w: <a shape="rect" href="https://wgtwo.com" rel="nofollow" target="_blank">https://wgtwo.com </a>e: <a shape="rect" href="mailto:per@wgtwo.com" rel="nofollow" target="_blank">per@wgtwo.com</a><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760ydp6081abd6yqtfd92310">_________________________________________________________________________<br clear="none"><br clear="none">The FreeSWITCH project is sponsored by SignalWire <a shape="rect" href="https://signalwire.com" rel="nofollow" target="_blank">https://signalwire.com</a><br clear="none">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br clear="none">Build your next product on our scalable cloud platform.<br clear="none"><br clear="none">Join our online community to chat in real time <a shape="rect" href="https://signalwire.community" rel="nofollow" target="_blank">https://signalwire.community</a><br clear="none"><br clear="none">Professional FreeSWITCH Services<br clear="none"><a shape="rect" href="mailto:sales@freeswitch.com" rel="nofollow" target="_blank">sales@freeswitch.com</a><br clear="none"><a shape="rect" href="https://freeswitch.com" rel="nofollow" target="_blank">https://freeswitch.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a shape="rect" href="https://freeswitch.com/oss" rel="nofollow" target="_blank">https://freeswitch.com/oss</a><br clear="none"><a shape="rect" href="https://freeswitch.org/confluence" rel="nofollow" target="_blank">https://freeswitch.org/confluence</a><br clear="none"><a shape="rect" href="https://cluecon.com" rel="nofollow" target="_blank">https://cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none"><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none"><a shape="rect" href="https://freeswitch.com" rel="nofollow" target="_blank">https://freeswitch.com</a></div></div>
            </div></div><div id="gmail-m_-5292663272910449020m_2283784845727696865ydpeba28c4byiv3088359760yqtfd06303">
        </div></div></div></div></div>
            </div>
        </div></div><br><br><br>---------- Forwarded message ----------<br>From: H Yavari via FreeSWITCH-users <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>, "<a href="mailto:per@wgtwo.com" target="_blank">per@wgtwo.com</a>" <<a href="mailto:per@wgtwo.com" target="_blank">per@wgtwo.com</a>><br>Cc: <br>Bcc: <br>Date: Sat, 26 Oct 2019 05:45:13 -0700 (PDT)<br>Subject: Re: [Freeswitch-users] Voicemail on AWS<br>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>