<div dir="ltr">Hello,<div><br></div><div>rtpproxy_offer() set IP and Port numbers twice in SDP. My code and SDP output are as below.</div><div><br></div><div><b>Opensips.cfg</b> </div><div><br></div><div>onreply_route[handle_nat] {</div>
<div><div><div> if (is_method("INVITE") && has_body("application/sdp"))</div><div><span class="" style="white-space:pre">         </span>{</div></div><div> rtpproxy_offer();</div>
<div> }</div><div>}</div><div><br></div><div><br></div><div><br></div><div><b>SDP Packet : </b></div><div><div><br></div><div><b>SDP Before rtpproxy_offer(); </b></div><div><b><br></b></div><div><div>v=0</div><div>
o=Sippy 44829008 1 IN IP4 yy.yy.yy.yy</div><div>s=-</div><div>t=0 0</div><div>m=audio 46946 RTP/AVP 110 0 8 3 101</div><div>c=IN IP4 yy.yy.yy.yy</div><div>a=rtpmap:110 speex/8000</div><div>a=fmtp:110 mode=3;vbr=on</div><div>
a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 gsm/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-15</div><div>a=sendrecv</div><div>a=silenceSupp:off - - - -</div><div style="font-weight:bold">
<br></div></div><div><b>SDP After rtpproxy_offer(); </b><b><br></b></div><div><br></div><div>v=0</div><div>o=Sippy 44829008 1 IN IP4 xx.xx.xx.xx</div><div>s=-</div><div>t=0 0</div><div>m=audio 40240 40240 RTP/AVP 110 0 8 3 101</div>
<div>c=IN IP4 xx.xx.xx.xx xx.xx.xx.xx</div><div>a=rtpmap:110 speex/8000</div><div>a=fmtp:110 mode=3;vbr=on</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:3 gsm/8000</div><div>a=rtpmap:101 telephone-event/8000</div>
<div>a=fmtp:101 0-15</div><div>a=sendrecv</div><div>a=silenceSupp:off - - - -</div><div>a=oldmediaip:yy.yy.yy.yy</div><div>a=oldmediaip:yy.yy.yy.yy</div><div>a=nortpproxy:yes</div><div>a=nortpproxy:yes</div></div><div><br>
</div><div>Please help to resolve issue for Double IP and Port in SDP.</div><div><br></div><div><br></div>-- <br><div dir="ltr"><div><div><font face="arial">Kind regards,</font></div><div><font face="arial"><br></font></div>
<div><font face="arial">Kaushik Parmar</font></div></div></div>
</div></div>