<p></p>
<p>If this excerpt from the core docs still holds true: "It is necessary to include the port (the port value used in the “port=” or “listen=” defintions) in the alias definition otherwise the loose_route() function will not work as expected for local forwards", it might be a good idea to use # alias="sip.mydomain.com:5060" here to provide a hint to whomever is reading this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/commit/aebae41bccaec46d086796301d33223645ca1ce6#commitcomment-40480803">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIDKR35CGK3SSN6RLTR2W6RPANCNFSM4OVSYE7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJNMYQCOI5S6PBKB4LR2W6RPA5CNFSM4OVSYE72YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBGTMBD.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/commit/aebae41bccaec46d086796301d33223645ca1ce6#commitcomment-40480803",
"url": "https://github.com/kamailio/kamailio/commit/aebae41bccaec46d086796301d33223645ca1ce6#commitcomment-40480803",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>