Hello there,
I'm using xHTTP and json_rpc module to receive http instructions to reload htable's from database to memory.
The way i'm calling the json_rpc in kamailio script is the following:
$var(json_rpc)='{"jsonrpc": "2.0", "method": "htable.reload", "id":"htable"}';
jsonrpc_exec($var(json_rpc));
The execution of this command doesn't give any errors, but the changes made on htable database weren't transmitted to the memory.
I have attached the kamailio log where you can see that there isn't any erros on json_rpc execution during reload instructions, the strange thing here is that the htable module only says:
2018-02-23 14:33:44.968 DEBUG: htable [ht_db.c:96]: ht_db_open_con(): database connection opened successfully
doesn't report if the reload was success or not.
Those logs attached were printed with kamailio debug set to level 4.
The kamailio version is 4.4.2.