[sr-dev] fork_process in jsonrpc-c module

Daniel-Constantin Mierla miconda at gmail.com
Tue May 7 09:05:09 CEST 2013


Hello,

On 5/7/13 3:04 AM, Matthew Williams wrote:
> We have been using PROC_NOCHILDINIT as the rank when forking the 
> jsonrpc response handling process. Naturally, this does not initialize 
> the acc module. Of the ranks defined in sr_module.h, which would be 
> appropriate here? Switching to PROC_RPC fixes the issue, but I believe 
> that that rank is really intended for RPC server processes.

if PROC_RPC works for you, then use it. It was indeed added to do 
special init for RPC server processes, but with xmlrpc in place, that 
overlaps with sip worker processes.

In case you need some special init procedure for that child, it can be 
added even a new type.

Cheers,
Daniel

>
> Thanks in advance for any input.
>
> -- 
> Matthew Williams
> Flowroute LLC
> *
> *
> *Important Notice: * This message is intended only for the person or 
> entity to which it is addressed.  The information provided is 
> confidential.  Accordingly, any review, retransmission, dissemination 
> or other use of this information by, or disclosure of it to, anyone 
> other than the intended recipient could have significant adverse 
> effects and is prohibited.  Opinions, conclusions and other 
> information in this message that do not relate to official business of 
> my company shall be understood as neither given nor endorsed by it.
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130507/6ce4653c/attachment.html>


More information about the sr-dev mailing list