In my Asterisk 13.16.0, I’ve changed the value of timer_t1 and timer_b in [system] -> ‘pjsip.conf’ after restarting asterisk, these parameters keeps their default value:
timer_t1 an timer_b refers about time for OPTIONS requests or only for INVITE ?
My question is because I have some troubles with extensions becoming REACHABLE and immediatelly UNREACHABLE some times in a day in a environment behind NAT over the Internet in a non reliable connection.
I changed timer_t1 to 1000 to test if will have any improvement. Can anyone give any tip?
The timers are defined in RFC 3261 and both affect any request that produces an acknowledgment, which I think means any request. I haven’t checked, but I think it also applies to final responses.
B is the absolute amount of time allowed to obtain a response, and t1 is the starting time between retransmissions, which subsequently escalates.
The qualify_timeout option controls the time at which the AOR is considered unreachable and the qualify_frequency option controls how often the OPTIONS is sent.
Understand, but how many times the Asterisk will test each OPTIONS packet until become the extension UNREACHABLE?
For example, its sends packets each 60 seconds to test the connections, but if the packet of OPTIONS is lost in the transmission, how many times Asterisk will resend to try again? Or is just one send and doesn’t allow to lost packets