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

Jonathan Hunter hunterj91 at hotmail.com
Thu Apr 14 19:01:23 MSD 2016


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>
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>


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> 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

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


-- 
Jonathan HunterTechnical Director /Telephony DeveloperM:(+44) 7917 190 438Email:jhunter at voxboxcoms.co.uk

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160414/fb944a19/attachment.html 


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