[OpenSIPS-Devel] 1.7.X advertised_address and rr headers

Bobby Smith bobby.smith at gmail.com
Wed Jul 27 21:51:36 CEST 2011


All, in the docs:
http://www.opensips.org/Resources/DocsCoreFcn17#toc24

3.1 advertised_address

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.


However, when I set an advertised_address (global) to be something, it's
reflected in the via headers but not in the rr:

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).

U 2011/07/27 19:07:28.436916 10.100.0.56:5060 -> 10.100.0.124:5060
INVITE sip:511 at foo.bar.com SIP/2.0.
Record-Route: <sip:10.100.0.56;lr>.
Record-Route: <sip:4.2.2.1;lr=on;nat=yes>.
Via: SIP/2.0/UDP foo.bar.com;branch=z9hG4bK9ee6.47987437.0.
Via: SIP/2.0/UDP 4.2.2.2;branch=z9hG4bK9ee6.cce3d6d3.0.
Via: SIP/2.0/UDP 192.168.30.73:5061
;rport=1055;received=174.4.4.114;branch=z9hG4bK-9372d65.
From: "Extension" <sip:501 at sip-foo.com>;tag=4032d8842dad2496o1.
To: "Bob" <sip:500 at sip-foo.com>.
Call-ID: c4eb419c-69be0e5e at 192.168.30.73.

Thanks,
BobbyS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20110727/dc9eeb88/attachment.htm>


More information about the Devel mailing list