<div dir="ltr">I got this working with kernel mode on a docker (debian 10 on debian 10)<div><a href="https://github.com/davidcsi/rtpengine-docker">https://github.com/davidcsi/rtpengine-docker</a></div><div><br></div><div>I haven't yet connected it to a kamailio, but it seems to be ok.</div><div><br></div><div>you MUST start the container with --privileged</div><div><br></div><div>Hope it helps.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 12, 2020 at 7:51 AM Voip support <<a href="mailto:voipexpert0@gmail.com">voipexpert0@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"><div dir="ltr">Hi, <div><br>I got it running in docker - without kernel mode. For now is satisfying me.<br>If i get more time i would need to check how to run it in kernel mode using docker.<br><br>I used --net=host and started rtpengine using command line inside docker rtpengine --port-min=29000 --port-max=30000 --interface=10.0.0.10!PUBLICIP --listen-ng=<a href="http://127.0.0.1:2223/" target="_blank">127.0.0.1:2223</a><br>I got both way media. Kamailio was already running on host just reconfigured it to use rtpengine.<br><br>Best regards,<br>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pon., 10 lut 2020 o 21:46 Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">you try this script<br><a href="https://github.com/sergey-safarov/kazoo-configs-docker/blob/master/scripts/overlay2host.sh" target="_blank">https://github.com/sergey-safarov/kazoo-configs-docker/blob/master/scripts/overlay2host.sh</a><br><div><br></div><div>It allow connect host to overlay network</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 10, 2020 at 7:37 PM Alex Balashov <<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.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"><div dir="auto">The main issue I have with running RTPEngine containers in host network mode is that they then cannot simultaneously participate in internal/overlay container networks, defeating efforts to manage them with various orchestration architectures.<br><br><div dir="ltr">—<div>Sent from mobile, with due apologies for brevity and errors.</div></div><div dir="ltr"><br><blockquote type="cite">On Feb 10, 2020, at 11:12 AM, Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">> enable 1-to-1 NAT for RTP port range between host and vm (i recommend using iptables for this instead of using docker port expose feature).<div>More simple start container with host network</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 10, 2020 at 7:02 PM M S <<a href="mailto:shaheryarkh@gmail.com" target="_blank">shaheryarkh@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"><div dir="auto">You would need to install kernel module in host machine, only then it will be available in docker container. You will also need to mark container as privileged container and enable 1-to-1 NAT for RTP port range between host and vm (i recommend using iptables for this instead of using docker port expose feature).<div dir="auto"><br></div><div dir="auto">Regarding RTPE compilation, yes it is quite difficult on Ubuntu 18.04. You have to tweak <git-repo>/debian/control file and manually add compat file. Also there are various dependencies that are not listed in wiki and cause problem in installation of deb packages, which you can install later on after reading the error messages.</div><div dir="auto"><br></div><div dir="auto">As for install order, for me "dpkg -i *.deb" works fine and i control which features to use and which not from config file. Otherwise just install whatever seems appropriate to you, don't worry dpkg will install other ngcp-* packages as needed.</div><div dir="auto"><br></div><div dir="auto">Hope this helps.</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 10 Feb 2020, 11:03 Voip support, <<a href="mailto:voipexpert0@gmail.com" target="_blank">voipexpert0@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"><div dir="ltr">Dear Community,<div><br>I would like to use rtpengine but had a very hard time to do the compilation under ubuntu 16.04 and 18.04. <br><br>On Ubuntu 18.04 after already compiled the rtpengine i was unable to install the deb packages.<br>Many different errors occurred.<br><br>I finally tried to install RTP engine on debian 10 and i was able to install it.<br><br>I am thinking of 2 use scenarios: </div><div>- handling many concurrent calls like using rtpproxy for normall traffic<br>- make WebRTC to legacy RTP transcoding (convert WebRTC SDP to legacy SDP to use with non webrtc compliant sip server)<br><br>For the first scenario i imagine that it would be far better to run in-kernel mode because of performance.<br><br>For the second scenario i think userspace daemon should be fine ( i expect not much traffic maximum 50-100 calls).</div><div><br>However my question is what is the correct order of installing the deb packages.<br>Which packages do i really need.   <br><br>For running rtpengine in docker could i use Debian 10 OS and compile rtpengine and install just "<span style="background-color:rgba(27,31,35,0.05);color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px">ngcp-rtpengine-daemon_6.2.0.0+0~mr6.2.0.0_amd64.deb"</span> ? (the in this case the host running docker can be any linux distribution?)<br><br>If i would like to run rtpengine in docker in kernel mode - is it possible or i need to use same linux distribution in host and docker container (because of the kernel match?)<br><br>Best regards,<br>Tom</div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<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>
<span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a></span><br><span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br></div></blockquote></div>_______________________________________________<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>
_______________________________________________<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>
_______________________________________________<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>