<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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<br>
<br>
On 07/27/2011 10:51 PM, Bobby Smith wrote:
<blockquote
cite="mid:CAJQeEgt_YHKMe8+9U8ZkHgn8qoAS8OPcJOFRA_BAz5NYAxRXQg@mail.gmail.com"
type="cite">All, in the docs:<br>
<a moz-do-not-send="true"
href="http://www.opensips.org/Resources/DocsCoreFcn17#toc24">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's reflected in the via headers but not in the rr:<br>
<br>
Is this the intended effect? I know there's a record_route_preset
function available to rr, but it'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 moz-do-not-send="true"
href="http://10.100.0.56:5060">10.100.0.56:5060</a> -> <a
moz-do-not-send="true" href="http://10.100.0.124:5060">10.100.0.124:5060</a><br>
INVITE <a moz-do-not-send="true"
href="mailto:sip%3A511@foo.bar.com">sip:511@foo.bar.com</a>
SIP/2.0.<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:10.100.0.56;lr"><sip:10.100.0.56;lr></a>.<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:4.2.2.1;lr=on;nat=yes"><sip:4.2.2.1;lr=on;nat=yes></a>.<br>
Via: SIP/2.0/UDP <a moz-do-not-send="true"
href="http://foo.bar.com">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: "Extension" <<a moz-do-not-send="true"
href="mailto:sip%3A501@sip-foo.com">sip:501@sip-foo.com</a>>;tag=4032d8842dad2496o1.<br>
To: "Bob" <<a moz-do-not-send="true"
href="mailto:sip%3A500@sip-foo.com">sip:500@sip-foo.com</a>>.<br>
Call-ID: <a moz-do-not-send="true"
href="mailto:c4eb419c-69be0e5e@192.168.30.73">c4eb419c-69be0e5e@192.168.30.73</a>.<br>
<br>
Thanks,<br>
BobbyS
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"</pre>
</body>
</html>