[SR-Users] kamctl domain reload

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 25 12:49:52 CET 2018


Hello,

those with table fromat output are sql queries done directly to db
server (e.g., mysql) via db cli (mysql app), so they do not depend on
kamailio.cfg and kamailio running at that time.

Those that give "method not found" are rpc commands sent to Kamailio and
they require that specific modules are loaded.

In your case, are permissions and domain modules loaded?

Cheers,
Daniel


On 25.01.18 02:09, David Villasmil wrote:
> Hello guys,
>
> This is weird, using kamctl I am able to do things from like:
>
> kamctl trusted show
> +----+--------------+-------+--------------+--------------+------+----------+
> | id | src_ip       | proto | from_pattern | ruri_pattern | tag  |
> priority |
> +----+--------------+-------+--------------+--------------+------+----------+
> |  1 | 1.2.3.4      | udp   |              | NULL         |      |    
>    0 |
> +----+--------------+-------+--------------+--------------+------+----------+
>
> but reloading, etc doesn't work:
>
> kamctl trusted reload
> {
>   "jsonrpc":  "2.0",
>   "error":  {
>     "code": 500,
>     "message":  "Method Not Found"
>   },
>   "id": 22107
> }
>
>
> Other cases:
>
> kamctl domain showdb
> +----+-------------------------------------+------+---------------------+
> | id | domain                              | did  | last_modified       |
> +----+-------------------------------------+------+---------------------+
> |  1 | proxy.domain.com <http://proxy.domain.com>                    |
> NULL | 2018-01-25 00:56:24 |
> +----+-------------------------------------+------+---------------------+
>
> but show:
>
> kamctl domain show
> {
>   "jsonrpc":  "2.0",
>   "error":  {
>     "code": 500,
>     "message":  "Method Not Found"
>   },
>   "id": 22277
> }
>
>
> Any ideas why this might be happening?
>
>
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
>>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180125/36c26a72/attachment.html>


More information about the sr-users mailing list