On Fri, Oct 27, 2017 at 09:44:55AM +0300, Yu Boot
wrote:
Have a problem with some uplinks. They sometimes
respond "100 Trying" on
initial INVITE and... that's all. A caller waits for about 30 seconds and
cancel a call deciding there's something wrong with our network. How to use
failure route when 180/183 answers don't arrive in 5 or 10 seconds after
INVITE?
Use t_set_fr() to set a timeout of 5 sec or whatever, then reset it
(e.g. t_reset_fr()) to a more reasonable default in an onreply_route
when a 18x reply is received.