<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>you have to tell what kamailio version you are running to know
      what commands are available. Some for lcr are disabled on purpose,
      nobody updated them, as it is written in the output.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 01.04.22 12:48, bayu p wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMy5KNfkMoZLyB3U7y-XWj8aC+FH8CeqVykkpbyifYKs76S+PQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Dear Expert Kamailio,</div>
        <div><br>
        </div>
        <div>I use this tutorial kamctl to make kamailio and other sip
          server communicated<br>
          <a
            href="https://manpages.ubuntu.com/manpages/xenial/man8/kamctl.8.html"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://manpages.ubuntu.com/manpages/xenial/man8/kamctl.8.html</a><br>
          <br>
          but, i cannot found further tutorial how use kamctl.</div>
        <div>Could you please share, the detail/further  tutorial and
          example of kamctl usage..</div>
        <div><br>
        </div>
        <div>Since i always found error/failure during execute some
          command from the link, here captured:</div>
        <div><br>
        </div>
        <div>(1).<br>
          # kamctl cr dump<br>
          -e \E[37;31mERROR: Error opening Kamailio's FIFO
          /var/run/kamailio/kamailio_rpc.fifo<br>
          -e \E[37;31mERROR: Make sure you have loaded the jsonrpcs
          module and set FIFO transport parameters<br>
        </div>
        <div><br>
        </div>
        <div>(2).</div>
        <div># kamctl  lcr show_gws<br>
          -e \E[37;31mERROR: command disabled<br>
          <br>
          (3).</div>
        <div># kamctl  lcr reload<br>
          -e \E[37;31mERROR: command disabled<br>
          <br>
          (4).</div>
        <div># kamctl ping 192.168.31.50<br>
          {<br>
            "jsonrpc":  "2.0",<br>
            "error":  {<br>
              "code": 400,<br>
              "message":  "Invalid request uri \"192.168.31.50\""<br>
            },<br>
            "id": 76608<br>
          }<br>
        </div>
        <div><br>
        </div>
        <div>(5).</div>
        <div># kamctl cr reload<br>
          {<br>
            "jsonrpc":  "2.0",<br>
            "error":  {<br>
              "code": 500,<br>
              "message":  "Method Not Found"<br>
            },<br>
            "id": 76659<br>
          }<br>
          <br>
          <br>
          Warm Regards,<br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div lang="DE">
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <blockquote
style="border-top:none;border-right:none;border-bottom:none;border-left:1pt
                          solid rgb(204,204,204);padding:0cm 0cm 0cm
                          6pt;margin-left:4.8pt;margin-right:0cm">
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  March 28-31, 2022 (Europe Timezone)
  * <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </body>
</html>