Hi,
I followed miconda's suggestion for jsonrpc. It gives me error as method callback not found. I am using kamailio 4.4 with modules jsonrpc-s, xhttp, mi_fifo and dialplan. Would you suggest me how to solve this?
Json example: curl -X GET -H "Content-Type: application/json" -d'{"jsonrpc":"2.0","method":"dispatcher.reload", "id":"1"}' http://127.0.0.1:5060/RPC
Response:
{ "jsonrpc": "2.0", "error": { "code": -32000, "message": "Execution Error" }, "id": "1"