Hi Ali,<div><br></div><div>AFAIK you can't do this from Load-balancer, but the possible solution is use variable $avp(IC_GW1) for each gateway to count the incoming calls from particular gateways (Dialogue module based profiling) and then see how many calls a gateway has Incoming/Outgoing from/to a particular gateway.</div>
<div><br>The real deal is to communicate the populated incoming calls variable to the load-balancer module. (Dynamically increment/decrement a g/w capacity based on the $avp(IC_GW1) )</div><div><br></div><div>BR<br>Sammy</div>
<div><br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 1:58 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<div><br></div><div>Let's say I have a sip trunk with 100 channels. The calls come in and are distributed to 4 gateways through the load_balancer module. Load balancer module can show all active call going to the gateways but not the call originated from the gateways to a sip trunk.</div>
<div><br></div><div>If there are outgoing calls from the gateways to the sip trunks, those will not be accounted for on the load balancer module. Basically load balancer can keep account for number of active calls on one direction.</div>
<div><br></div><div>Is there a way that I can see the total number of active calls on a gateway (both incoming and outgoing) through the load balancer module?</div><div><br></div><div>Regards,</div><div>Ali Pey</div><div>
<br></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></div>