Page 1 of 1

editing UDP Unreplied Timeout and UDP Assured Timeout

Posted: Thu May 25, 2017 9:17 pm
by cmihai
Hi,

Does anyone know how to maintain the 2 values in the subject line?

I'm reading that in order for ATAs to remain registered and
working properly with a VoIP SIP provider like Freephoneline, in particular after power failures, the following conditions must be met:

UDP Unreplied Timeout (in your router) <
NAT Keep-alive Interval (in your ATA; for Obihai
ATAs this is or X_KeepAliveExpires) <
UDP Assured Timeout (in your router) <
SIP Registration Failure Retry Wait Time (or RegisterRetryInterval in Obihai ATAs)
“<“ means less than

When a modem leases a new IP address, a problem can arise where prior associations using the old IP address are maintained in the router. When the ATA attempts to communicate using the old IP address, the response is unreplied, and then if the UDP Unreplied timeout is greater than the Keep Alive Interval (and UDP Unreplied timeout is often set to 30 by default in consumer routers) a problem arises where the corrupted connection persists. If UDP Unreplied timeout is, for example, 10, and the NAT Keep Alive Interval is 20, then the corrupted connection will timeout or close. A new connection will be created, and everything will work fine.

Another problem can occur when the Keep-Alive interval is greater than UDP Assured Timeout (often 180 by default in consumer routers): the NAT hole will close due to the ATA not communicating frequently enough with the SIP server. In turn, incoming calls may, intermittently, not reach the ATA. Again, X_Keepalives expires is supposed to be 20 with FPL.

Getting access to both UDP Unreplied Timeout and UDP Assured Timeout settings in consumer routers may be difficult, if not impossible. Asuswrt-Merlin, third party firmware for Asus routers, does offer easy access to these two settings, which are found under Tools-->Other settings.

The keep alive interval for FPL is 20. The SIP Registration Failure Retry Wait Time is 120.

Recommended values are 10 for UDP Unreplied Timeout and 117 for UDP Assured Timeout.

Thanks

Re: editing UDP Unreplied Timeout and UDP Assured Timeout

Posted: Tue Oct 24, 2017 1:07 am
by ispyisail
try openwrt?