[SR-Users] Rtpengine: no audio after kernelization.
Hello, I am proxying all RTP through RTPEngine. Everything works fine until about 5 seconds into the call, when rtpengine enters kernelization, after which all RTP forwarding ceases. I've checked the required iptables entries, and all looks good. Here is a description of my environment: # cat os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/"; SUPPORT_URL="https://www.debian.org/support"; BUG_REPORT_URL="https://bugs.debian.org/"; # kamailio -v version: kamailio 5.6.2 (x86_64/linux) 54a9c1 flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: 54a9c1 compiled on 16:02:49 Dec 1 2022 with gcc 10.2.1 # rtpengine -v Version: 11.1.1.3-1~bpo11+1 Michel Pelletier __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Rtpengine: no audio after kernelization.
On 12/12/2022 14.53, [EXT] Michel Pelletier wrote: I am proxying all RTP through RTPEngine. Everything works fine until about 5 seconds into the call, when rtpengine enters kernelization, after which all RTP forwarding ceases. I've checked the required iptables entries, and all looks good. Inspect /proc/rtpengine/0/list while a call is running, in particular paying attention to the packet and byte counters. Also double check that the version of the rtpengine daemon matches the version of the kernel module (and that the module has been reloaded if there have been any upgrades - `dmesg` or `kern.log` are good places to check that). Cheers __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Rtpengine: no audio after kernelization.
Hello, Thank you for your reply. I checked the versions and they look good. xt_RTPENGINE is 11.1.1.3 and the daemon is 11.1.1.3-1~bpo11+1. Looking at /proc/rtpengine/0/list I see the packet and byte counters incrementing normally with 0 errors. In wireshark, capturing on any, I see the stream coming in on the private network interface but nothing going out through the public network interface. Everything is good until 5 seconds into the call when the kernelization happens. Michel Pelletier On Mon, Dec 12, 2022 at 2:19 PM Richard Fuchs wrote: > On 12/12/2022 14.53, [EXT] Michel Pelletier wrote: > > I am proxying all RTP through RTPEngine. Everything works fine until > > about 5 seconds into the call, when rtpengine enters kernelization, > > after which all RTP forwarding ceases. I've checked the required > > iptables entries, and all looks good. > > Inspect /proc/rtpengine/0/list while a call is running, in particular > paying attention to the packet and byte counters. > > Also double check that the version of the rtpengine daemon matches the > version of the kernel module (and that the module has been reloaded if > there have been any upgrades - `dmesg` or `kern.log` are good places to > check that). > > Cheers > > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Rtpengine: no audio after kernelization.
On 13/12/2022 09.04, [EXT] Michel Pelletier wrote: Hello, Thank you for your reply. I checked the versions and they look good. xt_RTPENGINE is 11.1.1.3 and the daemon is 11.1.1.3-1~bpo11+1. Looking at /proc/rtpengine/0/list I see the packet and byte counters incrementing normally with 0 errors. In wireshark, capturing on any, I see the stream coming in on the private network interface but nothing going out through the public network interface. Everything is good until 5 seconds into the call when the kernelization happens. Does the destination address seen in /proc match what is expected? Any unusual network setup involved? Policy routing, network namespaces, containers, anything like that? Cheers __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Rtpengine: no audio after kernelization.
Hi, The destination address and port match with what is expected. I don't have policy routing nor network namespaces. I do have containers, including for Kamailio, but all are using host networking. I am also using gre tunnels which might be causing the issue. I am still investigating that possibility. Cheers. Michel Pelletier On Tue, Dec 13, 2022 at 8:09 AM Richard Fuchs wrote: > On 13/12/2022 09.04, [EXT] Michel Pelletier wrote: > > Hello, > > > > Thank you for your reply. I checked the versions and they look good. > > xt_RTPENGINE is 11.1.1.3 and the daemon is 11.1.1.3-1~bpo11+1. > > Looking at /proc/rtpengine/0/list I see the packet and byte counters > > incrementing normally with 0 errors. In wireshark, capturing on any, > > I see the stream coming in on the private network interface but > > nothing going out through the public network interface. Everything is > > good until 5 seconds into the call when the kernelization happens. > > Does the destination address seen in /proc match what is expected? > > Any unusual network setup involved? Policy routing, network namespaces, > containers, anything like that? > > Cheers > > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users