[Freeswitch-users] Voicemail message File Retrieval on Remote Server
Michael Jerris
mike at jerris.com
Thu Apr 14 19:27:52 MSD 2016
The code would be in mod_voicemail. I know there is some stuff in there for creating the directories, that obviously doesn't deal with stream format for files (hence why you get those empty directories), also there are places we are checking if a file exists, I suspect thats whats wrong with playing files. Its likely there are more issues, those two are off the top of my head. When we have done this in the past, we have just used nfs.
> On Apr 14, 2016, at 11:01 AM, Jonathan Hunter <hunterj91 at hotmail.com> 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 <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160414/20737bd4/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list