<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Perfect ! is there any left to be solved, or everything works
      fine ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 14.07.2016 13:33, Nabeel wrote:<br>
    </div>
    <blockquote
cite="mid:CA+vx6KLVosc_AjyfNH8thonDioA6p+44TwVwoGH67qf-=EPzDg@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hi Bogdan, </p>
      <p dir="ltr">I have been able to solve that problem. <br>
        The issue was that I had asterisk compiled with file storage
        enabled instead of ODBC storage. I recompiled asterisk with ODBC
        storage enabled and now database storage is working. </p>
      <p dir="ltr">Thanks. </p>
      <p dir="ltr">Nabeel </p>
      <div class="gmail_quote">On 14 Jul 2016 11:15 a.m., "Bogdan-Andrei
        Iancu" &lt;<a moz-do-not-send="true"
          href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Nabeel,<br>
              <br>
              That means the vmusers and vmaliases do work ok, still the
              VM storage engine does not. Do you have in voicemail.conf
              the following:<br>
                  odbcstorage=asteriskrt<br>
                  odbctable=voicemessages<br>
              <br>
              <br>
              Regards,<br>
            </tt>
            <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <div>On 05.07.2016 08:54, Nabeel wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div class="gmail_extra">I have been able to solve the
                  issue of loading numbers without using the
                  voicemail.conf file. </div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra">After adding the line <i>'voicemail

                    =&gt; odbc,asterisk,vmaliases'</i> to extconfig.cfg,
                  I removed the suffix <span style="font-size:12.8px">"
                    |u " from extensions.conf:</span></div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
                <div class="gmail_extra">
                  <pre style="font-size:0.9em;font-family:&quot;Lucida Console&quot;,&quot;Andale Mono&quot;,&quot;Courier New&quot;,Courier;margin-top:0px;margin-bottom:0px;padding:6px;border:1px solid rgb(235,235,235);color:rgb(102,102,102);line-height:21.5933px;background-color:rgb(251,254,250)">exten =&gt; _VMR_.,n,Voicemail(${EXTEN:4}<b>|u</b>)</pre>
                </div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
                <div class="gmail_extra"><br>
                </div>
                <div class="gmail_extra"><span style="font-size:12.8px">Now
                    all phone numbers in the subscriber table are
                    correctly linked to their mailboxes and I can
                    successfully retrieve voice messages</span><span
                    style="font-size:12.8px">. </span></div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
                <div class="gmail_extra"><span style="font-size:12.8px">I
                    have set 'odbcstorage=asterisk' and
                    'odbctable=voicemessages' in voicemail.conf, but the
                    'voicemessages' table remains empty after leaving a
                    message.</span></div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
                <div class="gmail_extra"><span style="font-size:12.8px">Nabeel</span></div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
                <div class="gmail_extra"><span style="font-size:12.8px"><br>
                  </span></div>
              </div>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>