<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the second parameter is to give the IP to appear in sdp, instead of
    the rtpproxy ip.<br>
    <br>
    What you can try is to update the sdp with fix_natted_sdp() with the
    source IP as seen by the LB, then do msg_apply_changes() and pass
    the flag to trust the ip in sdp -- not sure it is going to work, by
    worth giving a try.<br>
    <br>
    Perhaps a flag to overwrite the source IP would be good.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 29/08/14 11:44, Sebastian Damm
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABkWSFzzLVq5C3hYA4QMhN91NM9X61e7PmRr5fhjbSjtR1BoMA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
        </div>
        <div>I have the following setup:<br>
          <br>
        </div>
        <div>UAC ---> LB ---> Proxy ---> GW<br>
          <br>
        </div>
        <div>In NAT scenarios the loadbalancer detects it, but the proxy
          communicates with the RTP proxy. I want to send the original
          caller IP as detected by the loadbalancer (and transported to
          the proxy) to the RTP proxy. <br>
          <br>
        </div>
        <div>As far as I understand the documentation of the rtpproxy
          module, I could call rtpproxy_manage with a second parameter,
          indicating which IP address should be sent to the RTP proxy. I
          tried sending a pseudovariable, both within quotes or not, or
          even a static string. But when I look at those messages sent
          to the RTP proxy, there's always the IP from where the SIP
          packet was received (the loadbalancer IP) in the request.<br>
        </div>
        <div><br>
          Previously we used the "r" parameter, sending the original IP
          from the SDP to the proxy. But due to strange behavior of some
          UACs, we want to get rid of that.<br>
          <br>
        </div>
        <div>Do I misunderstand the second parameter?<br>
          <br>
          This is what the documentation says:<br>
          <span class=""><em>    ip_address</em></span> - new SDP IP
          address. <br>
          <br>
        </div>
        <div>Unfortunately, I couldn't find any example using this.<br>
          <br>
        </div>
        <div>Best Regards,<br>
          Sebastian<br>
        </div>
      </div>
      <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://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>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  </body>
</html>