[OpenSIPS-Users] dispatcher use_default

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 26 18:16:57 CEST 2010


Hi,

The use_default param was more or less added as a last resort 
destination - this was added for the following scenario : you have a set 
of GW to try and a media server to play (as a last resort) to lay a 
failure message.

So the default destination will never be selected, it will just fall 
back to it as last destination

Regards,
Bogdan

thrillerbee wrote:
> I've run into an issue when trying to utilize the use_default modparam 
> for the dispatcher module.  My understanding is that it would reserve 
> the last entry in the setid as a "failover" gateway.  Otherwise, it 
> would treat all other gateways according to their weight.  In reality, 
> it seems that, if there are 3 gateways, the 2nd is used exclusively. 
>  If the 2nd gw is moved to an 'inactive' state, the 1st gateway is 
> then used exclusively.  As expected, if 1 & 2 go down the 3rd is 
> finally used.
>
> Why aren't gw 1 & 2 statelessly load balanced like they would be if 
> use_default was disabled?
>
> Thanks.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list