Hi Alex!
Not sure what you mean:
For detection if the gateway responds at all use fr_timer. I set it to 2
seconds. If there is no reply from the gateway within 2 seconds, the
failure route will be executed. If there is a reply (e.g. 100), then tm
module changes to fr_inv_timer which I have set to 120 seconds.
regards
klaus
Alex Balashov schrieb:
It would be really nice to have a feature in TM for
even faster failover
that is turned off when any reply is received at all, provisional or
otherwise.
The problem with fr_timer and fr_inv_timer is that they throw on lack of
final reply. But sometimes gateways have very lengthy, complicated
asynchronous operations that must complete before they can return a
final OK. If you are doing failover, the most important thing to know
is that the gateway is there at all, which the provisional 1xx message
accomplishes.
What would be really nice is to have a timer that can be diffused as
soon as a provisional reply arrives.
I don't see how this can be accomplished with any of the existing timers.