On 12.04.21 15:09, Daniel-Constantin Mierla wrote: > On 12.04.21 14:52, Juha Heinanen 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. > It is like the rpc command, but faster, without the network/fifo file > I/O, all operations are in memory. I do not expect there is any > significant performance penalty, specially if you need it in exceptional > cases.
Btw, whenever there is a concern in performance, one can configure latency measurement for actions with: * https://www.kamailio.org/wiki/cookbooks/5.4.x/core#latency_limit_action Set it to a low value and you should see in the logs how long it takes to execute the actions. The latency_log has to be less or equal to debug value. Cheers, Daniel -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/ _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
