Yeah. What you mention in your email to Ali would work for the scenarios I mention "if there was a function to add a call to a gateway's resource (maybe based on the IP address) without calling the load_balance() function"<div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 12:30 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi Duane,<br>
<br>
More or less is the same (forcing a call as load for a destination
without actually doing LB) - in your case, what is different is
the way you identify the destination - But if I'm not wrong, using
the IP of the destination should work in both cases (when call
comes form GW with IP X and when you force routing to GW with IP
X).<br>
<br>
Regards,<br>
</tt><div class="im">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br></div>
On 11/05/2012 05:27 PM, Duane Larson wrote:
<blockquote type="cite">Ali,
<div><br>
</div>
<div>Just to add to the scenarios when you don't use load balancer
but want to keep up with load.....</div>
<div><br>
</div>
<div>If you are load balancing to Asterisk servers but you don't
use the load_balance() function because you want an "attended
transfer" or someone is call for a "Parked Call". You want to
make sure the call goes to the Asterisk server that has the
current call for an Attended Transfer or the call goes to the
Asterisk server that has the parked call.</div>
<div class="gmail_extra"><div class="im"><br>
<br>
<div class="gmail_quote">On Mon, Nov 5, 2012 at 8:17 AM, Ali Pey
<span dir="ltr"><<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hello All,
<div><br>
</div>
<div>Not sure if this is the right place to suggest
changes/new features. I have a request for a new function
for the load_balancer module.</div>
<div><br>
</div>
<div>Load_balancer knows how many resources are available
for each gateway and keeps track of active calls for each
resource to distribute the calls accordingly. This works
well if the gateways's calls always go through the
load_balancer module. However, this is not always the
case.</div>
<div><br>
</div>
<div>Let's say I have a number of gateways for termination
and I use the load_balancer module to distribute the
calls. If there happen to be some outgoing calls from
these gateways, load balancer would not know about them
and the number of active calls and available resources
would be inaccurate.</div>
<div><br>
<div class="gmail_extra">This can be fixed if there was a
function to add a call to a gateway's resource (maybe
based on the IP address) without calling the
load_balance() function.</div>
<div class="gmail_extra">
<br>
</div>
<div class="gmail_extra">This functionality can also be
used when you are using resources of one of your
gateways but outside the load balancer module such as
routing a test number to a particular gateway and so on.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Regards,</div>
<div class="gmail_extra">Ali Pey</div>
<div class="gmail_extra"><br>
<br>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div></div>
-- <br><span class="HOEnZb"><font color="#888888">
--<br>
*--*--*--*--*--*<br>
Duane<br>
*--*--*--*--*--*<br>
--<br>
</font></span></div><div class="im">
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</div></blockquote>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br>--<br>
</div>