Module: kamailio Branch: master Commit: 25ef591f5c160515b2b8c4e53036fccf8a9671bc URL: https://github.com/kamailio/kamailio/commit/25ef591f5c160515b2b8c4e53036fccf...
Author: 67456745 erhan.sendag@i2i-systems.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2021-10-05T13:43:31+02:00
Correcting rank value passed to fork_process #2809 PROC_SIPINIT has a special meaning representing the first SIP worker
---
Modified: src/modules/ims_registrar_pcscf/ims_registrar_pcscf_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/25ef591f5c160515b2b8c4e53036fccf... Patch: https://github.com/kamailio/kamailio/commit/25ef591f5c160515b2b8c4e53036fccf...
---
diff --git a/src/modules/ims_registrar_pcscf/ims_registrar_pcscf_mod.c b/src/modules/ims_registrar_pcscf/ims_registrar_pcscf_mod.c index 8eb3c7b4a4..b5bb650098 100644 --- a/src/modules/ims_registrar_pcscf/ims_registrar_pcscf_mod.c +++ b/src/modules/ims_registrar_pcscf/ims_registrar_pcscf_mod.c @@ -325,7 +325,7 @@ 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(PROC_NOCHLDINIT, "RegInfo Event Processor", 1); if (pid < 0) return -1; //error if (pid == 0) {