<p></p>
<p><code>uri==myself</code> is true if the domain part of r-uri is a listen ip or a domain associated to the server via alias or domain module (with register_myself on). Also, you do not need to put alias with listen ip and port, only with the FQDN's you want to associated with the sip server . Your r-uri has example.com (FQDN) as domain part, thus not matching myself condition.</p>
<p>This is a topic about using kamailio, not a bug in the source code. If you want discuss further, write to sr-users mailing list.</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/issues/2482#issuecomment-696752049">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMXWCETKVFWGLVT76LSHCW2HANCNFSM4RV2G3JA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJKP7MKNSXHQFU364DSHCW2HA5CNFSM4RV2G3JKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFGDZPMI.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/issues/2482#issuecomment-696752049",
"url": "https://github.com/kamailio/kamailio/issues/2482#issuecomment-696752049",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>