<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Hi.<br>
</p>
<p><br>
</p>
<p>Fix_nated_sdp() function works very well. I can fix IPs in my SDP, for attributes &quot;o&quot; and &quot;c'.</p>
<p><br>
</p>
<p>However, due to a particular desire of my customer, I have to change more others IPs in my SDP. How to do it? Is it possible?</p>
<p><br>
</p>
<p>For example, how to change the pointed IP seen bellow:</p>
<p><br>
</p>
<p><br>
</p>
<p>v=0<br>
o=- 3669999344 3669999344 IN IP4 xxx.yyy.240.71<br>
s=pjmedia<br>
b=AS:25<br>
t=0 0<br>
a=X-nat:1<br>
m=audio 48053 RTP/AVP 8 110 96<br>
c=IN IP4 xxx.yyy.240.71<br>
b=TIAS:8000<br>
a=rtcp:51193 IN IP4 192.168.100.1<br>
a=sendrecv<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:110 speex/8000<br>
a=rtpmap:96 telephone-event/8000<br>
a=fmtp:96 0-16<br>
a=ice-ufrag:30381869<br>
a=ice-pwd:6268c522<br>
a=candidate:Sc0a864f1 1 UDP 1862270975 192.168.100.1 48053 typ srflx raddr 192.168.100.241 rport 48053&nbsp; //&lt;------------------------How to change 192.168.100.1 to another&nbsp; IP ????????<br>
a=candidate:Hc0a864f1 1 UDP 1694498815 192.168.100.241 48053 typ host<br>
a=candidate:Sc0a864f1 2 UDP 1862270974 192.168.100.1 51193 typ srflx raddr 192.168.100.241 rport 51193<br>
a=candidate:Hc0a864f1 2 UDP 1694498814 192.168.100.241 51193 typ host<br>
a=direction:active<br>
a=oldoip:192.168.100.1<br>
a=oldcip:192.168.100.1<br>
</p>
<p><br>
</p>
<p>We are using ICE and STUN, and it could be already well done if the STUN was on Internet as in an ordinary solution.</p>
<p>However, my customer asked me to put my stun server in the same machine of the softphone client that generates this SDP content. &nbsp;
<img style="vertical-align: bottom;" class="EmojiInsert" alt="☹" src="cid:d3721f53-4bb4-4633-ab9b-25d97cdeebbd"></p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
</body>
</html>