Hi @miconda

If dlg_db_mode = DB_MODE_NONE is done on PROC_MAIN, then on PROC_POSTCHILDINIT is not restored, I don't see how that could happen.

It's restored as the value is reset at the start of child_init() as so:

static int child_init(int rank)
{
	dlg_db_mode = dlg_db_mode_param;

Happy to update the PR if checking against both PROC_MAIN and PROC_POSTCHILDINIT is preferred.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3221/c1217631509@github.com>