[SR-Users] Kamailio : Listening on multiple ports behind NAT

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Jan 16 15:51:43 CET 2012


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



More information about the sr-users mailing list