[OpenSIPS-Users] $T_fr_timeout and $T_fr_inv_timeout

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Oct 7 15:10:45 CEST 2014


Hi Gary,

The difference between the 2 timer is if a reply was received or not - 
until the first reply you have T_fr_timeout, after that, it is 
T_fr_inv_timeout.

So, use the t_local_replied("all") 
(http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id295158) to 
see if any rely was received.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.10.2014 04:58, Gary Nyquist wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list