Hey Juha,

I'm wondering if you ever got this working using jsonrpc_exec() ?

I have the same situation as you, where I'd like to increase max_while_loops for a certain task, and then lower it again, and I'm not sure of the correct format for the jsonrpc_exec() command for this. Also, did you have to load any extra modules to get it working? (maybe 'cfg_rpc' ?)

Let me know!

Thanks, 
Joel.





On Mon, Apr 12, 2021 at 5:53 AM Juha Heinanen <jh@tutpro.com> wrote:
Daniel-Constantin Mierla writes:

> the jsonrpcs module exports a function that executes rpc commands from
> command line, jsonrpcs_exec() iirc.

Thanks for the tip.  It sounds a bit heavy weight though.

-- Juha

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users