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?
---------https://www.kamailio.org/docs/modules/4.4.x/modules/rtpengine.html#rtpengine.f.rtpengine_offer

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 <[email protected]> 
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
"
* ICE
...
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
works?


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
  
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to