<p>Set the branch_idx for failure route</p>

<p>Make sure the configured on_failure/on_branch_failure/on_reply routes are copied to the new branches created for DNS failover.</p>

<p>These are eligible for 4.4 too.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/732'>https://github.com/kamailio/kamailio/pull/732</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>tm: Set tcx.branch_index to picked branch before running failure route.</li>
  <li>tm: copy on_reply and on_failure routes to new branch on DNS based failover</li>
  <li>tm: Copy on_branch_failure to new branch on DNS failover</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/732/files#diff-0">modules/tm/t_fwd.c</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/732/files#diff-1">modules/tm/t_reply.c</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/732.patch'>https://github.com/kamailio/kamailio/pull/732.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/732.diff'>https://github.com/kamailio/kamailio/pull/732.diff</a></li>
</ul>

<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/732">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZQlt6qvKc_UCtnTaw90sSBBUSxmpks5qbxsCgaJpZM4Jadef">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdnMDrBzMjYPZrnk2suiTszaC-vDks5qbxsCgaJpZM4Jadef.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/732"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>