<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><tt>Hi Alexey,</tt></p>
    <p><tt>Did you install OpenSIPS 3.0 from the initial release
        packages?  I'm asking<br>
        because 2 months is an eternity in OpenSIPS development land,
        and this issue<br>
        might have been fixed in the meantime (it works for me as of
        now):</tt></p>
    <p><tt>$ opensips-cli -x mi address_dump</tt><tt><br>
      </tt><tt>SQLAlchemy version:  1.3.3</tt><tt><br>
      </tt><tt>{</tt><tt><br>
      </tt><tt>    "Partitions": [</tt><tt><br>
      </tt><tt>        {</tt><tt><br>
      </tt><tt>            "name": "default",</tt><tt><br>
      </tt><tt>            "Destinations": []</tt><tt><br>
      </tt><tt>        }</tt><tt><br>
      </tt><tt>    ]</tt><tt><br>
      </tt><tt>}</tt></p>
    <p><tt>I recommend you install 3.0 from the nightly packages [1] and
        keep them up-to-date<br>
        afterwards, in order to benefit from all the testing/feeback
        loop that our<br>
        community is powering.</tt></p>
    <p><tt>Best regards,<br>
      </tt></p>
    <p><tt>[1]: </tt><tt><a
          href="http://apt.opensips.org/packages.php?v=3.0">http://apt.opensips.org/packages.php?v=3.0</a></tt></p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS 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 15.07.2019 12:50, Alexey Kazantsev
      via Users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1563184224.471085788@f488.i.mail.ru">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Hi list,<br>
      <br>
      the question regarding OpenSIPS-cli for 3.0 version.<br>
      I hope somebody can help me here, even as the project is a
      stand-alone one.<br>
      <br>
      I can not execute 'address_dump' MI command - it needs<br>
      a 'partition' option. I'm doing everything accroding to the
      documentation [1]<br>
      but all in vain:<br>
      <br>
      <p>    (opensips-cli): mi address_dump <br>
            ERROR: command 'address_dump' returned: -32000: Server error<br>
        <br>
            (opensips-cli): mi address_dump partition<br>
            ERROR: command 'address_dump' returned: 404: No such
        partition<br>
        <br>
            (opensips-cli): mi address_dump partition=<br>
            ERROR: command 'address_dump' returned: 404: No such
        partition<br>
        <br>
            (opensips-cli): mi address_dump partition='default'<br>
            ERROR: command 'address_dump' returned: -32000: Server error<br>
        <br>
            (opensips-cli): mi address_dump partition="default"<br>
            ERROR: command 'address_dump' returned: -32000: Server error<br>
        <br>
        I haven't configured a 'partition' option for permissions module
        in fact,<br>
        as there's no such need.</p>
      [1] <a
href="https://opensips.org/html/docs/modules/devel/permissions.html#mi_address_dump"
data-mce-href="https://opensips.org/html/docs/modules/devel/permissions.html#mi_address_dump"
        moz-do-not-send="true">https://opensips.org/html/docs/modules/devel/permissions.html#mi_address_dump</a><br>
      <br>
      <br>
      -----------------------------------------------<br>
      <span data-mce-style="font-size: 15px;" style="font-size: 15px;">BR,
        Alexey</span><br data-mce-style="font-size: 15px;"
        style="font-size: 15px;">
      <span data-mce-style="font-size: 15px;" style="font-size: 15px;"><a class="moz-txt-link-freetext" href="http://alexeyka.zantsev.com/">http://alexeyka.zantsev.com/</a></span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>