Liviu,
not all the modules exposing a db_url should inherit the db_default_url.
For some modules the db_url is optional and acts as a switch for the
module (if db backend should be used or not). Forcing the default db_url
may break this behavior.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
https://www.opensips.org/events/Summit-2020Amsterdam/
On 4/8/20 1:47 PM, Liviu Chircu wrote:
On 08.04.2020 12:49, Mark Farmer wrote:
Is it possible for these/all modules to inherit db_default_url or is
there a reason for this?
Hi, Mark!
Logically speaking, I think it makes sense for all those 3 modules you
listed to inherit from db_default_url [1]. Also, this should be the
case for any module which requires a db_url by default (e.g. dialog,
usrloc, etc.). Most likely, we have to take the modules one-by-one
and correct this issue for any of them which still have it.
[1]:
https://www.opensips.org/Documentation/Script-CoreParameters-3-1#toc14
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users