Hi Juha,
I am talking about calls going thru gateways in any case. How can check wich timer has been hit when I get in the failure route. I user doesn't answer for any reason, I get a 408 in failure route, what if the gateway in between had a problem and didn't anwer at all.
Hope it's more clear like that :)
Olivier
Juha Heinanen a écrit :
olivier taylor writes:
In failure_route, how can I know the difference between 408s.
408 is hit by the fr_inv_timer and fr_timer. In the first case, ok, callee does'nt answer. In the second case, it can be a gateway error and I have to forward the call to another gateway.
How can I know wich timer has been hit?
i'm not sure if i understood correctly your question, but you can define a separate failure route for your gw failures or test in your single failure route, if the call was going to a gw, for example, by setting a flag before t_relay.
-- juha