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