Yep, just set in the global params list.<br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 7:34 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi Bobby,<br>
    <br>
    The advertise address should change the IP from RR header, so it
    seams like a bug<br>
    <br>
    do you use only the global param for advertise address, right ? not
    per interface or per message ?<br>
    <br>
    Regards,<br>
    Bogdan<div><div></div><div class="h5"><br>
    <br>
    On 07/27/2011 10:51 PM, Bobby Smith wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">All, in the docs:<br>
      <a href="http://www.opensips.org/Resources/DocsCoreFcn17#toc24" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn17#toc24</a><br>
      <br>
      3.1 advertised_address<br>
      <br>
      It can be an IP address or string and represents the address
      advertised in Via header and other destination lumps (e.g RR
      header). If empty or not set (default value) the socket address
      from where the request will be sent is used.<br>
      <br>
      <br>
      However, when I set an advertised_address (global) to be
      something, it&#39;s reflected in the via headers but not in the rr:<br>
      <br>
      Is this the intended effect?  I know there&#39;s a record_route_preset
      function available to rr, but it&#39;d be a whole lot easier if this
      just gets updated in the record route headers as it should be (and
      not the local bind socket).<br>
      <br>
      U 2011/07/27 19:07:28.436916 <a href="http://10.100.0.56:5060" target="_blank">10.100.0.56:5060</a> -&gt; <a href="http://10.100.0.124:5060" target="_blank">10.100.0.124:5060</a><br>
      INVITE <a href="mailto:sip%3A511@foo.bar.com" target="_blank">sip:511@foo.bar.com</a>
      SIP/2.0.<br>
      Record-Route: <a>&lt;sip:10.100.0.56;lr&gt;</a>.<br>
      Record-Route: <a>&lt;sip:4.2.2.1;lr=on;nat=yes&gt;</a>.<br>
      Via: SIP/2.0/UDP <a href="http://foo.bar.com" target="_blank">foo.bar.com</a>;branch=z9hG4bK9ee6.47987437.0.<br>
      Via: SIP/2.0/UDP 4.2.2.2;branch=z9hG4bK9ee6.cce3d6d3.0.<br>
      Via: SIP/2.0/UDP
192.168.30.73:5061;rport=1055;received=174.4.4.114;branch=z9hG4bK-9372d65.<br>
      From: &quot;Extension&quot; &lt;<a href="mailto:sip%3A501@sip-foo.com" target="_blank">sip:501@sip-foo.com</a>&gt;;tag=4032d8842dad2496o1.<br>
      To: &quot;Bob&quot; &lt;<a href="mailto:sip%3A500@sip-foo.com" target="_blank">sip:500@sip-foo.com</a>&gt;.<br>
      Call-ID: <a href="mailto:c4eb419c-69be0e5e@192.168.30.73" target="_blank">c4eb419c-69be0e5e@192.168.30.73</a>.<br>
      <br>
      Thanks,<br>
      BobbyS
      </div></div><pre><fieldset></fieldset>
_______________________________________________
Devel mailing list
<a href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and &quot;know-how&quot;</pre>
  </div>

<br>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
<br></blockquote></div><br>