Module: kamailio
Branch: 5.0
Commit: e63e097d02d019bb37228b010a6b6857e6ac9f6a
URL:
https://github.com/kamailio/kamailio/commit/e63e097d02d019bb37228b010a6b685…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2017-02-10T21:02:40-05:00
ims_registrar_scscf: initialize notification workers with rank PROC_XWORKER
(cherry picked from commit 0e5aeba15c7a62899676d488f96b81b121c6d17a)
---
Modified: src/modules/ims_registrar_scscf/reg_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e63e097d02d019bb37228b010a6b685…
Patch:
https://github.com/kamailio/kamailio/commit/e63e097d02d019bb37228b010a6b685…
---
diff --git a/src/modules/ims_registrar_scscf/reg_mod.c
b/src/modules/ims_registrar_scscf/reg_mod.c
index 66ec247..f3971c5 100644
--- a/src/modules/ims_registrar_scscf/reg_mod.c
+++ b/src/modules/ims_registrar_scscf/reg_mod.c
@@ -533,7 +533,7 @@ if (rank == PROC_MAIN) {
/* fork notification workers */
for(k=0;k<notification_processes;k++){
- pid = fork_process(1001+k,"notification_worker",1);
+ pid = fork_process(PROC_XWORKER,"notification_worker",1);
if (pid==-1){
LM_CRIT("init_notification_worker(): Error on fork() for worker!\n");
return 0;