<h3>Description</h3>
<p>We are using KEMI t_load_contacts to clear the destination set .<br>
core.append_branch_uri_q(host2, "0.5")<br>
core.append_branch_uri_q(host1, "0.6")<br>
KSR.tm.t_load_contacts()<br>
KSR.tm.t_next_contacts()</p>
<p>But its retrying on 3 in failure route<br>
first host1<br>
second host2<br>
third what we get in the initial request uri</p>

<h3>Troubleshooting</h3>
<h4>Reproduction</h4>

<h4>Debugging Data</h4>

<pre><code>(paste your debugging data here)
</code></pre>
<h4>Log Messages</h4>

<pre><code>(paste your log messages here)
</code></pre>
<h4>SIP Traffic</h4>

<pre><code>(paste your sip traffic here)
</code></pre>
<h3>Possible Solutions</h3>

<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>(paste your output here)
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>(paste your output here)
</code></pre>

<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/1879">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZVg2NlrBirsGR8vXu-9wCx241xgQks5vTeXQgaJpZM4bdsbR">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZYCRkqDmpBryPVUKE7_HYdRJe3usks5vTeXQgaJpZM4bdsbR.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"KSR.tm.t_load_contacts(): not able to clear the destination set (set before append_branch_uri_q) (#1879)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1879"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1879",
"url": "https://github.com/kamailio/kamailio/issues/1879",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>