<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a> Regarding force_rport(), the point I was making was exactly that it does NOT engage in REQINIT, even if WITH_NAT is enabled. For example, replies to OPTIONS sent to kami will always be directed to address in first Via header even for NATted devices, even with NAT support enabled in the configuration. Perhaps it would make sense to point this out in comments or provide a fix when WITH_NAT is defined.</p>
<p>On an unrelated note, also consider the following: debug is by default either 4 or 2, depending on whether WITH_DEBUG is defined. AFAIK, log level 4 no longer exists, so consider changing this to 3 or 1 respectively (or 3/0, since level 0 is the default if not explicitly set).</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/2381#issuecomment-653500229">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZI65TOH4N2AUM6ZDJTRZW56FANCNFSM4OMDNIHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLZBIIVWIODPZX6A6TRZW56FA5CNFSM4OMDNIH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE3ZZ6RI.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/2381#issuecomment-653500229",
"url": "https://github.com/kamailio/kamailio/issues/2381#issuecomment-653500229",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>