[OpenSIPS-Users] $T_fr_timeout and $T_fr_inv_timeout

Gary Nyquist gn62 at gmx.us
Tue Oct 7 03:58:40 CEST 2014


Hi,

Is it possible to know (inside a failure_route[] block), which timeout caused to land up in the failure_route?

# E.g. in the main route, I have:
if(is_method("INVITE")){
    ...
    ...
    $T_fr_timeout=8;
    $T_fr_inv_timeout=30;
    t_on_failure("1");
    t_relay();
    exit;
}

# And in failure_route:
failure_route[1] {
    # How to know if $T_fr_timeout or $T_fr_inv_timeout caused this failure?
}

Any tips?

Thanks.
Best Regards,
- Gary




More information about the Users mailing list