[Freeswitch-users] Voicemail on AWS

Nathan Stratton nathan at robotics.net
Wed Oct 30 21:18:41 UTC 2019


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.

><>
nathan stratton


On Sat, Oct 26, 2019 at 12:44 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Why not just uploading the files once it’s been recorded? What’s wrong
> with that?
>
> On Sat, 26 Oct 2019 at 13:45, H Yavari via FreeSWITCH-users <
> freeswitch-users at lists.freeswitch.org> wrote:
>
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: H Yavari <hyavari at rocketmail.com>
>> To: freeswitch-users at lists.freeswitch.org, "per at wgtwo.com" <per at wgtwo.com
>> >
>> Cc:
>> Bcc:
>> Date: Sat, 26 Oct 2019 12:34:39 +0000 (UTC)
>> Subject: Re: [Freeswitch-users] Voicemail on AWS
>> As @Per said, there is problem with wave files.
>> 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.
>>
>> If someone has any idea, please share.
>>
>> Regards,
>> HY
>>
>> On Wednesday, September 25, 2019, 10:21:59 AM GMT+3:30, H Yavari <
>> hyavari at rocketmail.com> wrote:
>>
>>
>> Hi Per,
>>
>> Thank for your hint.
>> So you didn't use http_cache right. Do you have the HA for your system
>> also? is it ok with this structure?
>>
>> Regards,
>> H.Yavari
>>
>> On Tuesday, September 24, 2019, 09:52:57 PM GMT+3:30, Per Modin <
>> per at wgtwo.com> wrote:
>>
>>
>> On 2019-09-23 20:10 (CEST), H Yavari via FreeSWITCH-users <
>> freeswitch-users at lists.freeswitch.org> wrote:
>> > Date: Sun, 22 Sep 2019 09:32:56 +0000 (UTC)
>> > From: H Yavari <hyavari at rocketmail.com>
>> > To: "freeswitch-users at lists.freeswitch.org"
>> >  <freeswitch-users at lists.freeswitch.org>
>> > Subject: Voicemail on AWS
>> > X-Mailer: WebService/1.1.14303 YMailNorrin Mozilla/5.0 (Windows NT 10.0;
>> >  Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75
>> >  Safari/537.36
>> >
>> > I am looking for some hints how we can make an voicemail server for
>> > our company users to have their own voicemail box, then we save all
>> > voice files on AWS S3.  I see mod_http_cache, but afraid of it's only
>> > solution or there is better one.
>>
>> Hi,
>>
>> we used to run on S3, where we mounted the recordings with s3fs-fuse[1]
>> which we ran successfully on 1.6.20.
>>
>> HOWEVER, when we updated to 1.8.5 we ran into problems with the wave
>> files, the media stream was not saved and we ended up with empty media
>> containers, with only some meta data of around 250 bytes ended up being
>> saved. This issue affected about half of all recordings, and we found no
>> correlation in regards to codecs used etc. If this was an issue with
>> configuration, s3fs-fuse or Freeswitch we didn't investigate.
>>
>> We solved this by moving the storage from S3 to EFS, and are currently
>> running it in production without issues in that regard.
>>
>> [1]: https://github.com/s3fs-fuse/s3fs-fuse
>>
>> --
>> Per Modin
>> Software Engineer
>> Working Group Two
>> m: +46724452037
>> w: https://wgtwo.com e: per at wgtwo.com
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: H Yavari via FreeSWITCH-users <
>> freeswitch-users at lists.freeswitch.org>
>> To: freeswitch-users at lists.freeswitch.org, "per at wgtwo.com" <per at wgtwo.com
>> >
>> Cc:
>> Bcc:
>> Date: Sat, 26 Oct 2019 05:45:13 -0700 (PDT)
>> Subject: Re: [Freeswitch-users] Voicemail on AWS
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191030/629ee4fb/attachment-0001.html>


More information about the FreeSWITCH-users mailing list