SIP: Peer is UNREACHABLE for short times

Every so often, I get the following entries in my /varlogs/asterisk/messages file:

Sep 27 12:00:10 NOTICE[30791] chan_sip.c: Peer ‘sip-ext1’ is now UNREACHABLE! Last qualify: 126

Sep 27 12:00:20 NOTICE[30791] chan_sip.c: Peer ‘sip-ext1’ is now REACHABLE! (127ms / 2000ms)

The interval between the UNREACHABLE and the REACHABLE is always 10 seconds.

The interval between events (the UNREACHABLE / REACHABLE sequence) is random, sometimes 15 minutes, sometimes several hours, or anything in between, but the interval between the UNREACHABLE and the REACHABLE is always 10 seconds.

Any idea what that is?

do you have a “qualify=yes” statement for each peer in sip.conf ?

voip-info.org/wiki/view/Asterisk+sip+qualify

perhaps you could try increasing the 2000ms default if it’s a regular thing. or find what’s introducing the lag (ISP, ITSP, your network) and eliminating it.