<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'><div>Hi Guys,</div><div><br></div><div>Great thanks for all the helpful comments, appreciate it!</div><div><br></div><div>I think will go the lua route.</div><div><br></div><div>Many thanks</div><div><br></div><div>Jon<br><br><div dir="ltr"><br><div class="ecxgmail_quote">---------- Forwarded message ----------<br>From: <b class="ecxgmail_sendername">Abaci B</b> <span dir="ltr">&lt;<a href="mailto:abaci64@gmail.com">abaci64@gmail.com</a>&gt;</span><br>Date: Thu, Apr 14, 2016 at 6:20 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><div dir="ltr">if it has to be http there are some fuse filesystems that use http as backend</div><div class="ecxHOEnZb"><div class="h5"><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Thu, Apr 14, 2016 at 1:02 PM, Chris Tunbridge <span dir="ltr">&lt;<a href="mailto:blasterjr@gmail.com" target="_blank">blasterjr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><div><div><div>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!).<br><br></div>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.<br><br></div>I actually opened an issue about this a while back: <a href="https://freeswitch.org/jira/browse/FS-7280" target="_blank">https://freeswitch.org/jira/browse/FS-7280</a>&nbsp; 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.<br></div></div><div><div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Thu, Apr 14, 2016 at 10:06 AM, Nathan Neulinger <span dir="ltr">&lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">I use a gluster filesystem as backend for storage on my FS cluster for media files, logs, etc.<br>
<br>
-- Nathan<br>
<span><br>
On 04/14/2016 10:01 AM, Jonathan Hunter wrote:<br>
&gt; Hi Michael,<br>
&gt;<br>
&gt; I appreciate the response, where in the code would I need to be looking?<br>
&gt;<br>
&gt; Also how are other people doing this? I presume they do some file sync do they to ensure all media servers have the same<br>
&gt; files?<br>
&gt;<br>
&gt; Many thanks<br>
&gt;<br>
&gt; Jon<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
</span><span>&gt; From: *Michael Jerris* &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a> &lt;mailto:<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;&gt;<br>
&gt; Date: Thu, Apr 14, 2016 at 3:32 PM<br>
&gt; Subject: Re: [Freeswitch-users] Voicemail message File Retrieval on Remote Server<br>
</span><span>&gt; To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; 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<br>
&gt; work without modifications to code<br>
&gt;<br>
</span><span>&gt; On Thursday, April 14, 2016, Jonathan Hunter &lt;<a href="mailto:hunterj91@hotmail.com" target="_blank">hunterj91@hotmail.com</a> &lt;mailto:<a href="mailto:hunterj91@hotmail.com" target="_blank">hunterj91@hotmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Hi Guys,<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Quick question, I am centralising Voicemail storage as I am using multiple FreeSWITCH servers, and I have this<br>
&gt;&nbsp; &nbsp; &nbsp;working for recorded Voicemail greetings.<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;I am now doing this for stored voicemail messages.<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;So in voicemail.conf I am changing the storage-dir to the IP of my web server;<br>
&gt;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;&lt;param name="storage-dir" value="<a href="http://1.2.3.4:88" rel="noreferrer" target="_blank">http://1.2.3.4:88</a>"/&gt;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Now this pushes the recorded wav file to the server using Put and works well, I just have 2 questions.<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Locally I see FreeSWITCH creates the domain and extension folders in the original storage directory, can it be<br>
&gt;&nbsp; &nbsp; &nbsp;configured to build them on remove servers or should this be done manually? (which isnt a problem).<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;And the main question, in terms of when retrieving the voicemail, how is this achieved, as currently I use;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;&lt;action application="voicemail" data="check default ]]..call_context..[[ ]]..sip_from_user..[["/&gt;<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;In my Lua scripts, which still checks locally, where do I let the voicemail module know about retrieving, and will<br>
&gt;&nbsp; &nbsp; &nbsp;it just perform a GET ?<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Many thanks<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Jon<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
</span>&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<br>
<span>&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
</span>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<span>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Jonathan Hunter<br>
&gt; Technical Director /Telephony Developer<br>
&gt; M:<a target="_blank">(+44) 7917 190 438</a><br>
</span>&gt; <a href="mailto:Email%3Ajhunter@voxboxcoms.co.uk" target="_blank">Email:jhunter@voxboxcoms.co.uk</a> &lt;mailto:<a href="mailto:Email%253Ajhunter@voxboxcoms.co.uk" target="_blank">Email%3Ajhunter@voxboxcoms.co.uk</a>&gt;<br>
<span>&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
--<br>
</span>------------------------------------------------------------<br>
Nathan Neulinger&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a><br>
Missouri S&amp;T Information Technology&nbsp; &nbsp; <a target="_blank">(573) 612-1412</a><br>
System Administrator - Architect<br>
<div><div><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></div></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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></blockquote></div><br></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></body>
</html>