<p><a href="https://github.com/bogdan-iancu" class="user-mention">@bogdan-iancu</a>, here it is, i'm back with proposed commits and changes:</p>
<ol class="task-list">
<li><p>get rid of load_balance() in favor of lb_*() family of functions to make the work-flow more clear and defined:<br>
lb_start(grp, rl, flgs) - strictly used to start LB session. if sessions already started, old session will be lost and re-started again.<br>
lb_next() - strictly used to to continue LB session previously started by lb_start().<br>
lb_is_started() - used to check whenever LB session is already started or not.<br>
lb_reset() - used to clean up LB session and everything LB internally does for this dialog.<br>
ln_disable_dst() - mark destination currently chosen by LB in current active LB session as disabled.<br>
lb_start_and_next(grp, rl, flgs) - is simply a shorthand for 'lb_is_started()?lb_next():lb_start()' to simplify scripting.<br>
this function logically almost the same as old load_balance() function,<br>
so we could leave old name for compatibility reasons.<br>
lb_count_call(......) - manually register call as a load for particular resource(es).</p></li>
<li><p>lb_start(..., alg) parameter changed to 'flags' parameter with possible values:<br>
'r' - use relative versus absolute estimation<br>
'n' - do not skip negative loads</p></li>
<li><p>new module parameter 'probing_verbose' to log INFO message whenever we enable/disable destinations by probing/MI.</p></li>
</ol>
<p>Could you please review it and give a feedback.</p>
<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/345#issuecomment-64216763">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciZMvSeWsGXx3lCtYP2U5Jh0hYJ55ks5nQ0-1gaJpZM4CpiN1.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/345#issuecomment-64216763"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>