Re: [SR-Users] Callback for TM?s "fr_inv_timer" ?

2022-06-15 Thread Antonio Couto
I will try this, thanks a lot for your help. regards. On Wed, Jun 15, 2022 at 5:43 PM Alex Balashov wrote: > Setting t_on_failure("FAILURE_ROUTE") before t_relay(), given a route > block failure_route[FAILURE_ROUTE], as you are doing, should work. > > -- > Alex Balashov | Principal | Evariste

Re: [SR-Users] Callback for TM?s "fr_inv_timer" ?

2022-06-15 Thread Antonio Couto
Thanks for your support, I am trying to do this but to be honest I don't know how to arm the failure route for this case of "fr_inv_timer". When I received reply 183 I use t_set_fr() function to set the new value for "fr_inv_timer", do far so good, but I never received failure_route[0] when

Re: [SR-Users] Callback for TM´s "fr_inv_timer" ?

2022-06-14 Thread Alex Balashov
Hi, failure_route is a bit of an abstraction in that it is triggered by a variety of conditions -- including that one. You can test for this condition with t_branch_timeout() and t_branch_replied() (below it in the docs):

[SR-Users] Callback for TM´s "fr_inv_timer" ?

2022-06-14 Thread Antonio Couto
There some way to set a callback route for TM´s "fr_inv_timer" ? I want to receive this callback when its fires and before Kamailio send 408 Request Timeout to the caller ? I tryed every callback available but I think I missing something or I will need to implement on TM module. Thanks in