[OpenSIPS-Users] $T_fr_timeout and $T_fr_inv_timeout

Gary Nyquist gn62 at gmx.us
Tue Oct 7 18:19:40 CEST 2014


Thank you Bogdan for the advice.
That's what I was looking for :-)

Best Regards,
- Gary


> Sent: Tuesday, October 07, 2014 at 9:10 AM
> From: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
> To: "OpenSIPS users mailling list" <users at lists.opensips.org>, gn62 at gmx.us
> Subject: Re: [OpenSIPS-Users] $T_fr_timeout and $T_fr_inv_timeout
>
> 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