@mtryfoss - the set_contact_alias() is indeed for use instead of fix_nated_contact(). But
fix_nated_contact() is not for REGISTER, for it the fix_nated_register() should be used.
However, fix_nated_register() has to be used only if the registrar server is next to the
nat router. If registrar is behind an edge proxy (SBC), the it should work without
touching the contact and using the Path module (with `use_received` indeed).
Now, as you noticed, set_contact_alias() may work also for REGISTER, but some UAs
don't like it (or use it inappropriately). You are more than welcome to make a pull
request to the docs of this function to explain better its purpose based on your
experiences.
--
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/2308#issuecomment-623462304