Hello,
On 10/13/08 16:14, Klaus Darilion wrote:
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.
if I get it right, might be similar to something I encountered quite
recently. There are some PSTN termination providers that frontend their
GW farm with a proxy. That proxy sends quickly 100 trying but then it
takes too long to get ringing or 200ok.
So I would have needed to change to fr_inv_timer if != 100 is received
in fr_timer.
Cheers,
Daniel
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.
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com