<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Michael,<div><br></div><div>I appreciate the response, where in the code would I need to be looking?</div><div><br></div><div>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><br></div><div>Many thanks</div><div><br></div><div>Jon<br><div><br><br><div dir="ltr"><br><div class="ecxgmail_quote">---------- Forwarded message ----------<br>From: <b class="ecxgmail_sendername">Michael Jerris</b> <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span><br>Date: Thu, Apr 14, 2016 at 3:32 PM<br>Subject: Re: [Freeswitch-users] Voicemail message File Retrieval on Remote Server<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br><br><br>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></span><div><br>On Thursday, April 14, 2016, Jonathan Hunter &lt;<a href="mailto:hunterj91@hotmail.com" target="_blank">hunterj91@hotmail.com</a>&gt; wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr"><div><br></div><div>Hi Guys,</div><div><br></div><div>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><br></div><div>I am now doing this for stored voicemail messages.</div><div><br></div><div>So in voicemail.conf I am changing the storage-dir to the IP of my web server;</div><div><br></div><div><br></div><div>&lt;param name="storage-dir" value="<a href="http://1.2.3.4:88" target="_blank">http://1.2.3.4:88</a>"/&gt;</div><div><br></div><div>Now this pushes the recorded wav file to the server using Put and works well, I just have 2 questions.</div><div><br></div><div>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><br></div><div>And the main question, in terms of when retrieving the voicemail, how is this achieved, as currently I use;</div><div><br></div><div>&lt;action application="voicemail" data="check default ]]..call_context..[[ ]]..sip_from_user..[["/&gt;</div><div><br></div><div>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><br></div><div>Many thanks</div><div><br></div><div>Jon</div>                                               </div></div>
</blockquote></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature"><div dir="ltr"><div>Jonathan Hunter</div>Technical Director /Telephony Developer<div>M:(+44) 7917 190 438</div><div><a href="mailto:Email%3Ajhunter@voxboxcoms.co.uk" target="_blank">Email:jhunter@voxboxcoms.co.uk</a></div><div><br></div></div></div>
</div></div></div>                                               </div></body>
</html>