`replace-origin` and `replace-session-connection` are optional for normal operation and are preempted by `ICE=force-relay`. If you want c= and o= (and m=) lines updated, you should use `ICE=force` instead.
Cheers
On 19/04/2019 05.25, David Dean wrote:
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...
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@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
"
- 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 sr-users@lists.kamailio.org mailto:sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users