editing UDP Unreplied Timeout and UDP Assured Timeout

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
cmihai
Posts: 6
Joined: Sat Mar 25, 2017 8:17 pm

editing UDP Unreplied Timeout and UDP Assured Timeout

Post 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
Archer C7 v2 running Gargoyle 1.9.x

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: editing UDP Unreplied Timeout and UDP Assured Timeout

Post by ispyisail »

try openwrt?

Post Reply