[SR-Users] Error in RTP engine setup

David Villasmil david.villasmil.work at gmail.com
Wed Oct 14 18:21:25 CEST 2020


I believe you need to add the table yourself like:

https://github.com/sipwise/rtpengine


# this only needs to be one once after system (re-) boot
modprobe xt_RTPENGINE
iptables -I INPUT -p udp -j RTPENGINE --id 0
ip6tables -I INPUT -p udp -j RTPENGINE --id 0

# ensure that the table we want to use doesn't exist - usually needed
after a daemon
# restart, otherwise will error
echo 'del 0' > /proc/rtpengine/control

# start daemon
/usr/sbin/rtpengine --table=0 --interface=10.64.73.31
--interface=2001:db8::4f3:3d \
--listen-ng=127.0.0.1:2223 --tos=184 --pidfile=/run/rtpengine.pid --no-fallback


Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, Oct 14, 2020 at 5:06 PM Pavithra Mohanraja <pavimohan3004 at gmail.com>
wrote:

> Hi,
> I tried to setup rtpengine to make my sip clients communicate through
> proxy following https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
>
> I started sip communication since the service was running and saw that the
> RTP packets go to exposed rtp interface instead of other sip client. But i
> don't receive packets from the other end.
>
> When analyzed I noticed the rtp-engine daemon gives a few errors.
> *modprobe: FATAL: Module xt_RTPENGINE not found in directory
> /lib/modules/4.15.0-118-generic*
>
>
> *iptables: No chain/target/match by that name.ip6tables: No
> chain/target/match by that name. * Starting RTP/media proxy
> ngcp-rtpengine-daemon
>         [1602690253.130392] ERR: FAILED TO CREATE KERNEL TABLE 0 (No such
> file or directory), KERNEL FORWARDING DISABLED*
> *(Note: *uname -r gives 4.15.0-118-generic and  /lib/modules/ has only
> 4.15.0-115-generic*)*
>
> Please help me with this issue. Thanks in Advance.
>
> Regards,
> Pavithra
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201014/f0343358/attachment.htm>


More information about the sr-users mailing list