Hello,
was the email sent by mistake before writing anything or your message
was somehow truncated? Because there is no remark from you in the
response ...
Cheers,
Daniel
On 17.02.20 17:52, Dani Popa wrote:
On Mon, Feb 17, 2020 at 16:55 Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> wrote:
Hello,
anyone in the community with Python knowledge using Postgres that can
spend a bit of time to add support in kamcli?
*
https://github.com/kamailio/kamcli
It should be mainly about the content of the code corresponding to db
subcommand:
*
https://github.com/kamailio/kamcli/blob/master/kamcli/commands/cmd_db.py
The target for it is to replace kamdbctl and has some command line
variants for couple of its functions, now being implemented for MySQL.
The rest of the code relies on sqlalchemy, which should have
transparent
support for both mysql and postgress (even more). Testing the other
commands connecting to database with postgres would be good, though.
With more and more diversity in the default shell by main Linux/Unix
distros, we hope to be able to replace in the near future the
kamctl and
kamdbctl tools, which are more like bash scripting (a few issue being
reported and fixed lately). Besides that, using python allows better
input/parameter checking/validation as well as more options for
formatted output.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com <http://www.asipto.com>
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - March 9-11, 2020, Berlin -
www.asipto.com <http://www.asipto.com>
Kamailio World Conference - April 27-29, 2020, in Berlin --
www.kamailioworld.com <http://www.kamailioworld.com>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Dani Popa