<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,<br>
</p>
<div class="moz-cite-prefix">On 16.03.20 12:49, Sergey Safarov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHtxdDdQEzx=rKqw5-Ev+wELS9wSt=ybx6YQSdNaKes-CPb42g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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>
</blockquote>
<p>This is just to be sure it starts only with kernel module and
in-kernel forwarding mode, right? So you do not want at all
userspace forwarding, better fail than being less performant.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAHtxdDdQEzx=rKqw5-Ev+wELS9wSt=ybx6YQSdNaKes-CPb42g@mail.gmail.com">
<div dir="ltr">
<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" moz-do-not-send="true">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" moz-do-not-send="true">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a>
-- <a href="http://www.linkedin.com/in/miconda"
rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">www.asipto.com</a><br>
Kamailio World Conference - April 27-29, 2020, in Berlin --
<a href="http://www.kamailioworld.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.kamailioworld.com</a><br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>