Iñaki Baz Castillo writes:
There is a problem here as Record-Route are not needed
for in-dialog request
(the proxy can add it but the UAS should ignore it as RR just makes sense in
the initial request and response forming the dialog).
yes, i meant that the rr test would only be used on initial request.
What about calling alias_contact() just in case
nat_test() detects the
following two requeriments:
1) The IP in Contact is private.
2) There is no ";alias" param in Contact URI.
Of course a new nat_test flag would be needed for point 2.
i can add test (2) to alias_contact() function itself. but (1) is not
enough, since alias_contact() definitely needs to be called also when
request arrives over tcp.
-- juha