doc/
subfolder, the README file is autogenerated)This change allows to enable/disable the insertion of SIP traces into the DB at runtime (i know we could do this with siptrace.status
, but this is a different case).
This feature is strictly important if you start Kamailio
with trace_to_database
parameter disabled, and you want to enable it later and at runtime.
Nowadays, if you try to start Kamailio
with trace_to_database
enabled, but without a connection to the DB, the service won't start (child_init
logic).
In this type of situation, it makes sense to start Kamailio
disabling the trace_to_database
parameter, and when the DB is ok, at runtime, we enable trace_to_database
parameter. This prevents the need to restart the service, and also we can start Kamailio
without problems, if DB of SIP Traces is NOK at that time.
My PR may need some improvements, especially on the enable side, so feel free to make any changes to improve that.
https://github.com/kamailio/kamailio/pull/3877
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.