Module: kamailio
Branch: master
Commit: 02059e32fde2008ed906fa8ff35d79762ac97412
URL:
https://github.com/kamailio/kamailio/commit/02059e32fde2008ed906fa8ff35d797…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2016-02-11T10:36:26+02:00
modules/ims_registrar_pcscf: fix rank for forked process to get DB initialisation (pua)
---
Modified: modules/ims_registrar_pcscf/reg_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/02059e32fde2008ed906fa8ff35d797…
Patch:
https://github.com/kamailio/kamailio/commit/02059e32fde2008ed906fa8ff35d797…
---
diff --git a/modules/ims_registrar_pcscf/reg_mod.c
b/modules/ims_registrar_pcscf/reg_mod.c
index 90c3471..22eecb3 100644
--- a/modules/ims_registrar_pcscf/reg_mod.c
+++ b/modules/ims_registrar_pcscf/reg_mod.c
@@ -315,11 +315,10 @@ static void mod_destroy(void)
static int child_init(int rank)
{
-
LM_DBG("Initialization of module in child [%d] \n", rank);
if ((subscribe_to_reginfo == 1) && (rank == PROC_MAIN)) {
LM_DBG("Creating RegInfo Event Processor process\n");
- int pid = fork_process(PROC_SIPINIT, "RegInfo Event Processor", 1);
+ int pid = fork_process(1, "RegInfo Event Processor", 1);
if (pid < 0)
return -1; //error
if (pid == 0) {