Hi,
On 01/16/2012 03:41 PM, Reda Aouad wrote:
I suggest that the function record_route( ) takes a public IP address as a parameter, still doing what it does (correct record routing and cookie addition did=xxx and loose route lr=on), but only replacing the private IP address on which Kamailio listens with a public IP address. Or that the record_route( ) function uses the advertised_address to construct the RR header.
maybe you are looking for the function record_route_advertised_address() which is available in git master: http://web.archiveorange.com/archive/v/jZFTGE0yjPqCTTcAkzuf