<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>Hi Kaushik,<br>
        <br>
        As rtpproxy (by default) waits to first receive traffic (before
        pushing traffic back), there is a dead-lock created between the
        2 rtpproxies - both are waiting for the other to send traffic.<br>
        <br>
        What you have to do is, when using rtpproxy, to instruct
        rtpproxy to "trust" (not to wait, but to start using the IP
        without receiving) the IP in SDP - see flag 'r' :<br>
        &nbsp;&nbsp;&nbsp;
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/rtpproxy.html#id293915">http://www.opensips.org/html/docs/modules/1.11.x/rtpproxy.html#id293915</a><br>
        <br>
        Of course, do that only if the SDP IP is a public one ;)<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 23.05.2014 13:25, kaushik parmar wrote:<br>
    </div>
    <blockquote
cite="mid:CAGzPE19XfuAziFsTj9=SufGJdkDS=3eWHCg4Ox9rxUiTg1tbAg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br clear="all">
        <div><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span>
          <div style="font-family:arial,sans-serif;font-size:13px"><br>
          </div>
          <div style="font-family:arial,sans-serif;font-size:13px">
            Is it possible to send media rtp packets from one rtpproxy
            server to another rtpproxy server?</div>
          <div style="font-family:arial,sans-serif;font-size:13px"><br>
          </div>
          <div style="font-family:arial,sans-serif;font-size:13px">
            In my scenario , i am registering voip account via opensips
            proxy server. We have rtpproxy and opensips server hosted on
            same place. opensips changes c= and m= lines of SDP
            accordingly but when packet goes to voip switch , its
            rtpproxy server also changes SDP. So Peer1 is sending
            packets to hout hosted rtpproxy server and peer2 sending rtp
            packets to voip switch's rtpproxy server.&nbsp;</div>
          <div style="font-family:arial,sans-serif;font-size:13px"><br>
          </div>
          <div style="font-family:arial,sans-serif;font-size:13px"><br>
          </div>
          <div style="font-family:arial,sans-serif;font-size:13px">SIP
            packets : Peer &lt;--&gt; opensips &lt;--&gt; asterisk</div>
          <div style="font-family:arial,sans-serif;font-size:13px"><br>
          </div>
          <div style="font-family:arial,sans-serif;font-size:13px">RTP
            packets peer1 &lt;--&gt; rtpproxy1 &nbsp; &nbsp; &nbsp;=X= &nbsp; &nbsp; &nbsp;rtpproxy2
            &lt;--&gt;peer2<br clear="all">
            <div>
              &nbsp;</div>
            <div>rtpproxy1 and rtpproxy2 both are on different server. i
              dont have any access of rtpproxy2 server.</div>
            <div><br>
            </div>
            <div>here no connection between rtpproxy1 and rtpproxy 2 so
              no media transfer between peer1 and peer2. Please help to
              solve this problem.</div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </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>
      <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>