<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>I'm using the following rtpengine_offer() to force the use of ICE relay and also replace o= and m=</div><div><br></div><div><span>   rtpengine_offer("replace-origin replace-session-connection ICE=force-relay RTP");</span><br></div><div><span><br></span></div><div><span>The SDP is being updated to include an ICE relay candidate, but the IP addresses in the o= and m= lines are not changing </span>to the servers IP address (X.X.X.X).</div><div><br></div><div><span>I also tried using the <span>media-address parameter but that didn't change the behaviour.</span></span></div><div><span><span><br></span></span></div><div><span><span>When I use rtpengine_answer() then it's not providing an ICE candidate nor changing o= or m=, which I imagine is expected.</span></span></div><div><span><span><br></span></span></div><div><span><span>What am I missing?</span></span></div><div><span><span><br></span></span></div><div><span><span><br></span></span></div><div><span><span><br></span></span></div><div><span><span>INVITE from the client (before rtpengine)</span></span></div><div><span><span>------------------------------------------------------</span></span></div><div><span><span><br></span></span></div><div><span><span><span><div>INVITE sip:server.domain.com SIP/2.0</div><div>Via: SIP/2.0/TCP 154.20.1.8:37520;branch=z9hG4bK-1710993570;rport</div><div>From: <sip:username@server.domain.com>;tag=281751229</div><div>To: <sip:server.domain.com></div><div>Contact: <sip:username@154.20.1.8:37520;transport=tcp></div><div>Call-ID: c715a8f9-4dd1-38d8-acbd-54153310f59f</div><div>CSeq: 1756522847 INVITE</div><div>Content-Type: multipart/mixed;boundary=7efec5a8-3311-0157-fc8b-9af106265507</div><div>Content-Length: 1506</div><div>Max-Forwards: 70</div><div>Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER</div><div>Privacy: none</div><div>Supported: 100rel</div><div><br></div><div>--7efec5a8-3311-0157-fc8b-9af106265507</div><div>Content-Type: application/sdp</div><div><br></div><div>v=0</div><div>o=organization 1983 678901 IN IP4 154.20.1.8</div><div>s=-</div><div>c=IN IP4 154.20.1.8</div><div>t=0 0</div><div>a=tcap:1 RTP/AVPF</div><div>m=audio 15418 RTP/AVP 114 115 0 101</div><div>i=speech</div><div>a=ptime:20</div><div>a=minptime:1</div><div>a=maxptime:255</div><div>a=silenceSupp:off - - - -</div><div>a=rtpmap:114 AMR-WB/16000/1</div><div>a=imageattr:114 octet-align=0</div><div>a=fmtp:114 octet-align=0</div><div>a=rtpmap:115 AMR-WB/16000/1</div><div>a=imageattr:115 octet-align=1</div><div>a=fmtp:115 octet-align=1</div><div>a=rtpmap:0 PCMU/8000/1</div><div>a=rtpmap:101 telephone-event/8000/1</div><div>a=fmtp:101 0-16</div><div>a=pcfg:1 t=1</div><div>a=sendrecv</div><div>a=rtcp-mux</div><div>a=ssrc:2047236273 cname:e6dcab7948b70d52cd51b75e505c49eb</div><div>a=ssrc:2047236273 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2</div><div>a=ssrc:2047236273 label:organization@audio</div><div><br></div><div><br></div><div><br></div><div><span><div><br></div><div><div style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">INVITE from the server (after rtpengine)</div><div style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">------------------------------------------------------</div></div></span></div><div><br></div><div><br></div><div>SIP/2.0 200 OK</div><div>Via: SIP/2.0/TCP 154.20.1.8:37520;branch=z9hG4bK-1710993570;rport=37520;received=2.221.73.230</div><div>From: <sip:username@server.domain.com>;tag=281751229</div><div>To: <sip:server.domain.com>;tag=0ea7681ffd64b0ffcde1bff3393fd505.ae3a</div><div>Call-ID: c715a8f9-4dd1-38d8-acbd-54153310f59f</div><div>CSeq: 1756522847 INVITE</div><div>Contact: <sip:X.X.X.X:443;transport=tcp></div><div>Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER</div><div>Privacy: none</div><div>Content-Type: multipart/mixed;boundary=7efec5a8-3311-0157-fc8b-9af106265507</div><div>Server: kamailio (5.2.2 (x86_64/linux))</div><div>Content-Length: 1965</div><div><br></div><div>--7efec5a8-3311-0157-fc8b-9af106265507</div><div>Content-Type: application/sdp</div><div><br></div><div>v=0</div><div>o=organization 1983 678901 IN IP4 154.20.1.8</div><div>s=-</div><div>c=IN IP4 154.20.1.8</div><div>t=0 0</div><div>a=tcap:1 RTP/AVPF</div><div>m=audio 15418 RTP/AVP 114 115 0 101</div><div>i=speech</div><div>a=minptime:1</div><div>a=maxptime:255</div><div>a=silenceSupp:off - - - -</div><div>a=imageattr:114 octet-align=0</div><div>a=imageattr:115 octet-align=1</div><div>a=pcfg:1 t=1</div><div>a=rtcp-mux</div><div>a=ssrc:2047236273 cname:e6dcab7948b70d52cd51b75e505c49eb</div><div>a=ssrc:2047236273 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2</div><div>a=ssrc:2047236273 label:organization@audio</div><div>a=rtpmap:114 AMR-WB/16000/1</div><div>a=rtpmap:115 AMR-WB/16000/1</div><div>a=rtpmap:0 PCMU/8000/1</div><div>a=rtpmap:101 telephone-event/8000/1</div><div>a=fmtp:114 octet-align=0</div><div>a=fmtp:115 octet-align=1</div><div>a=fmtp:101 0-16</div><div>a=sendrecv</div><div>a=ptime:20</div><div>a=ice-ufrag:kzgbFAnu</div><div>a=ice-pwd:hnEu9EwTrdIZnTWhYbxtmdugvr</div><div>a=candidate:dzkwmPcB28NPHfRA 1 UDP 16777215 X.X.X.X 30366 typ relay raddr X.X.X.X rport 30366</div><div>a=candidate:dzkwmPcB28NPHfRA 2 UDP 16777214 X.X.X.X 30367 typ relay raddr X.X.X.X rport 30367</div><div>a=sendrecv</div><div>a=ice-ufrag:uDE9wbvY</div><div>a=ice-pwd:dx4CcIjqUNFfnRPJEF8GjatXdU</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></span><br></span></span></div></div></body></html>