<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I've done this and for exactly the same reason. I moved the files to
    the domain-named path and updated the database using sqlite3. I
    found this in my command history, but you should test first on a
    copy of the db. It's for upgrading from 1.2.quite_old to
    1.4.quite_recent.<br>
    <br>
    $ sqlite3 voicemail_default.db <br>
    sqlite&gt; update voicemail_msgs set file_path='/var/lib' ||
    substr(replace(file_path,'172.16.12.34','pbx.somewhere.net'),11);<br>
    sqlite&gt; update voicemail_msgs set
    file_path=replace(file_path,'172.16.12.34','pbx.somewhere.net');<br>
    sqlite&gt; update voicemail_prefs set greeting_path='/var/lib' ||
    substr(replace(greeting_path,'172.16.12.34','pbx.somewhere.net'),11);<br>
    <br>
    I cannot remember what the '11' was for; I've changed the IP address
    and FQDN so you might need to tune this value; check with SELECTs in
    place of the UPDATEs.<br>
    <br>
    John<br>
    <br>
    <div class="moz-cite-prefix">On 17/11/14 18:08, Ken Rice wrote:<br>
    </div>
    <blockquote cite="mid:D08F95AC.8C6D5%25krice@freeswitch.org"
      type="cite">
      <title>Re: [Freeswitch-users] Moving Voicemails</title>
      <font face="Monaco, Courier New"><span style="font-size:11pt">You
          got it sqlite3 is the way to go... I doubt doing what you are
          trying is heavily documented tho as its not something normally
          done.<br>
          <br>
          But all metadata for voicemail is in the sqlite db and that
          includes file paths etc<br>
          <br>
          <br>
          On 11/17/14 10:07 AM, "Joel White" &lt;<a
            moz-do-not-send="true" href="joelewhite@gmail.com">joelewhite@gmail.com</a>&gt;
          wrote:<br>
          <br>
        </span></font>
      <blockquote><font face="Monaco, Courier New"><span
            style="font-size:11pt">What is the easiest way to make this
            change?<br>
            <br>
            SQLite3 via command line?  Or is there another way to
            manipulate the database?<br>
            <br>
            On Mon, Nov 17, 2014 at 7:22 AM, Avi Marcus &lt;<a
              moz-do-not-send="true" href="avi@avimarcus.net">avi@avimarcus.net</a>&gt;
            wrote:<br>
          </span></font>
        <blockquote><font face="Monaco, Courier New"><span
              style="font-size:11pt">The path isn't dynamically
              generated based on the domain, it's stored per-file in the
              database.<br>
              You can update the db or symlink the folders so they are
              available in the old structure too.<br>
              <font color="#888888">-Avi<br>
                <br>
              </font>On Mon, Nov 17, 2014 at 10:35 AM, Joel White &lt;<a
                moz-do-not-send="true" href="joelewhite@gmail.com">joelewhite@gmail.com</a>&gt;
              wrote:<br>
            </span></font>
          <blockquote><font face="Monaco, Courier New"><span
                style="font-size:11pt">I initially configured my
                FreeSWITCH with an IP address, but now for scalability
                and high availability I am changing to a domain name.  I
                successfully changed the system over, but was wondering
                how do I move the voicemails to the new domain folder
                under voicemail?<br>
                <br>
                The obvious answer is to move the files, I already did
                that and restarted the system.  The existing voicemails
                and greetings are not visible to FreeSWITCH when I call
                voicemail.<br>
                <br>
                How do I transfer them over?  <br>
                <br>
                Thank you in advance for any light you may shed on this
                predicament   <br>
                <br>
_________________________________________________________________________<br>
                Professional FreeSWITCH Consulting Services:<br>
                <a moz-do-not-send="true"
                  href="consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
                <br>
                Official FreeSWITCH Sites<br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
                <a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
                <br>
                FreeSWITCH-users mailing list<br>
                <a moz-do-not-send="true"
                  href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                UNSUBSCRIBE:<a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
              </span></font></blockquote>
          <font face="Monaco, Courier New"><span style="font-size:11pt"><br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true" href="consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
            </span></font></blockquote>
        <font face="Monaco, Courier New"><span style="font-size:11pt"><br>
            <br>
            <hr align="CENTER" size="3" width="95%"></span></font><font
          size="2"><font face="Consolas, Courier New, Courier"><span
              style="font-size:10pt">_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services: <br>
              <a moz-do-not-send="true" href="consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
            </span></font></font></blockquote>
      <font size="2"><font face="Consolas, Courier New, Courier"><span
            style="font-size:10pt"><br>
          </span></font></font><font face="Monaco, Courier New"><span
          style="font-size:11pt">-- <br>
          Ken<br>
          <font color="#0000FF"><u><a moz-do-not-send="true"
                href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><br>
              <a moz-do-not-send="true" href="http://www.ClueCon.com">http://www.ClueCon.com</a><br>
              <a moz-do-not-send="true" href="http://www.OSTAG.org">http://www.OSTAG.org</a><br>
            </u></font>irc.freenode.net #freeswitch<br>
          Twitter: @FreeSWITCH<br>
          <br>
        </span></font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>