[Freeswitch-users] Voicemail message File Retrieval on Remote Server

Abaci B abaci64 at gmail.com
Thu Apr 14 21:20:58 MSD 2016


if it has to be http there are some fuse filesystems that use http as
backend

On Thu, Apr 14, 2016 at 1:02 PM, Chris Tunbridge <blasterjr at gmail.com>
wrote:

> Jonathan, i just wanted to give my feedback in regaurds to this, i
> recommend going a different route, such as GlusterFS or writing your own
> voicemail in lua (really its not that hard!).
>
> The issues that i ran into while trying to use http was that freeswitch
> wasn't able to check that the file existed and it would break certain
> functions such as the email voicemail and with things such as greetings, it
> would end up either creating empty directories or not returning success
> when saving.
>
> I actually opened an issue about this a while back:
> https://freeswitch.org/jira/browse/FS-7280  there was some discussion on
> how it could be handled, however i think the easier route is to either use
> a shared filesystem setup like GlusterFS or to write your own voicemail
> module.
>
> On Thu, Apr 14, 2016 at 10:06 AM, Nathan Neulinger <nneul at mst.edu> wrote:
>
>> I use a gluster filesystem as backend for storage on my FS cluster for
>> media files, logs, etc.
>>
>> -- Nathan
>>
>> On 04/14/2016 10:01 AM, Jonathan Hunter wrote:
>> > Hi Michael,
>> >
>> > I appreciate the response, where in the code would I need to be looking?
>> >
>> > Also how are other people doing this? I presume they do some file sync
>> do they to ensure all media servers have the same
>> > files?
>> >
>> > Many thanks
>> >
>> > Jon
>> >
>> >
>> >
>> > ---------- Forwarded message ----------
>> > From: *Michael Jerris* <mike at jerris.com <mailto:mike at jerris.com>>
>> > Date: Thu, Apr 14, 2016 at 3:32 PM
>> > Subject: Re: [Freeswitch-users] Voicemail message File Retrieval on
>> Remote Server
>> > To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org
>> <mailto:freeswitch-users at lists.freeswitch.org>>
>> >
>> >
>> > This is pretty clever but I think there are too many things in the code
>> that assume it's a local directory for this to
>> > work without modifications to code
>> >
>> > On Thursday, April 14, 2016, Jonathan Hunter <hunterj91 at hotmail.com
>> <mailto:hunterj91 at hotmail.com>> wrote:
>> >
>> >
>> >     Hi Guys,
>> >
>> >     Quick question, I am centralising Voicemail storage as I am using
>> multiple FreeSWITCH servers, and I have this
>> >     working for recorded Voicemail greetings.
>> >
>> >     I am now doing this for stored voicemail messages.
>> >
>> >     So in voicemail.conf I am changing the storage-dir to the IP of my
>> web server;
>> >
>> >
>> >     <param name="storage-dir" value="http://1.2.3.4:88"/>
>> >
>> >     Now this pushes the recorded wav file to the server using Put and
>> works well, I just have 2 questions.
>> >
>> >     Locally I see FreeSWITCH creates the domain and extension folders
>> in the original storage directory, can it be
>> >     configured to build them on remove servers or should this be done
>> manually? (which isnt a problem).
>> >
>> >     And the main question, in terms of when retrieving the voicemail,
>> how is this achieved, as currently I use;
>> >
>> >     <action application="voicemail" data="check default
>> ]]..call_context..[[ ]]..sip_from_user..[["/>
>> >
>> >     In my Lua scripts, which still checks locally, where do I let the
>> voicemail module know about retrieving, and will
>> >     it just perform a GET ?
>> >
>> >     Many thanks
>> >
>> >     Jon
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org <mailto:
>> FreeSWITCH-users at lists.freeswitch.org>
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>> >
>> > --
>> > Jonathan Hunter
>> > Technical Director /Telephony Developer
>> > M:(+44) 7917 190 438
>> > Email:jhunter at voxboxcoms.co.uk <mailto:Email%3Ajhunter at voxboxcoms.co.uk
>> >
>> >
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.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
>> > http://www.freeswitch.org
>> >
>>
>> --
>> ------------------------------------------------------------
>> Nathan Neulinger                       nneul at mst.edu
>> Missouri S&T Information Technology    (573) 612-1412
>> System Administrator - Architect
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160414/b94531e5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list