I jus tested with latest 5.8 and master branches and all is fine -- the advertise is a hostname without port or with port 0 and the Via and Record-Route do not have any port in it.

Can you retest with these versions and see if headers are ok? If not, be sure you don't use other functions to add record route where the port is explicitly provided. Otherwise, you may have to provide the config in order to see what is specific to it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3933/2337486593@github.com>