<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Probably we should put this information somewhere in the wiki,
for now here is sort of short presentation for each:</p>
<p><br>
</p>
<p>1) kamctl and kamdbctl are related, both being shell scripts
(developed over the time from the old serctl/openserctl), the
first is for interacting with a kamailio instances, the second is
only for creating (and managing) the database structure needed by
kamailio</p>
<p><br>
</p>
<p>2) kamcmd is practically only a binary rpc client that interacts
with ctl module from kamailio -- this was developed by SER project
during 2005-2008 (when we were separately)</p>
<p><br>
</p>
<p>3) kamcli is written in Python and aims to become a (better)
alternative to kamctl (and kamdbctl), with a plugin like
architecture to extend it with new subcommands, more flexibility
(e.g., modules/libs from python that can be used) and better error
handling</p>
<p><br>
</p>
<p>For example, adding a new subcommand for kamcli means adding a
python script inside commands folder. This comes handy if you have
a kamailio installation using a custom database table that you
access via sqlops -- with few lines of python script you can add a
subcommand to manage its records (add/remove/update), doing
validation of the values with python expressions to avoid
inserting invalid records...</p>
<p><br>
</p>
<p>Another nice feature of kamcli vs kamctl is the ability to choose
the format for output -- e.g., jsonrpc response can be presented
in a compact form as yaml instead of json.</p>
<p><br>
</p>
<p>Overall, kamctl and kamdbctl are part of kamailio source tree and
packaged inside kamailio debs/rpms, likely to stay so, no plans to
replace/remove them, at least in the near future.</p>
<p><br>
</p>
<p>kamcli is a separate repository
(<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamcli">https://github.com/kamailio/kamcli</a>) and it is going to have its
own deb/rpm file (actually Victor already built the deb package,
available via deb.kamailio.org repositories).<br>
</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 16.10.18 15:41, Samuel F. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM5PR17MB0986DA41A48DAFFACD2907C0C3FE0@DM5PR17MB0986.namprd17.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Great and thank you!</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Is there a writeup on how these tools differ and what one should
use?</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
kamcmd</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
kamcli</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
kamctl</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style=" font-size: 16px; background-color: rgb(255, 255,
255); display: inline !important">kamdbctl</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.kamailio.org"><sr-users-bounces@lists.kamailio.org></a> on behalf
of Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
<b>Sent:</b> Tuesday, October 16, 2018 10:03<br>
<b>To:</b> Kamailio (SER) - Devel Mailing List; Kamailio (SER)
- Users Mailing List; <a class="moz-txt-link-abbreviated" href="mailto:business@lists.kamailio.org">business@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] kamcli v1.1.0 released</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">Hello,<br>
<br>
kamcli tool just got its first official release, a step
forward in the<br>
process of packaging it.<br>
<br>
It is a command line tool that aims to be a modern
alternative to the<br>
venerable kamctl, being written in Python and having
already a large set<br>
of implemented sub-commands, such as:<br>
<br>
* subscriber – manage SIP subscribers<br>
* ul – manage user location records<br>
* address – manage permissions address records<br>
* aliasdb – manage database aliases<br>
* db – manage kamailio database content<br>
* dialog – manage active calls (dialog)<br>
* dialplan – manage dialplan records<br>
* dispatcher – manage load balancer (dispatcher)<br>
* group – manage group membership records (acl)<br>
* moni – continuous refresh of the values for a list of
statistics<br>
* mtree – manage memory trees (mtree)<br>
* ps – print the details for kamailio running processes<br>
* rpc – interact with kamailio via jsonrpc control
commands (alias of<br>
jsonrpc)<br>
* rpcmethods – return the list of available RPC methods
(commands)<br>
* speeddial – manage speed dial records<br>
* srv – server management commands (sockets, aliases, …)<br>
* stats – get kamailio internal statistics<br>
* tls – management commands for TLS profiles and
connections<br>
* uptime – print the uptime for kamailio instance<br>
<br>
The news article for this release is available at:<br>
<br>
* <a
href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fw%2F2018%2F10%2Fkamcli-v1-1-0-released%2F&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=e%2B3CSXIFa1ka08nYWWm%2FhI9Jwu4QBOmZbyu3KQ5m64s%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.org%2Fw%2F2018%2F10%2Fkamcli-v1-1-0-released%2F&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=e%2B3CSXIFa1ka08nYWWm%2FhI9Jwu4QBOmZbyu3KQ5m64s%3D&reserved=0</a><br>
<br>
The corresponding tag in the github repository being:<br>
<br>
* <a
href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkamailio%2Fkamcli%2Freleases%2Ftag%2Fv1.1.0&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=pJsL8bSsrFoOiOXhBH1RVtySl03Oa958ErORwhfGXbU%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkamailio%2Fkamcli%2Freleases%2Ftag%2Fv1.1.0&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=pJsL8bSsrFoOiOXhBH1RVtySl03Oa958ErORwhfGXbU%3D&reserved=0</a><br>
<br>
How to install kamcli and examples of usage can be found
at:<br>
<br>
* <a
href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkamailio%2Fkamcli%2Fblob%2Fv1.1%2FREADME.md&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=C5O%2FD7ahjlVmoNexzZ0yziOhSwR%2BNzP7UHeoSMZUtF0%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkamailio%2Fkamcli%2Fblob%2Fv1.1%2FREADME.md&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=C5O%2FD7ahjlVmoNexzZ0yziOhSwR%2BNzP7UHeoSMZUtF0%3D&reserved=0</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a
href="https://eur04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=EV9GFvqdMpagr6xmbVexTWRP2PtLBA3FIwsoIBbNV9M%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=EV9GFvqdMpagr6xmbVexTWRP2PtLBA3FIwsoIBbNV9M%3D&reserved=0</a><br>
<a
href="https://eur04.safelinks.protection.outlook.com/?url=www.twitter.com%2Fmiconda&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=3nDVe8jZ9QYeNqVjj07CuIA2qkyzfoQtP8GPc8VwATY%3D&reserved=0"
moz-do-not-send="true">https://eur04.safelinks.protection.outlook.com/?url=www.twitter.com%2Fmiconda&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=3nDVe8jZ9QYeNqVjj07CuIA2qkyzfoQtP8GPc8VwATY%3D&reserved=0</a>
-- <a
href="https://eur04.safelinks.protection.outlook.com/?url=www.linkedin.com%2Fin%2Fmiconda&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=E%2F7Hxus5XiJJySRmORIGM0ZUyexzK7FNwgnzUkCbLRo%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=www.linkedin.com%2Fin%2Fmiconda&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=E%2F7Hxus5XiJJySRmORIGM0ZUyexzK7FNwgnzUkCbLRo%3D&reserved=0</a><br>
Kamailio World Conference -- <a
href="https://eur04.safelinks.protection.outlook.com/?url=www.kamailioworld.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=nSzkZakzIo%2FoFXCPvV%2FqUCdXn90WAGlFmB%2B3lsh9Tlo%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=www.kamailioworld.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=nSzkZakzIo%2FoFXCPvV%2FqUCdXn90WAGlFmB%2B3lsh9Tlo%3D&reserved=0</a><br>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin --
<a
href="https://eur04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=EV9GFvqdMpagr6xmbVexTWRP2PtLBA3FIwsoIBbNV9M%3D&reserved=0"
moz-do-not-send="true">
https://eur04.safelinks.protection.outlook.com/?url=www.asipto.com&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=EV9GFvqdMpagr6xmbVexTWRP2PtLBA3FIwsoIBbNV9M%3D&reserved=0</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a
href="https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=ZIVuOB2ncShUziDuIh%2BoalsUNMLOl86ZyC6w%2F4Ip%2FSQ%3D&reserved=0"
moz-do-not-send="true">https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7Cfed7a25d71b24b0796fe08d6333e2a8d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636752739421479581&sdata=ZIVuOB2ncShUziDuIh%2BoalsUNMLOl86ZyC6w%2F4Ip%2FSQ%3D&reserved=0</a><br>
</div>
</span></font></div>
</blockquote>
<br>
<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 World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
</body>
</html>