<div dir="ltr">Thanks.<div>I found the github repository. </div><div><br></div><div>Are you planning to integrate this into package (I am using debian) ?</div><div><br></div><div>Currently opensips depends on python (which is 2.7) but opensips-cli requires python3</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 12, 2019 at 10:42 AM Vlad Patrascu <<a href="mailto:vladp@opensips.org">vladp@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>The opensipsctl tool does not work anymore with the
      get_statistics command and will be dropped soon anyway. Please try
      the new opensips-cli tool.</p>
    <p>Regards,<br>
    </p>
    <pre class="gmail-m_-5794934685252854238moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="gmail-m_-5794934685252854238moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opensips-2Dsolutions.com&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=368ZylOnjT2wshn1FXVCpUoc03KGvdRujH7v5TjlNwk&e=" target="_blank">http://www.opensips-solutions.com</a></pre>
    <div class="gmail-m_-5794934685252854238moz-cite-prefix">On 04/11/2019 12:54 PM, Konrad Malewski
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">Hello,
                <div><br>
                </div>
                <div>I am using 3.0.0-dev version and I am having
                  problem with opensipsctl command for statistics:</div>
                <div><br clear="all">
                  <div>
                    <div>$opensipsctl fifo get_statistics load-all</div>
                    <div>{</div>
                    <div>   "jsonrpc": "2.0", </div>
                    <div>   "id": "a7cbfd4e", </div>
                    <div>   "error": {</div>
                    <div>      "message": "Invalid params", </div>
                    <div>      "code": -32602</div>
                    <div>   }</div>
                    <div>}</div>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div>$opensipsctl fifo get_statistics load:   </div>
                    <div>{</div>
                    <div>   "jsonrpc": "2.0", </div>
                    <div>   "id": "177e12c6", </div>
                    <div>   "error": {</div>
                    <div>      "message": "Invalid params", </div>
                    <div>      "code": -32602</div>
                    <div>   }</div>
                    <div>}</div>
                  </div>
                  <div><br>
                  </div>
                  <div>the log says: ERROR:core:get_mi_array_param:
                    Parameter: statistics is not an array.</div>
                  <div><br>
                  </div>
                  <div>What is the new syntax ? </div>
                  <div><br>
                  </div>
                  -- <br>
                  <div dir="ltr" class="gmail-m_-5794934685252854238gmail-m_3643651526668338063gmail_signature">
                    <div dir="ltr">
                      <div>-- <br>
                      </div>
                      Konrad Malewski<br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-5794934685252854238mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a class="gmail-m_-5794934685252854238moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="gmail-m_-5794934685252854238moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>-- <br></div>Konrad Malewski<br></div></div>