Hello,

 

normally the rtpengine should setup the proper firewall rules automatically when kernelizing the audio stream. There is no need for firewalld or similar tools.

 

Does it work (e.g. on a test system) with a more simple network setup for you in kernel mode?

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

 

 

From: Tim Bowyer <timbo@timbo.au>
Sent: Freitag, 3. März 2023 04:13
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] Re: Rtpengine: no audio after kernelization.

 

Hi Everyone,

 

I’m having the same issue but believe it’s related to my network topology.

I have multiple carrier-facing NIC’s and an internal NIC on each media proxy.

 

Is this configuration supported?

 

I have the named ‘public / providerA / providerB’ rtpengine interfaces setup and working correctly – media flows as expected when running rtpengine without the kernel module.

When kernel module is in use I get a few seconds of 2-way audio initially before it drops out in one direction usually.

 

[root@per01-mtp01.dev.xyz blah]# cat /proc/rtpengine/0/list

local inet4 203.x.x.x:40000

    stats:               350880 bytes,                 2040 packets,                    0 errors

        RTP payload type   0:                    0 bytes,                    0 packets

        RTP payload type   8:               350880 bytes,                 2040 packets

    SSRC in: 65aa31af

    output #0

       src inet4 10.y.y.y:40000

       dst inet4 203.x.x.x:39302

SSRC out:

 

I was also looking to find some config to make this working using firewalld rules, fishing through the Sipwise repos I stumbled across some firewalld rules as part of their automated builds but didn’t have any luck with them

If somebody had some rules I could try would be much appreciated!

 

Cheers,

 

Tim

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Michel Pelletier
Sent: Tuesday, 13 December 2022 10:04 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: 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 <rfuchs@sipwise.com> 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