<p></p>
<p>I have added extra logs sctrings and found.<br>
This happens because sockaddr_union <code>from</code> contains port number 5060<br>
<a href="https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L188-L191">https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L188-L191</a></p>
<p>This port assigned from "dest_info* dst"<br>
<a href="https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L174">https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L174</a></p>
<p>This struct passed into msg_send_buffer here<br>
<a href="https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L117">https://github.com/kamailio/kamailio/blob/master/src/core/forward.h#L117</a></p>
<p>Need to find why for ACK delivery used not socket where WebRTC client registered, but used socket bound to port 5060.</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/2849#issuecomment-917201639">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPGBP6DDYFDRPIFLYDUBJVJ5ANCNFSM5DZTHTOQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZIZY32NWP3HRZW3P6DUBJVJ5A5CNFSM5DZTHTO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG2VWFZY.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/2849#issuecomment-917201639",
"url": "https://github.com/kamailio/kamailio/issues/2849#issuecomment-917201639",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>