<p></p>
<p>I am not having access to AWS Fargate, so testing is not going to be easy.</p>
<p>If you say it helps, we can extend the use <code>tcp_connection_match</code> to have different layers of matching, but considering its value as flags.</p>
<p>So <code>tcp_connection_match=1</code> does like now (which is the first flag <code>1<<0</code>), then for matching the port along with connection id, the 2nd flag <code>1<<1</code> has to be set, <code>tcp_connection_match=3</code>.</p>
<p>The idea is to be able to set the behaviour via parameters, so what fixes in this case is not breaking for others not using same infrastructure.</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/pull/2307#issuecomment-625197640">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIQZZ3MPP5WNLDPGPLRQKLQZANCNFSM4MSZFYDA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIKAERGEQIJJTRCUALRQKLQZA5CNFSM4MSZFYDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVB4ESA.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/pull/2307#issuecomment-625197640",
"url": "https://github.com/kamailio/kamailio/pull/2307#issuecomment-625197640",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>