<div dir="ltr">I have record_route and loose_route in my config ( record route , where I handle invites & loose_route within an if ( has_totag() ) )<div><br></div><div>Im not sure what im missing here,  this dosnt seem to cause the contact headers to be re-written</div>

<div>these contact headers do / can have the IP of the FS box ( behind the proxy ) in there, and in some cases I have seen devices ( usually phones )</div><div>try and talk directly to the IP in the contact header ( not via the proxy )</div>

<div><br></div><div>any assistance here would b great.</div><div><br></div><div>Jay</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 March 2014 18:06, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    why you need to hide the ip in the contact if it is in sdp? You
    don't really achieve topology hiding with it.<br>
    <br>
    If you use record_route()/loose_route() in kamailio, the sip packets
    related to active calls should come always to kamailio and kamailio
    will forward them to freeswitch.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 09/03/14 10:04, jay binks wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">So im using Kamailio as a load balancer and proxy
        in-front of a few Freeswitch boxes.
        <div><br>
        </div>
        <div>Im not going to use RTP Proxy, as my FS boxes will be
          public on the internet ( Direct RTP connection is fine ).</div>
        <div><br>
        </div>
        <div>I want ALL SIP to go via Kamailio, but the issue im running
          into is that the SIP Contact header has the FS IP address in
          it in some cases. ( 180's etc )</div>
        <div><br>
        </div>
        <div>Every bit of documentation I can find about re-writing the
          Contact header is geared around NAT, and thats not what im
          trying to do here..</div>
        <div><br>
        </div>
        <div>Can anyone give some pointers on how to basically topology
          hide the FS boxes on the SIP front but leave their IP in the
          SDP.</div>
        <div><br>
        </div>
        <div>im going to have the firewalls setup so the SIP Can ONLY
          come from kamailio, so its quite important I get this all
          right.</div>
        <div><br>
        </div>
        <div>Any pointers would be appreciated.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Jay
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
<a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincerely<br><br>Jay
</div>