Andrei Pelinescu-Onciul writes:
- possible wrong db init from all the processes (see
8fb14f, 9961e8)
k only has these ranks:
#define PROC_MAIN 0 /* Main Kamailio process */
#define PROC_TIMER -1 /* Timer attendant process */
#define PROC_TCP_MAIN -4 /* TCP main process */
whereas sr has these:
#define PROC_MAIN 0 /* Main ser process */
#define PROC_TIMER -1 /* Timer attendant process */
#define PROC_RPC -2 /* RPC type process */
#define PROC_FIFO PROC_RPC /* FIFO attendant process */
#define PROC_TCP_MAIN -4 /* TCP main process */
#define PROC_UNIXSOCK -5 /* Unix socket server */
#define PROC_ATTENDANT -10 /* main "attendant process */
#define PROC_INIT -127 /* special rank, the context is the main ser
which rank should i test in child_init if i want db to be initialized
only by process that executes mi commands?
-- juha