|
@@ -315,10 +315,11 @@ static void mod_destroy(void)
|
|
|
|
|
|
static int child_init(int rank)
|
|
static int child_init(int rank)
|
|
{
|
|
{
|
|
|
|
+
|
|
LM_DBG("Initialization of module in child [%d] \n", rank);
|
|
LM_DBG("Initialization of module in child [%d] \n", rank);
|
|
if ((subscribe_to_reginfo == 1) && (rank == PROC_MAIN)) {
|
|
if ((subscribe_to_reginfo == 1) && (rank == PROC_MAIN)) {
|
|
LM_DBG("Creating RegInfo Event Processor process\n");
|
|
LM_DBG("Creating RegInfo Event Processor process\n");
|
|
- int pid = fork_process(1, "RegInfo Event Processor", 1);
|
|
|
|
|
|
+ int pid = fork_process(PROC_SIPINIT, "RegInfo Event Processor", 1);
|
|
if (pid < 0)
|
|
if (pid < 0)
|
|
return -1; //error
|
|
return -1; //error
|
|
if (pid == 0) {
|
|
if (pid == 0) {
|