The port is part of the SIP address and when existing, SRV DNS query should not be done.
If the identity of the user is not with the port, then it should not put it in the From/To
headers. The address with port should be used only as outbound proxy in phone settings.
I am not sure what would be another good workaround here, besides the outbound proxy
address in pua. Eventually an option to say ignore the port in sip identity address,
controlled by modparam -- if you make a pull request, then it will be considered for
merge.
Given it is not related to development, if you want to continue the discussion on this
topic, the best is to use sr-users mailing list and get opinions from other users.
I am closing this issue here for now.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/509#issuecomment-190970306