Never mind, this is properly documented in the registrar module docs:
> A call to lookup(...) always uses the path header if found, and inserts it as
> Route HF either in front of the first Route HF, or after the last Via HF if
> no Route is present. It also sets the destination uri to the first Path uri,
> thus overwriting the received-uri, because NAT has to be handled at the
> outbound-proxy of the UAC (the first hop after client's NAT).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2447#issuecomment-676572411
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev