[SR-Users] Problem with IPv4-IPv6 media bridging using RTPengine

Richard Fuchs rfuchs at sipwise.com
Thu Jul 20 13:58:18 CEST 2017


On 20/07/17 07:36 AM, Ismir Saljic wrote:

> thank you very much for your answer. I will try to use rtpengine module.
> As I can see from logs, kamailio is sending correctly data to rtpengine but rtp engine
> failed to parse IPv6 address from SDP body.
> I'm sending flags to rtpengine according to the howto from link I've posted in the original post.
> This is the part of the config:
>
> if  (!(isflagset(FLT_NATS)  ||  isbflagset(FLB_NATB)
> 			||  isbflagset(FLB_V4V6)))
> 		return;
>   
> 	if(isbflagset(FLB_V4V6))  {
> 		if(af==INET6)  {
> 			rtpproxy_manage("FAEI");
> 		}  else  {
> 			rtpproxy_manage("FAIE");
> 		}
> 	}  else  {
> 		if(af==INET6)  {
> 			rtpproxy_manage("FAEE");
> 		}  else  {
> 			rtpproxy_manage("FAII");
> I'm not sure if I need to inform rtpengine that in SDP body will be 
> IPv6 address.

No you don't. Like I suspected, this has been a long-standing bug that 
was introduced through a typo and that nobody noticed since nobody's 
using the rtpproxy UDP control protocol.

See 
https://github.com/sipwise/rtpengine/commit/bb5072980696b19b14f4af681266bd4686f49e48

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170720/0fe03536/attachment.html>


More information about the sr-users mailing list