<div dir="auto"><div>I got by default installation kamailio version are 5.3.2.<div dir="auto"><br><div dir="auto">If some kamctl command are disabled, what should I used to make my kamailio communicate with other sip server as sip proxy kamailio ?</div><div dir="auto"><br></div><div dir="auto">What should i did to use "least cost routing" modules, such as lcr or carrierroute modules ?</div></div><div dir="auto"><br></div><div dir="auto"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 4, 2022, 22:00 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<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>On 01.04.22 12:48, bayu p wrote:<br>
</div>
<blockquote type="cite">
<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" rel="noreferrer">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></fieldset>
<pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">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 href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" rel="noreferrer">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre cols="72">--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" rel="noreferrer">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank" rel="noreferrer">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" rel="noreferrer">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
March 28-31, 2022 (Europe Timezone)
* <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank" rel="noreferrer">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</div>
</blockquote></div></div></div>