[OpenSIPS-Users] drouting: varios entries in 'dr_rules' with some "groupid', not possible?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Sep 15 13:48:33 CEST 2009


Iñaki Baz Castillo wrote:
> 2009/9/14 Iñaki Baz Castillo <ibc at aliax.net>:
>   
>> 2009/9/14 Iñaki Baz Castillo <ibc at aliax.net>:
>>     
>>> In my example call the rule 1 is choosen (since it has highest prioriry).
>>> Gateways 1 and 2 fail (reply 503 code) and there is no more failover, this is:
>>> servers 3 and 4 are not tryed, is it the expected behaviour?
>>>       
>> After more testing I cannot get it working (just the rule with highest
>> priority is retrieved) so why does "priority" field exist?
>>
>> Also, I fail to understand how could I configure a balancing system
>> with different weight, something as:
>>
>>  gw1 => 60%
>>  gw2 => 40%
>>
>> The only I can get is a 50% distribution by setting gw1 and gw2 in a
>> dr_rule (and selecting "order" != 0).
>>     
>
> Drouting modules is, theorically, more powerful than LCR module, but
> the fact is I can't do a simple weight balancing (60% - 40%) as I
> explained above.
> Do I miss something?
>
> Any help please?
>   
Sorry for delay - I was caught with Andrei, for the last 3 hours in a 
debugging and fixing of TM module - some race condition in 
retransmission algorithm.

Please see my previous email.

Regards,
Bogdan




More information about the Users mailing list