[OpenSIPS-Devel] [opensips] Dispatcher module should honor db_default_url (#648)

David Sanders notifications at github.com
Wed Sep 23 23:13:32 CEST 2015


Currently the dispatcher module won't start if only `db_default_url` is set and the `db_url` modparam for dispatcher is not. This fixes that.

```
Sep 23 13:43:55 [46257] DBG:dispatcher:mod_init: initializing ...
Sep 23 13:43:55 [46257] DBG:dispatcher:init_ds_bls: Initialising ds blacklists
Sep 23 13:43:55 [46257] ERROR:dispatcher:partition_init: [default] DB URL is not defined!
Sep 23 13:43:55 [46257] ERROR:core:init_mod: failed to initialize module dispatcher
Sep 23 13:43:55 [46257] ERROR:core:main: error while initializing modules
Sep 23 13:43:55 [46257] INFO:core:cleanup: cleanup
```
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/648

-- Commit Summary --

  * Dispatcher module should honor db_default_url

-- File Changes --

    M modules/dispatcher/dispatcher.c (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/648.patch
https://github.com/OpenSIPS/opensips/pull/648.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150923/cf305818/attachment.htm>


More information about the Devel mailing list