On 19/07/17 08:31 AM, Ismir Saljic wrote:
Hello,

I've issue with bridging media between IPv4 and IPv6 clients. IPv4-IPv4 and IPv6-IPv6 calls are working without issues.
I'm using kamailio 4.4.2 and configuration according to: http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6

SIP signalling is working without issues,but media addresses in SDP are not rewritten correctly.

The server is on amazon AWS and both kamailio and RTPengine are on the same server.
RTPengine is running using these options:

/usr/sbin/rtpengine   --interface=privateIPv4!publicIPv4
                                 --interface=GlobalIPv6
                                 --listen-udp=127.0.0.1:22222
                                 --tos=184
                                 --pidfile=/var/run/rtpengine.pid
                                 --log-level=6
                                 --log-facility=daemon

I would suggest to use Kamailio's rtpengine module instead of rtpproxy, together with --listen-ng instead of --listen-udp.

The UDP protocol of the rtpproxy module should work with rtpengine, but not many people are using it, so it's always possible that some bugs creep in. I'll look into it anyway, but in the long run, it's much preferable to switch to the rtpengine module.

Cheers