<html>Dear<br /><br />I have installed kamcli through apt-get install kamcli.<br /><br />Not able to execute the command.<blockquote><p>sipsecure@kamailio:/etc$ sudo kamcli config install<br />Usage: kamcli config [OPTIONS] COMMAND [ARGS]...<br />Try 'kamcli config --help' for help.<br /><br />Error: No such command 'install'.</p></blockquote><br />Then Do I need to uninstall kamcli from apt and install it through git repo ?<br /><br />Best Regards,<br /><br />On Thursday, March 17, 2022 11:09 CET, Daniel-Constantin Mierla <miconda@gmail.com> wrote:<br /> <blockquote type="cite" cite="15b21738-9709-63e3-eeee-efeede64fcd6@gmail.com"> </blockquote><meta http-equiv="Content-Type" content="text/html; "><p>Maybe you didn't install the config file, in the source directory of kamcli, run:</p><p>kamcli config install</p><p>You should use/install latest version kamcli.</p><p>I tried it on my debian 10 and works.</p><p>Daniel</p><div class="moz-cite-prefix">On 17.03.22 10:24, Youssef Boujraf wrote:</div><blockquote type="cite" cite="mid:e24-6232fe00-19-32957180@255769914"><meta http-equiv="content-type" content="text/html; ">Dear,<br /><br />Yes all are available.<br />When using : "etc$ sudo kamcli moni" I got error.<br /><br />It's look like jsonrpc issue.<blockquote><p>sipsecure@kamailio:/etc$ sudo kamcli moni<br />Traceback (most recent call last):<br />  File "/usr/bin/kamcli", line 11, in <module><br />    load_entry_point('kamcli==2.0.0', 'console_scripts', 'kamcli')()<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 829, in call<br />    return self.main(args, kwargs)<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main<br />    rv = self.invoke(ctx)<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke<br />    return _process_result(sub_ctx.command.invoke(sub_ctx))<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke<br />    return ctx.invoke(self.callback, ctx.params)<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke<br />    return callback(args, kwargs)<br />  File "/usr/lib/python3/dist-packages/click/decorators.py", line 73, in new_func<br />    return ctx.invoke(f, obj, *args, kwargs)<br />  File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke<br />    return callback(*args, **kwargs)<br />  File "/usr/lib/python3/dist-packages/kamcli/commands/cmd_moni.py", line 36, in cli<br />    command_ctl(ctx, 'stats.get_statistics', slist, {"func": cmd_moni_result_print})<br />  File "/usr/lib/python3/dist-packages/kamcli/iorpc.py", line 387, in command_ctl<br />    if ctx.gconfig.get('jsonrpc', 'transport') == 'socket':<br />  File "/usr/lib/python3.9/configparser.py", line 781, in get<br />    d = self._unify_values(section, vars)<br />  File "/usr/lib/python3.9/configparser.py", line 1149, in _unify_values<br />    raise NoSectionError(section) from None<br />configparser.NoSectionError: No section: 'jsonrpc'</p></blockquote> Best Regards,<br /><br />On Thursday, March 17, 2022 08:34 CET, Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a> wrote:<br /> <blockquote type="cite" cite="929a1c1c-4211-b844-9ed1-168dfc4e4b2f@gmail.com"> </blockquote> <meta http-equiv="Content-Type" content="text/html; "><p>Hello,</p><p>be sure the common cli tools are installed: grep, egrep, awk, sed, ... Also, it may require to use bash.</p><p>The alternative, try to use kamcli.</p><p>Cheers,<br />Daniel</p><div class="moz-cite-prefix">On 17.03.22 00:40, Youssef Boujraf wrote:</div><blockquote type="cite" cite="mid:e24-62327580-15-32957180@255769848"><meta http-equiv="content-type" content="text/html;
          "><div>Dear,</div><div> </div><div>Kamailio : 5.5.4</div><div>OS : Debian 11</div><div>kamailio.cfg</div><div>loadmodule "kex.so" is included<br /><br />Any idea what is missing in the configuration.<br /><br />Best Regards,<br />Youssef<br /> </div>On Wednesday, March 16, 2022 13:02 CET, "Youssef Boujraf" <a class="moz-txt-link-rfc2396E" moz-do-not-send="true" href="mailto:yboujraf@by-research.be"><yboujraf@by-research.be></a> wrote:<br /> <blockquote type="cite" cite="e24-6231d180-11-32957180@255768495"> </blockquote><p>Dear<br /><br />I am tying to monitor the kamailio with "kamctl monitor" and I got this error.</p><blockquote><p>-e [cycle #: 1; if constant make sure server lives]<br />-e Kamailio Runtime Details:<br />kamailio 5.5.4 (x86_64/linux)<br />    now:  Wed Mar 16 12:44:43 2022<br />    up_since: Wed Mar 16 12:39:51 2022<br />    uptime: 292<br /><br />-e Transaction Statistics:<br />/usr/sbin/kamctl: 245: column: not found<br /><br />-e Stateless Server Statistics:<br />/usr/sbin/kamctl: 259: column: not found<br /><br />-e UsrLoc Statistics:<br />/usr/sbin/kamctl: 273: column: not found<br /><br />-e Core Statistics:<br />/usr/sbin/kamctl: 287: column: not found<br /><br />-e Shared Memory Statistics:<br />/usr/sbin/kamctl: 301: column: not found</p></blockquote> Any idea<br /><br />Best Regards<br /><br />--<br /><span style="font-size:11pt"><span style="font-family:Calibri,
            sans-serif"><b><span style="font-size:10.0pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#1f497d">Youssef</span></span></span></b></span></span><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 moz-txt-link-freetext" moz-do-not-send="true" 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" moz-do-not-send="true" 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" moz-do-not-send="true" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" moz-do-not-send="true" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" moz-do-not-send="true" 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" moz-do-not-send="true" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre><br /><br /><br />--<br /><span style="font-size:11pt"><span style="font-family:Calibri,
          sans-serif"><b><span style="font-size:10.0pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#1f497d">Youssef</span></span></span></b></span></span></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><br /><br /><br />--<br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><b><span style="font-size:10.0pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#1f497d">Youssef BOUJRAF</span></span></span></b> <span style="font-size:10.0pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">| Managing Director</span></span></span><br /><br /><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">Direct Line: +32 (0)2 880 33 30</span></span></span></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">Mobile: +32 (0)477 94 86 89</span></span></span></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">Dubai Mobile : +971 (0)55 9928871</span></span></span></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">Fax: +32 (0)2 318 82 21</span></span></span></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt"><span style="font-family:"Verdana",sans-serif"><span style="color:#7f7f7f">Skype: </span></span></span><a href="callto://y_boujraf/"><span style="font-size:7.5pt"><span style="font-family:"Verdana",sans-serif"><span style="color:#0563c1">y_boujraf</span></span></span></a></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#7f7f7f">Email: </span></span></span><a href="mailto:yboujraf@by-systems.be"><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#0563c1">yboujraf@by-research.be</span></span></span></a></span></span><br /><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">Web : </span></span></span><a href="http://www.by-systems.be/"><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:#0563c1">www.by-systems.be/</span></span></span></a><br /><br /><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:gray"><b>BY-SYSTEMS</b> sprl| Avenue Charles Plisnier 13 | B-1070 Anderlecht | Belgium | TVA: BE 0819.832.617</span></span></span></span></span><div style="text-align:center; margin:0cm 0cm 0.0001pt" align="center"><hr width="100%" size="2" align="center" /></div><span style="font-size:11pt"><span style="font-family:Calibri, sans-serif"><span style="font-size:7.5pt" lang="EN-US"><span style="font-family:"Verdana",sans-serif"><span style="color:gray">This communication, issued by BY-SYSTEMS SPRL, is confidential and we do not waive confidentiality by mistransmission. If you have received it by mistake please notify the sender immediately by reply and then delete it permanently from your system without copying it, using it for any purposes or disclosing its contents to any other person. Thank you for your cooperation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of BY-SYSTEMS SPRL. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks.</span></span></span></span></span><br /> </html>