[OpenSIPS-Devel] [OpenSIPS/opensips] e0d0f6: domain: init db connection in all processes

Răzvan Crainea noreply at github.com
Fri Jun 21 09:23:57 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e0d0f6b8fbfdabb8c7fd6e0a9307fb8df0caefe5
      https://github.com/OpenSIPS/opensips/commit/e0d0f6b8fbfdabb8c7fd6e0a9307fb8df0caefe5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M modules/domain/domain_mod.c

  Log Message:
  -----------
  domain: init db connection in all processes

If the db_mode says we should cache the dialog table and only reload it
in MI proceeses, the module would not initialize the db connection for
SIP workers/timers. This would prevent the mi_script from running the
mi() commands.
This fix initializes the db connection in all proceses, thus enabling
the reload behavior from any process.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list