<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>I am not familiar with the insights of rtpproxy source code, so I
      don't know if there is a limitation for duration and for how long
      it is.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 27/05/16 10:42, gmele wrote:<br>
    </div>
    <blockquote
cite="mid:DBBE93BBD631274D8270B855593792A871C6C5BF@CHX-EXMBX-01.hq.k.grp"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thx
            for the explanation, so it means that as soon as the callee
            connects to the RTP Proxy, the rtp proxy will use the callee
            ip address and port to forward the rtp stream and ignore the
            initial learned ip/port? Is there a duration limitation in
            this learning mode? Meaning that if the callee waits to much
            to send the first udp packet, the rtp proxy will use the
            ip/port set during negotiation?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thx<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Giovanni<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
            Daniel-Constantin Mierla-6 [via SIP Router] [<a class="moz-txt-link-freetext" href="mailto:ml-node+">mailto:ml-node+</a><a
              moz-do-not-send="true"
              href="/user/SendEmail.jtp?type=node&node=148854&i=0"
              target="_top" rel="nofollow" link="external">[hidden
              email]</a>]
            <br>
            <b>Sent:</b> vendredi 27 mai 2016 10:09<br>
            <b>To:</b> Mele Giovanni<br>
            <b>Subject:</b> Re: rtpproxy module question<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p>Hello,<o:p></o:p></p>
        <p>initially the rtpproxy is in so called learning mode, waiting
          for the first rtp packet to come from each side of the call.
          Before receiving first rtp packet it relies on source ip of
          signaling.<o:p></o:p></p>
        <p>If the SDP has the device IP (you can eventually set that in
          the proxy), then you can use 'r' flag for rtpproxy_manage() to
          tell rtpproxy that it should trust the IP from sdp.<o:p></o:p></p>
        <p>Cheers,<br>
          Daniel<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">On 27/05/16 09:55, gmele wrote:<o:p></o:p></p>
        </div>
        <blockquote style="border-left:2px solid #CCCCCC;padding:0 1em">
          <pre>Hello,<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>we are using an RTP Proxy from rtpproxy.org as media relay to establish<o:p></o:p></pre>
          <pre>communication between our mobile phones. Of course, we are using the<o:p></o:p></pre>
          <pre>kamailio rtpproxy module to modify the SDP payload and control the proxy.<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>In our Kamailio configuration, we have 1 kamailio configured as Proxy and<o:p></o:p></pre>
          <pre>one kamailio configured as Registrar. So calls go through the Proxy and then<o:p></o:p></pre>
          <pre>to the Registrar who will update the SDP header and select an available rtp<o:p></o:p></pre>
          <pre>proxy.<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>We have noticed that sometimes, the rtp udp flow between the phones isn't<o:p></o:p></pre>
          <pre>routed properly by the rtpproxies, ending in the communication drop (all the<o:p></o:p></pre>
          <pre>SIP nego is working well, and the SDP are correctly patched with the rtp<o:p></o:p></pre>
          <pre>proxy address and port). <o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Analyzing the RTP proxy packets, we have found that the Kamailio registrar<o:p></o:p></pre>
          <pre>gives the Kamailio proxy ip address in the RTP proxy create session command,<o:p></o:p></pre>
          <pre>but keeps the original sdp port.<o:p></o:p></pre>
          <pre>command looks like this:<o:p></o:p></pre>
          <pre>Uc96,101 DC -PbO~Wnm <proxy_ip> <port from original sdp phone packet><o:p></o:p></pre>
          <pre>PZU5OITCW;1 <o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>We are using rtpproxy_manage() without any flags.<o:p></o:p></pre>
          <pre>It seems to us that this ip and port are used as default forward route as<o:p></o:p></pre>
          <pre>long as the callee hasnt connected to the rtpproxy. *Is it correct?<o:p></o:p></pre>
          <pre>*<o:p></o:p></pre>
          <pre>If its true, Its seems to us that this cant work as we are mixing the proxy<o:p></o:p></pre>
          <pre>sip address with a udp port open on the phone ? *Is our analysis correct ?*<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Can we use some option in rtpproxy_manage to replace the proxy ip by the<o:p></o:p></pre>
          <pre>phone ip as seen in the via route ? <o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Thx for your help<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>Giovanni<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>--<o:p></o:p></pre>
          <pre>View this message in context: <a moz-do-not-send="true" href="http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850.html</a><o:p></o:p></pre>
          <pre>Sent from the Users mailing list archive at Nabble.com.<o:p></o:p></pre>
          <pre><o:p> </o:p></pre>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="/user/SendEmail.jtp?type=node&node=148852&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_top" rel="nofollow" link="external">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><br>
          <br>
          <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre>Daniel-Constantin Mierla<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.asipto.com" target="_top" rel="nofollow" link="external">http://www.asipto.com</a> - <a moz-do-not-send="true" href="http://www.kamailio.org" target="_top" rel="nofollow" link="external">http://www.kamailio.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_top" rel="nofollow" link="external">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_top" rel="nofollow" link="external">http://www.linkedin.com/in/miconda</a><o:p></o:p></pre>
        <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
          _______________________________________________ <br>
          SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
          mailing list <br>
          <a moz-do-not-send="true"
            href="/user/SendEmail.jtp?type=node&node=148852&i=1"
            target="_top" rel="nofollow" link="external">[hidden email]</a>
          <br>
          <a moz-do-not-send="true"
            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
            target="_top" rel="nofollow" link="external">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          <br>
          <o:p></o:p></p>
        <div class="MsoNormal" style="text-align:center" align="center">
          <hr style="color:#CCCCCC" align="center" size="1"
            noshade="noshade" width="100%">
        </div>
        <div>
          <div>
            <p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If
                  you reply to this email, your message will be added to
                  the discussion below:<o:p></o:p></span></b></p>
          </div>
          <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a
                moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850p148852.html"
                target="_top" rel="nofollow" link="external"><a class="moz-txt-link-freetext" href="http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850p148852.html">http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850p148852.html</a></a>
              <o:p></o:p></span></p>
        </div>
        <div style="margin-top:4.8pt">
          <p class="MsoNormal" style="line-height:18.0pt"><span
style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To
              unsubscribe from rtpproxy module question,
              <a moz-do-not-send="true" href="" target="_top"
                rel="nofollow" link="external">
                click here</a>.<br>
              <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
                target="_top" rel="nofollow" link="external"><span
                  style="font-size:7.0pt;font-family:"Times New
                  Roman","serif"">NAML</span></a>
              <o:p></o:p></span></p>
        </div>
      </div>
      <br>
      <hr align="left" width="300">
      View this message in context: <a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/rtpproxy-module-question-tp148850p148854.html">RE:
        rtpproxy module question</a><br>
      Sent from the <a moz-do-not-send="true"
        href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users
        mailing list archive</a> at Nabble.com.<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>