<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hi,<BR>
<BR>
The record_route_advertised_address() config file function is now in git master.<BR>
<BR>
Peter<BR>
<BR>
On Wed, 2011-12-07 at 10:27 +0000, Hugh Waite wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi,
I've implemented the config file function for
record_route_advertised_address and it should appear in git head later
today. Just doing the documentation and some testing...
Hugh
On 05/12/2011 21:52, Daniel-Constantin Mierla wrote:
> Hello,
>
> maybe the option for now is to set the parameters for
> record_route_preset() to advertised_address/port:
>
> <A HREF="http://kamailio.org/docs/modules/stable/modules_k/rr.html#id2542169">http://kamailio.org/docs/modules/stable/modules_k/rr.html#id2542169</A>
>
> I have some deployments (like on EC2) where I use advertise_address
> for have the proper Via and record_route_preset() for record route
> headers.
>
> For simplicity, it would be good to have the function in config to
> take advertised address value for building the rr header.
>
> Cheers,
> Daniel
>
> On 12/3/11 9:41 PM, Hugh Waite wrote:
>> Hi,
>> I do not think that record_route() uses the advertised_address
>> variables. We have been using the advertised_address /
>> advertised_port variables in the config file and although they are
>> used in the Via headers, they are not substituted into the Record
>> Route lines.
>>
>> record_route_advertised_address() was added about 2 weeks ago for
>> exactly this reason - using an advertised address in record routes
>> when the transport changes. It automatically inserts double (rr2=on)
>> routes in these cases and extra custom parameters can be added later.
>>
>> However, we only needed the C API, so it isn't exported as a config
>> file function yet. This won't be difficult.
>>
>> Regards,
>> Hugh
>>
>> On 03/12/11 15:57, Ovidiu Sas wrote:
>>> Take a look at set_advertised_address:
>>> <A HREF="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#set_advertised_address">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#set_advertised_address</A>
>>>
>>> Set it and then record_route() will properly fill the Record-Route
>>> header.
>>>
>>>
>>> Regards,
>>> Ovidiu Sas
>>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> <A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
>> <A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>