Hi Guys, Great thanks for all the helpful comments, appreciate it! I think will go the lua route. Many thanks Jon ---------- Forwarded message ---------- From: Abaci B <abaci64@gmail.com> Date: Thu, Apr 14, 2016 at 6:20 PM Subject: Re: [Freeswitch-users] Voicemail message File Retrieval on Remote Server To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> 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@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@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@jerris.com <mailto:mike@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@lists.freeswitch.org <mailto:freeswitch-users@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@hotmail.com <mailto:hunterj91@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@freeswitch.org <mailto:consulting@freeswitch.org>
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
--
Jonathan Hunter
Technical Director /Telephony Developer
M:(+44) 7917 190 438
Email:jhunter@voxboxcoms.co.uk <mailto:Email%3Ajhunter@voxboxcoms.co.uk>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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@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 HunterTechnical Director /Telephony DeveloperM:(+44) 7917 190 438Email:jhunter@voxboxcoms.co.uk