[OpenSIPS-Devel] [OpenSIPS/opensips] 3c18db: [acc] added loose dependency to dialog module
Bogdan Andrei IANCU
noreply at github.com
Mon Sep 23 05:27:28 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.
More information about the Devel