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

Yu Boot yu at yu-boot.ru
Fri Oct 27 09:02:00 CEST 2017


Thanks!


27.10.2017 9:53, Alex Balashov пишет:
> 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.
>




More information about the sr-users mailing list