On 9/18/12 7:17 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
as Hugh pointed, doesn't the
'advertise' attribute for listen do what
you need?
http://www.kamailio.org/wiki/cookbooks/3.3.x/core#listen
If you add 'advertise' address to listen parameter, then you just have
to use the classic record_route().
i'll need to test if i
"advertise" address does what i want, but i doubt
it, because it changes also via address.
record_route_advertised_address() was
supposed to do the same, use the
value of the advertised_address in record-route header, otherwise the
purpose of advertised_address is to be used in Via header
Cheers,
Daniel
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 -
http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 -
http://asipto.com/u/katu