[OpenSIPS-Devel] How opensips identify child process to send SIP message?

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Nov 7 13:52:38 CET 2016

Hello Surya,

Run "opensipsctl fifo ps" to see the list with OpenSIPS processes and 
their type.

Even if a process is not a SIP worker (that is what you configured via 
children and tcp_children options), the child_init() is called for some 
non-SIP processes too.


Bogdan-Andrei Iancu
OpenSIPS Founder and Developer

On 06.11.2016 06:33, surya wrote:
> Hi,
> When I mention *children=1* in the config file I still see child_init 5
> times but out of these 5 only 1 receives the SIP messages.
> My question is, how does opensips identify to which child to send message?
> Can we also identify the process within the code? For ex in the child_init
> code of the module?
> I hope I sound clear what I am asking.
> Thanks,
> Surya
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-opensips-identify-child-process-to-send-SIP-message-tp7604881.html
> Sent from the OpenSIPS - Devel mailing list archive at Nabble.com.
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

More information about the Devel mailing list