<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The code would be in mod_voicemail. &nbsp;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. &nbsp;Its likely there are more issues, those two are off the top of my head. &nbsp;When we have done this in the past, we have just used nfs.<div class=""><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 14, 2016, at 11:01 AM, Jonathan Hunter &lt;<a href="mailto:hunterj91@hotmail.com" class="">hunterj91@hotmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi Michael,<div class=""><br class=""></div><div class="">I appreciate the response, where in the code would I need to be looking?</div><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">Many thanks</div><div class=""><br class=""></div><div class="">Jon<br class=""><div class=""><br class=""><br class=""><div dir="ltr" class=""><br class=""><div class="ecxgmail_quote">---------- Forwarded message ----------<br class="">From:<span class="Apple-converted-space">&nbsp;</span><b class="ecxgmail_sendername">Michael Jerris</b><span class="Apple-converted-space">&nbsp;</span><span dir="ltr" class="">&lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt;</span><br class="">Date: Thu, Apr 14, 2016 at 3:32 PM<br class="">Subject: Re: [Freeswitch-users] Voicemail message File Retrieval on Remote Server<br class="">To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""><br class=""><br class="">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<div class="ecxHOEnZb"><div class="h5"><span class=""></span><div class=""><br class="">On Thursday, April 14, 2016, Jonathan Hunter &lt;<a href="mailto:hunterj91@hotmail.com" target="_blank" class="">hunterj91@hotmail.com</a>&gt; wrote:<br class=""><blockquote class="ecxgmail_quote" style="border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">Hi Guys,</div><div class=""><br class=""></div><div class="">Quick question, I am centralising Voicemail storage as I am using multiple FreeSWITCH servers, and I have this working for recorded Voicemail greetings.</div><div class=""><br class=""></div><div class="">I am now doing this for stored voicemail messages.</div><div class=""><br class=""></div><div class="">So in voicemail.conf I am changing the storage-dir to the IP of my web server;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">&lt;param name="storage-dir" value="<a href="http://1.2.3.4:88/" target="_blank" class="">http://1.2.3.4:88</a>"/&gt;</div><div class=""><br class=""></div><div class="">Now this pushes the recorded wav file to the server using Put and works well, I just have 2 questions.</div><div class=""><br class=""></div><div class="">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).</div><div class=""><br class=""></div><div class="">And the main question, in terms of when retrieving the voicemail, how is this achieved, as currently I use;</div><div class=""><br class=""></div><div class="">&lt;action application="voicemail" data="check default ]]..call_context..[[ ]]..sip_from_user..[["/&gt;</div><div class=""><br class=""></div><div class="">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 ?</div><div class=""><br class=""></div><div class="">Many thanks</div><div class=""><br class=""></div><div class="">Jon</div></div></div></blockquote></div></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></div></body></html>