[sr-dev] git:5.1:e178b8c6: core: init cfg framework before executing event_route[core:worker-one-init]
Daniel-Constantin Mierla
miconda at gmail.com
Fri Oct 19 08:35:38 CEST 2018
Module: kamailio
Branch: 5.1
Commit: e178b8c620c991635d74c01e14b837e0080b1eea
URL: https://github.com/kamailio/kamailio/commit/e178b8c620c991635d74c01e14b837e0080b1eea
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/e178b8c620c991635d74c01e14b837e0080b1eea.diff
Patch: https://github.com/kamailio/kamailio/commit/e178b8c620c991635d74c01e14b837e0080b1eea.patch
---
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();
More information about the sr-dev
mailing list