<p></p>
<p>In the master brach should work by setting global <code>local_rport=yes</code> -- it is in core because the Via header is generated independent of uac module.</p>
<p>The event_route[tm:local-request] should be called for local generated requests, including the REGISTER requests from uac module. You can try to use add_local_rport() there, not sure it works for it, but worth testing.</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/2639#issuecomment-779777054">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIPUDYZUY3FPUIVSFTS7JJORANCNFSM4XWIGQUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMF3DICKXVKSS62V6TS7JJORA5CNFSM4XWIGQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFZ5HIHQ.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/2639#issuecomment-779777054",
"url": "https://github.com/kamailio/kamailio/issues/2639#issuecomment-779777054",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>