<p>I looked quickly trying to see how the existing code was changed, which seems to be mainly moved in a dedicated function. I didn't dig in the new algorithm (mode), being specific for the feature wanted with this PR.</p>
<p>Maybe <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/juha-h/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/juha-h">@juha-h</a> wants to check a bit and see if the old mode (now STANDARD) is not affected somehow.</p>
<p>Otherwise, if nobody else has comments, I am fine to merge.</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/2178?email_source=notifications&email_token=ABO7UZOG6LTFU623EMNVHXLQY6S33A5CNFSM4J3J7BZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7HUPY#issuecomment-566131263">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPUZHLW7ACZS4C53RLQY6S33ANCNFSM4J3J7BZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI4B4ENY6R2ER33M5LQY6S33A5CNFSM4J3J7BZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7HUPY.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/2178?email_source=notifications\u0026email_token=ABO7UZOG6LTFU623EMNVHXLQY6S33A5CNFSM4J3J7BZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7HUPY#issuecomment-566131263",
"url": "https://github.com/kamailio/kamailio/pull/2178?email_source=notifications\u0026email_token=ABO7UZOG6LTFU623EMNVHXLQY6S33A5CNFSM4J3J7BZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG7HUPY#issuecomment-566131263",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>