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@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@ip-172-31-30-160:/home/admin# kamctl trusted dump
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Execution Error"
},
"id": 32022
}
root@ip-172-31-30-160:/home/admin# kamctl trusted reload
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Execution Error"
},
"id": 32041
}
Any help?
Thanks!