[Users] Failure routes
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Mar 19 09:17:02 CET 2007
Sam Lee wrote:
> Hey guys ,
>
> I noticed that only 1 failure routes is valid for a t_relay .
By design you can only activate a single failure route. In your example
you can either:
- make a third failure route which is activated if (A && B) and handle
both situations.
- set flags which are queried in the failure route:
If condition A {
setflag(1)
t_on_failure("1")
}
If condition B {
setflag(2)
T_on_failure("1")
}
failure_route[1] {
if (isflagset(1)) {
....
}
if (isflagset(2)) {
....
}
regards
klaus
>
> Is that true or i've done wrong with my config.
>
> What i did was :
>
> If condition A {
> t_on_failure("1")
> }
>
> If condition B {
> T_on_failure("2")
> }
>
> t_relay
>
> If it can't be done , how am i suppose to do condition A or B ?
>
> Regards,
> Sam
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
--
Klaus Darilion
nic.at
More information about the Users
mailing list