[OpenSIPS-Users] Help

Sammy Govind govoiper at gmail.com
Mon Nov 14 06:38:03 CET 2011


Alternatively you can use just one group in the table but four servers with
different resource keyword i.e "secondgrp=300" others with "firstgrp=500"
and when you want to call in first-group use the load_balance() call it
like this.

if (load_balance("1","firstgrp"))

and for rest four servers,

if (load_balance("1","secondgrp"))


On Mon, Nov 14, 2011 at 10:32 AM, Sammy Govind <govoiper at gmail.com> wrote:

> Hi,
> See this:
> http://www.opensips.org/html/docs/modules/1.6.x/load_balancer.html#id250167
>
> All you need to do in your load-balancer table is define two different
> group i.e 1 and 2 and when you need to get server from first group
> invoke load_balance() like this
>
> if (load_balance("1","trascoding;conference"))
>
> else for group-2
>
> if (load_balance("2","trascoding;conference"))
>
>
> --
> Regards,
> Sammy
>
> On Mon, Nov 14, 2011 at 10:18 AM, Puneet Jindal <
> puneetjindal at drishti-soft.com> wrote:
>
>> Sir ,
>> I have a simple query that currently i am doing load balancing only in a
>> single group ,but i want is to have two groups and there will be 4 -4
>> entries in each group and then load balance between these groups ,not
>> between 8 of them  ,can You please suggest a way.
>>
>> --
>>
>> Puneet Jindal
>> Software developer, RnD
>>
>>
>>   DRISHTI-SOFT SOLUTIONS PVT. LTD.
>>
>>  GP 62-A, Sector-18, Gurgaon-122016
>>
>>  Tel.: +91-124-4771000
>>
>>  Fax: +91-124-4039120 | Cell: +91-9416796665
>>
>>  Website:  <http://www.drishti-soft.com/>www.drishti-soft.com | <http://www.ameyosuite.com/>
>> www.ameyosuite.com
>>
>> Awards & Recognitions<http://www.drishti-soft.com/drishti_awards_recognition.php>
>> :
>>
>> NASSCOM Innovation Awards 2008 for Market Facing Innovation | Pioneers
>> in IP Contact Center Technology by TMCNet (2008) |  Best ACD/Switch,
>> Best Outbound Solution and after Sales Support By Contact Center World
>> (APAC-2008) | Best Contact Center Suite by BPO News (2007)| Deloitte
>> Fast 500 company in APAC | Red Herring Top 100 (2008) | NASSCOM - EMERGE
>> 50 ( 2009) | IT & ITES Business of the Year by Franchise India, E&Y and
>> Zee Business (2010) | Red Herring Asia Top 100 Winner (2010) | Best
>> Contact Center Technology Platform by Insights’ MECC (2011)
>>
>> __________________________________________________________
>>
>> Please read Disclaimer -(http://www.drishti-soft.com/disclaimer.php<http://www.google.com/url?q=http%3A%2F%2Fwww.drishti-soft.com%2Fdisclaimer.php&sa=D&sntz=1&usg=AFQjCNHgw6LB0Uv5Qy4CQJh4bP4GouKNqg>
>> )
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111114/0abfbb41/attachment.htm>


More information about the Users mailing list