<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hello,<br>
        <br>
        Check your script, for sure you do the rtpproxy_offer twice for
        that SIP message.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 06.06.2014 19:03, kaushik parmar wrote:<br>
    </div>
    <blockquote
cite="mid:CAGzPE1_gs8JKu1nNJVK7WDvpUB6QGg7s68AcbsEoJBhe=g_dOQ@mail.gmail.com"
      type="cite">
      <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>&nbsp;</div>
        <div><br>
        </div>
        <div>onreply_route[handle_nat] {</div>
        <div>
          <div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_method("INVITE") &amp;&amp;
              has_body("application/sdp"))</div>
            <div><span class="" style="white-space:pre"> </span>{</div>
          </div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rtpproxy_offer();</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;}</div>
          <div>}</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div><b>SDP Packet :&nbsp;</b></div>
          <div>
            <div><br>
            </div>
            <div><b>SDP Before rtpproxy_offer();&nbsp;</b></div>
            <div><b><br>
              </b></div>
            <div>
              <div>v=0</div>
              <div>
                o=Sippy 44829008 1 IN IP4 &nbsp;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();&nbsp;</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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>