Hi I did setup carrierroute with failover using t_on_failure, I do have 4 ".25 ratio" primary gateways for one carrier and 4 ".25 ratio"secondary gateways for a secondary carrier. However, given the current setup, if one gateway is down carrieroute does use the secondary carrier if one gateway of the primary carrier is down. What I need is to only go to the secondary carrier if all the gateways of the primary carrier are down. I thought of setting up 4 t_on_failure branches with carrierroute but that will be troublesome to maintain. Is there another method for this ? Regards
Ali Jawad writes:
What I need is to only go to the secondary carrier if all the gateways of the primary carrier are down. I thought of setting up 4 t_on_failure branches with carrierroute but that will be troublesome to maintain. Is there another method for this ?
i don't know about carrierroute, but you should be able to achieve what you want using lcr module. you just give your primary gws higher priority than the secondary ones all with equal weight.
-- juha
I will check it out, I still need to be able to send traffic to gateways per prefix, hopefully lcr can do that.
On Tue, Mar 12, 2013 at 10:02 PM, Juha Heinanen jh@tutpro.com wrote:
Ali Jawad writes:
What I need is to only go to the secondary carrier if all the gateways of the primary carrier are down. I thought of setting up 4 t_on_failure branches with carrierroute but that will be troublesome to maintain. Is there another method for this ?
i don't know about carrierroute, but you should be able to achieve what you want using lcr module. you just give your primary gws higher priority than the secondary ones all with equal weight.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users