Module: kamailio
Branch: master
Commit: 2d1a7e453301cfdee2c71ccebcd66d86f4c62b3a
URL:
https://github.com/kamailio/kamailio/commit/2d1a7e453301cfdee2c71ccebcd66d8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-05-30T12:38:32+02:00
evapi: start evapi dispatcher process with rpc rank
- it may be used for handling responses from external app with sip
related functions
- reported by GH #622
---
Modified: modules/evapi/evapi_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2d1a7e453301cfdee2c71ccebcd66d8…
Patch:
https://github.com/kamailio/kamailio/commit/2d1a7e453301cfdee2c71ccebcd66d8…
---
diff --git a/modules/evapi/evapi_mod.c b/modules/evapi/evapi_mod.c
index 055c9a3..cf29471 100644
--- a/modules/evapi/evapi_mod.c
+++ b/modules/evapi/evapi_mod.c
@@ -184,7 +184,7 @@ static int child_init(int rank)
return 0;
}
- pid=fork_process(PROC_NOCHLDINIT, "EvAPI Dispatcher", 1);
+ pid=fork_process(PROC_RPC, "EvAPI Dispatcher", 1);
if (pid<0)
return -1; /* error */
if(pid==0) {