[SR-Users] rtpengine_offer() with ICE not updating o= and m= IP addresses

David Dean just_bytesize at yahoo.co.uk
Fri Apr 19 11:25:21 CEST 2019

 Sorry, not sure I understand.
The documentation says these options will update c= and m= but in my case they aren't applying and I don't know why.
Are you saying c= and m= won't be updated if ICE is being forced?

replace-origin - flags that IP from the origin description (o=) should be also changed.
replace-session-connection - flags to change the session-level SDP connection (c=) IP if media description also includes connection information.

    On Friday, 19 April 2019, 10:15:28 GMT+1, Daniel Tryba <d.tryba at pocos.nl> wrote:  
 On Fri, Apr 19, 2019 at 08:52:30AM +0000, David Dean wrote:
> I'm using the following rtpengine_offer() to force the use of ICE relay and also replace o= and m=
> ?? ??rtpengine_offer("replace-origin replace-session-connection ICE=force-relay RTP");
> The SDP is being updated to include an ICE relay candidate, but the IP addresses in the o= and m= lines are not changing??to the servers IP address (X.X.X.X).

This is a feature, not a bug: https://github.com/sipwise/rtpengine
With force-relay, existing ICE candidates are left in place except relay
type candidates, and rtpengine inserts itself as a relay candidate. It
will also leave SDP c= and m= lines unchanged.

This flag operates independently of the replace flags.

Strange that media adress doesn't work, but try replace. Maybe that

Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190419/43aba60a/attachment.html>

More information about the sr-users mailing list