<div dir="ltr"><div>Hi Daniel<br>For my needs i installed rtpengine also.<br>To be sure rtpengine in kernel forwarding mode I configured<br><br>systemd unit file<br><br></div><div><font color="#0000ff">[root@ip-44-230-120-21 ~]# cat /etc/systemd/system/rtpengine.service<br>[Unit]<br>Description=NGCP RtpEngine - RTP Media Proxy<br>Wants=network-online.target<br>After=network-online.target<br><br>[Service]<br>Type=simple<br>ExecStart=/usr/sbin/rtpengine -f<br>ExecStartPost=/sbin/iptables -I INPUT -p udp -j RTPENGINE --id 0<br>ExecStartPost=/sbin/ip6tables -I INPUT -p udp -j RTPENGINE --id 0<br>ExecStopPost=-/sbin/iptables -D INPUT -p udp -j RTPENGINE --id 0<br>ExecStopPost=-/sbin/ip6tables -D INPUT -p udp -j RTPENGINE --id 0<br>Restart=on-failure<br><br>[Install]<br>WantedBy=multi-user.target</font><br></div><div><br></div><div>And inside /etc/rtpengine/rtpengine.conf I defined "no-fallback = true"</div><div><br></div><div>With "no-fallback = true" rtpengine wont start if kernel module not available.</div><div><br></div><div>Sergey</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 21, 2020 at 12:28 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 17.01.20 15:50, Richard Fuchs wrote:<br>
> On 17/01/2020 09.01, Daniel-Constantin Mierla wrote:<br>
>> Hello,<br>
>><br>
>> do people here have (implemented) special ways to properly start<br>
>> rtpengine with kernel forwarding after system reboot?<br>
> On our own systems, we have xt_RTPENGINE loaded through<br>
> modules-load.d, and the iptables rule added through<br>
> iptables-persistent. But obviously this is not a generic solution as<br>
> there are dependencies.<br>
>> Not strictly related, but if someone is aware or had some experiences<br>
>> with,  I am curious if "echo 'del 0' > /proc/rtpengine/control" is<br>
>> really needed because on a system where I forgot to have it in the<br>
>> scripts (well, was commented), I haven't noticed any issues after<br>
>> rtpengine restarts.<br>
><br>
> This is not actually required any more. The daemon itself handles this<br>
> on startup now.<br>
Thanks for clarifying its status!<br>
<br>
Cheers, Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>