[Kamailio-Users] fr_anything_at_all_timer.

Alex Balashov abalashov at evaristesys.com
Mon Oct 13 15:54:35 CEST 2008


Hi Klaus,

Klaus Darilion wrote:

> 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.

I must have misunderstood the module documentation, then.  The 
documentation for the fr_timer section specifically says:

   "Timer which hits if no final reply for a request or ACK for a
    negative INVITE reply arrives (in seconds)."

I understood this literally;  it applies to *final* responses, not 
provisional ones.

But after reading your reply I looked at the "timer-based failover" 
section above it and it says:

   "fr_timer - this timer is used when no response was received yet. If
    there is no response after fr_timer seconds the timer triggers (and
    failure route will be executed if t_on_failure() was called). If a
    provisional response was received, the timer is set to fr_inv_timer
    for INVITE transactions, and RT_T2 for all other transactions. If a
    final reponse is received, the transaction has finished. "

So which one is it?  Do provisional responses affect fr_timer expiration 
or not?

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599




More information about the Users mailing list