<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/Kalki70/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kalki70">@Kalki70</a> First of all thanks for the analysis (especially done in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="639963614" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2361" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2361/hovercard" href="https://github.com/kamailio/kamailio/issues/2361">#2361</a>). We are a group of developers in this project and certainly are open to discussions and feedback that is focussed at the topic.</p>
<p>I agree that the observed behaviour might be in some cases not that one want and another option would be benefitial. Many years ago this was one of the reasons to make it e.g. more explicit with backup/fallback options in carrierroute. But there might be scenarios were you don't want this rehashing done (e.g. if you use a stable partitioning user -> user location DB). This is something were a simple replacement (like currently done) is better as this rehashing.</p>
<p>Your extension to the module is welcome, we usually accept most of the pull requests in this project. I think all that Daniel said is that it should go in as a dedicated algorithm and not as a configuration parameter. We already have quite a lot of configuration parameter in this (and other) modules, so it might be easier for people to understand in the end.</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/2363#issuecomment-650715180">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOI5HPFMWHPEDDAW5TRY33FBANCNFSM4OATJVEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOKJFUAY5N4KZ74HLDRY33FBA5CNFSM4OATJVEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE3ESALA.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/2363#issuecomment-650715180",
"url": "https://github.com/kamailio/kamailio/pull/2363#issuecomment-650715180",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>