I am not sure if this is actually working, or at least some operations to be 
done in the rpc command callback. Have you tested it?

Checking the DB capability and opening the DB connection inside the rpc command 
callback is not enough, because the module write from SIP workers not from RPC 
worker process. Actually, the RPC worker process might not need database 
connection at all, because it might never handle SIP traffic.

Are the SIP workers also opening connections after the flag is enabled via RPC? 
The PR does not seem to have code for it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3877#issuecomment-2173506650
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3877/c2173506...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to