[SR-Users] Set timeout before 180/183 reply arrived

Alex Balashov abalashov at evaristesys.com
Fri Oct 27 08:53:56 CEST 2017


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.

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list