[SR-Users] jsonrpc execution error

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 12 19:57:58 CEST 2017


Hello,

the show command is using the db cli (e.g., mysql) to dump content of
database, so no rpc interaction with kamailio involved there.

For the others, do you get any error in kamailio logs?

Cheers,
Daniel


On 11.09.17 21:35, David Villasmil wrote:
> Hello guys,
>
> i configured jsonrpc on kamailio.cfg and RPCFIFOPATH on kamctlrc to
> the same file, seems to work for some commands, but not for others:
>
> root at ip-172-31-30-160:/home/admin# kamctl trusted show
> +----+--------------+-------+--------------+--------------+------+----------+
> | id | src_ip       | proto | from_pattern | ruri_pattern | tag  |
> priority |
> +----+--------------+-------+--------------+--------------+------+----------+
> |  1 | 1.2.3.4 | udp   |              | NULL         |      |        0 |
> |  2 | 5.4.3.2 | udp   |              | NULL         |      |        0 |
> +----+--------------+-------+--------------+--------------+------+----------+
>
> root at ip-172-31-30-160:/home/admin# kamctl trusted dump
> {
>   "jsonrpc":  "2.0",
>   "error":  {
>     "code": -32000,
>     "message":  "Execution Error"
>   },
>   "id": 32022
> }
>
> root at ip-172-31-30-160:/home/admin# kamctl trusted reload
> {
>   "jsonrpc":  "2.0",
>   "error":  {
>     "code": -32000,
>     "message":  "Execution Error"
>   },
>   "id": 32041
> }
>
>
> Any help?
>
> Thanks!
>
> 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 - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170912/4e95eb83/attachment.html>


More information about the sr-users mailing list