<p></p>
<p>I added some debug log, the <code>create_via_hf</code> func is not been called when <code>FL_ADD_LOCAL_RPORT</code> is not set, so in the following line it's going to the <code>else</code> branch unless force send socket is set.</p>
<p><a href="https://github.com/kamailio/kamailio/blob/master/src/modules/tm/uac.c#L315">https://github.com/kamailio/kamailio/blob/master/src/modules/tm/uac.c#L315</a></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-780495757">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNT7IGXRLBGNTBVSCTS7OSSNANCNFSM4XWIGQUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKITMK5FMCJLMDP24TS7OSSNA5CNFSM4XWIGQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CWXDI.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-780495757",
"url": "https://github.com/kamailio/kamailio/issues/2639#issuecomment-780495757",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>