Re: [SR-Users] Kamailio json_rpc isn't reloading htable data from database into memory

2018-02-26 Thread Daniel-Constantin Mierla
Welcome! Daniel On 26.02.18 11:06, José Seabra wrote: > Hi Daniel, > > Thank you for your hint, it took me to the right solution :) > basically  the json doc was wrongly specified > > before: > '{"jsonrpc": "2.0", "method": "htable.reload", "id":"htable"}' > now: > '{"jsonrpc": "2.0", "method":

Re: [SR-Users] Kamailio json_rpc isn't reloading htable data from database into memory

2018-02-26 Thread José Seabra
Hi Daniel, Thank you for your hint, it took me to the right solution :) basically the json doc was wrongly specified before: '{"jsonrpc": "2.0", "method": "htable.reload", "id":"htable"}' now: '{"jsonrpc": "2.0", "method": "htable.reload", "params" : {"htable": "htable"}, "id": 1}' Thank you

Re: [SR-Users] Kamailio json_rpc isn't reloading htable data from database into memory

2018-02-26 Thread Daniel-Constantin Mierla
Hello, print the jsonrpcs variables to see the code and result:   - https://www.kamailio.org/wiki/cookbooks/5.1.x/pseudovariables#jsonrpcs_variables Cheers, Daniel On 23.02.18 15:46, José Seabra wrote: > Hello there, > I'm using xHTTP and json_rpc module to receive http instructions to >