Module: sems Branch: master Commit: d4b5449d5935cad15334a2361a3b023e49f23a17 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d4b5449d5935cad15334a2361a3b023e49f23a17
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Fri Oct 7 20:34:03 2011 +0200 b/f: load some more mods with RTLD_GLOBAL (e.g. sbc) --- core/AmPlugIn.cpp | 5 ++++- core/etc/sems.conf.sample | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/AmPlugIn.cpp b/core/AmPlugIn.cpp index 1698d59..8db47ff 100644 --- a/core/AmPlugIn.cpp +++ b/core/AmPlugIn.cpp @@ -327,7 +327,10 @@ int AmPlugIn::loadPlugIn(const string& file, const string& plugin_name) // dsm, ivr and py_sems need RTLD_GLOBAL if (!strcmp(bname, "dsm.so") || !strcmp(bname, "ivr.so") || - !strcmp(bname, "py_sems.so")) { + !strcmp(bname, "py_sems.so") || !strcmp(bname, "sbc.so") || + !strcmp(bname, "diameter_client.so") || !strcmp(bname, "registrar_client.so") || + !strcmp(bname, "uac_auth.so") + ) { dlopen_flags = RTLD_NOW | RTLD_GLOBAL; DBG("using RTLD_NOW | RTLD_GLOBAL to dlopen '%s'\n", file.c_str()); } diff --git a/core/etc/sems.conf.sample b/core/etc/sems.conf.sample index f08c465..7c54169 100644 --- a/core/etc/sems.conf.sample +++ b/core/etc/sems.conf.sample @@ -200,7 +200,8 @@ exclude_plugins=precoded_announce;py_sems # optional: load_plugins_rtld_global=<modules list> # -# load these plugins with RTLD_GLOBAL (by default py_sems, dsm, ivr) +# load these plugins with RTLD_GLOBAL (by default py_sems, +# dsm, ivr, sbc, diameter_client, registrar_client, uac_auth) # optional parameter: application # _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
