Module: kamailio
Branch: 5.1
Commit: e178b8c620c991635d74c01e14b837e0080b1eea
URL:
https://github.com/kamailio/kamailio/commit/e178b8c620c991635d74c01e14b837e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-10-19T08:34:38+02:00
core: init cfg framework before executing event_route[core:worker-one-init]
(cherry picked from commit a4b6a5cb1dda7576b265a23c91321b7f2a034658)
---
Modified: src/core/action.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e178b8c620c991635d74c01e14b837e…
Patch:
https://github.com/kamailio/kamailio/commit/e178b8c620c991635d74c01e14b837e…
---
diff --git a/src/core/action.c b/src/core/action.c
index f7d3aaf465..374ba756ae 100644
--- a/src/core/action.c
+++ b/src/core/action.c
@@ -1671,6 +1671,9 @@ int run_child_one_init_route(void)
rt = route_get(&event_rt, "core:worker-one-init");
if(rt>=0 && event_rt.rlist[rt]!=NULL) {
LM_DBG("executing event_route[core:worker-one-init] (%d)\n", rt);
+ if (cfg_child_init()) {
+ return -1;
+ }
if(faked_msg_init()<0)
return -1;
fmsg = faked_msg_next();