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

Vlad Paiu vladpaiu at opensips.org
Tue Aug 9 14:35:19 CEST 2011


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:511 at foo.bar.com <mailto:sip%3A511 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 
> <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:501 at sip-foo.com 
> <mailto:sip%3A501 at sip-foo.com>>;tag=4032d8842dad2496o1.
> To: "Bob" <sip:500 at sip-foo.com <mailto:sip%3A500 at sip-foo.com>>.
> Call-ID: c4eb419c-69be0e5e at 192.168.30.73 
> <mailto:c4eb419c-69be0e5e at 192.168.30.73>.
>
> Thanks,
> BobbyS
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110809/7035357f/attachment.htm>


More information about the Users mailing list