<p>I need to know how to start main process at the foreground at kamailio 4.1.4 <br>
07.08.2014 21:05 пользователь "Yuriy Gorlichenko" <<a href="mailto:ovoshlook@gmail.com">ovoshlook@gmail.com</a>> написал:<br>
><br>
> Hello! I havw installed Kamailio 4.1.4<br>
><br>
> I need to start Kamailio main process at foreground and other process as forked processes.<br>
><br>
> I found old issue with patch  <br>
> <a href="http://comments.gmane.org/gmane.comp.voip.openser.user/10686">http://comments.gmane.org/gmane.comp.voip.openser.user/10686</a><br>
><br>
> But it 2007 year and I can not find any informationabout integration this patch at kamailio<br>
><br>
> So I was tested can I start servise as I want (I hoped patch already integrated at kamailio)<br>
><br>
> I started kamailio with some methods. I read about it at description at this patch:<br>
><br>
> current behavior:<br>
> 1)fork=no -> daemon, not forked<br>
> 2)fork=no + -D option -> foreground, not forked<br>
> 3)fork=yes -> daemon, forked<br>
> 4)fork=yes + -D option -> daemon, forked  ===> -D is ignored !!!<br>
> 5)fork not mentioned + -D option -> foreground, forked<br>
><br>
> So 1,2 and 3 methods workes fine<br>
> method 4 ignoring fork=yes<br>
> method 5 not works. not forked, only foreground.<br>
><br>
> So I have one else issue:<br>
> When I started kamailio as a service I see message <br>
> WARNING: no fork mode and more than one listen address found(will use only the the first one)<br>
><br>
> When I started as /etc/init.d/kamailio start m 1024 -M 6 - it worked nise<br>
><br>
> So -how I can resolve my issues? </p>