<p>Added optional parameter [dsts_cnt] to lb_start/next family of functions that holds a string containing an integer PV (pseudo-variable) where the total number of matching destinations (regardless of their capacity) will be stored.</p>
<p>This could be used to distinguish between 'no capacity' and 'no destinations left' situations upon a failure to find out an available destination.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/OpenSIPS/opensips/pull/662'>https://github.com/OpenSIPS/opensips/pull/662</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Merge pull request #1 from OpenSIPS/master</li>
<li>Merge pull request #2 from OpenSIPS/master</li>
<li>Added optional parameter [dsts_cnt] to lb_start/next family of functions that holds a</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/OpenSIPS/opensips/pull/662/files#diff-0">modules/load_balancer/README</a>
(26)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/OpenSIPS/opensips/pull/662/files#diff-1">modules/load_balancer/doc/load_balancer_admin.xml</a>
(36)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/OpenSIPS/opensips/pull/662/files#diff-2">modules/load_balancer/lb_data.c</a>
(22)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/OpenSIPS/opensips/pull/662/files#diff-3">modules/load_balancer/lb_data.h</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/OpenSIPS/opensips/pull/662/files#diff-4">modules/load_balancer/load_balancer.c</a>
(97)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/OpenSIPS/opensips/pull/662.patch'>https://github.com/OpenSIPS/opensips/pull/662.patch</a></li>
<li><a href='https://github.com/OpenSIPS/opensips/pull/662.diff'>https://github.com/OpenSIPS/opensips/pull/662.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/662">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciS7K748ziNiWSzglYSMYFJti4Wwuks5o3VsKgaJpZM4GHaiY.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/OpenSIPS/opensips/pull/662"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>