[OpenSIPS-Devel] [OpenSIPS/opensips] 7ade34: [acc] added loose dependency to dialog module
Bogdan Andrei IANCU
noreply at github.com
Mon Sep 23 05:28:03 EDT 2019
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-09-23 (Mon, 23 Sep 2019)
[acc] added loose dependency to dialog module
We need to be sure that dialog module is init before acc (if dialog is loaded), to prevent any crashes when acc registers the DLGCB_LOADED callback in dialog (the registraion of the callback will try to run the callback on any pre-existing dialogs, so the hash table for the dialogs must be created/init).
It is a loose dependency as it does not require the dialog module to be loaded. But if loaded, it must be init before ACC module.
(cherry picked from commit 3c18dbfc198d7bece144e708762ea35299bdc8b5)
More information about the Devel