Hello Bobby,

I have just committed a fix for this in OpenSIPS trunk, rev 8222.
Could you please update and let me know if everything is ok now ?


Regards,

--
Vlad Paiu
OpenSIPS Developer



On 07/27/2011 10:51 PM, Bobby Smith wrote:
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 <http://10.100.0.56:5060> -> 10.100.0.124:5060 <http://10.100.0.124:5060>
INVITE sip:[email protected] <mailto:sip%[email protected]> 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 <http://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:[email protected] <mailto:sip%[email protected]>>;tag=4032d8842dad2496o1.
To: "Bob" <sip:[email protected] <mailto:sip%[email protected]>>.
Call-ID: [email protected] <mailto:[email protected]>.

Thanks,
BobbyS


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to