Only one time tried. What you mean 2? -D -D or -D 2?

09.08.2014 13:16 пользователь "Alekzander Spiridonov" <alekz@li.ru> написал:
Hmm... Looking on the master branch it seems that you need to use -D two times instead =)

            case 'D':
                    dont_fork_cnt++;
                    break;


2014-08-09 13:07 GMT+04:00 Alekzander Spiridonov <alekz@li.ru>:
Have you tried -D 2 ?


2014-08-08 21:19 GMT+04:00 Yuriy Gorlichenko <ovoshlook@gmail.com>:

I need to know how to start main process at the foreground at kamailio 4.1.4
07.08.2014 21:05 пользователь "Yuriy Gorlichenko" <ovoshlook@gmail.com> написал:


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


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




--
Best regards,
Alekzander Spiridonov




--
Best regards,
Alekzander Spiridonov


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev