Hi David, 

Thanks for the response, the problem is i'm running pcscf within a pod and reboot will not help in my case. But the issue is resolved when i reinstalled linux-headers. Now it starts without any errors. I got the following logs while starting pcscf.
1(5087) INFO: rtpengine [rtpengine.c:2750]: rtpp_test(): rtpengine instance <udp:localhost:2223> found, support for it enabled
But when i made sip call, packet capture shows rtp flow between two sip client address. It means the packets are not flowing through proxy right?(If not please suggest me how to verify it) Does this log guarantees that proxy is setup or anything else to be done.

Kindly help me with this issue.

Regards,
Pavithra 

On Wed, Oct 14, 2020 at 9:54 PM David Villasmil <david.villasmil.work@gmail.com> wrote:
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
phone: +34669448337


On Wed, Oct 14, 2020 at 5:06 PM Pavithra Mohanraja <pavimohan3004@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users