Individual Peer(s) reporting as Unreachable and Reachable in at the EXACT same moment in time

PBX Version: 16.0.40.7
PBX Distro: 12.7.8-2306-1.sng7
Asterisk Version:18.20.2
pjsip

PBXis cloud based (Vultr).
Latest version of Unifi UCG ultra (No VLANS) just a “plain Jane” network.
NO SIP ALG
Dedicated IP, Firewall and Switches for phone network.
Impacted phones are new: Sangoma P310’s and Snom Dect.
Have older Cisco SPA504G phones at one location where I have not seen any issues to date

Seeing weird drop outs of single extensions where they will simultaneously report as both unreachable and reachable at the exact same moment in time.

13 [2024-03-22 03:46:11] VERBOSE[6503] res_pjsip/pjsip_configuration.c: Endpoint 221 is now Unreachable

14 [2024-03-22 03:46:11] VERBOSE[26794] res_pjsip/pjsip_configuration.c: Endpoint 221 is now Reachable

15 [2024-03-22 03:46:11] VERBOSE[26794] res_pjsip/pjsip_options.c: Contact 221/sip:[email protected]:22994;ob is now Reachable. RTT: 40.264 msec

Also seeing dropouts where they will recover after approx a min.

761 [2024-03-22 07:01:06] VERBOSE[19880] res_pjsip/pjsip_configuration.c: Endpoint 223 is now Unreachable

762 [2024-03-22 07:01:06] VERBOSE[19880] res_pjsip/pjsip_options.c: Contact 223/sip:[email protected]:5060;line=62626;x-ast-orig-host=192.168.1.11:0 is now Unreachable. RTT: 0.000 msec

763 [2024-03-22 07:01:06] VERBOSE[28388] res_pjsip/pjsip_configuration.c: Endpoint 222 is now Unreachable

764 [2024-03-22 07:01:06] VERBOSE[28388] res_pjsip/pjsip_options.c: Contact 222/sip:[email protected]:5060;line=33907;x-ast-orig-host=192.168.1.11:0 is now Unreachable. RTT: 0.000 msec

765 [2024-03-22 07:01:06] VERBOSE[19880] res_pjsip/pjsip_configuration.c: Endpoint 224 is now Unreachable

766 [2024-03-22 07:01:06] VERBOSE[19880] res_pjsip/pjsip_options.c: Contact 224/sip:[email protected]:5060;line=27614;x-ast-orig-host=192.168.1.11:0 is now Unreachable. RTT: 0.000 msec

767 [2024-03-22 07:01:22] VERBOSE[28388] res_pjsip/pjsip_configuration.c: Endpoint 221 is now Reachable

768 [2024-03-22 07:01:22] VERBOSE[28388] res_pjsip/pjsip_options.c: Contact 221/sip:[email protected]:1035;ob is now Reachable. RTT: 40.309 msec

769 [2024-03-22 07:02:05] VERBOSE[26794] res_pjsip/pjsip_configuration.c: Endpoint 225 is now Reachable

770 [2024-03-22 07:02:05] VERBOSE[26794] res_pjsip/pjsip_options.c: Contact 225/sip:[email protected]:5060;line=9271;x-ast-orig-host=192.168.1.11:0 is now Reachable. RTT: 31.009 msec

771 [2024-03-22 07:02:05] VERBOSE[6503] res_pjsip/pjsip_configuration.c: Endpoint 223 is now Reachable

772 [2024-03-22 07:02:05] VERBOSE[6503] res_pjsip/pjsip_options.c: Contact 223/sip:[email protected]:5060;line=62626;x-ast-orig-host=192.168.1.11:0 is now Reachable. RTT: 30.336 msec

773 [2024-03-22 07:02:05] VERBOSE[19880] res_pjsip/pjsip_configuration.c: Endpoint 222 is now Reachable

774 [2024-03-22 07:02:05] VERBOSE[19880] res_pjsip/pjsip_options.c: Contact 222/sip:[email protected]:5060;line=33907;x-ast-orig-host=192.168.1.11:0 is now Reachable. RTT: 30.381 msec

775 [2024-03-22 07:02:05] VERBOSE[28388] res_pjsip/pjsip_configuration.c: Endpoint 224 is now Reachable

776 [2024-03-22 07:02:05] VERBOSE[28388] res_pjsip/pjsip_options.c: Contact 224/sip:[email protected]:5060;line=27614;x-ast-orig-host=192.168.1.11:0 is now Reachable. RTT: 30.594 msec

I’m not as familiar with troubleshooting pjsip.

Any advice is greatly appreciated. I’ve Googled the heck out of it but nothing seems to fit.
Read that it could be a DNS issue. So I switched from ISP DNS to CloudFlare. Not enough time has passed to tell if it has had an impact.

Thanks!

I looked at the setup for the Cisco phones (they are not on the EPM) and they had DNS values set to 1.1.1.1.

It has been close to 24 hours and so far no Unreachable/Reachable instances have appeared in the Logs. Not gonna call it yet but it looks like the ISP DNS was the issue.

spoke too soon. Still having issues at one of 4 locations. So better… But still a mystery to me.

21	[2024-03-25 17:19:33] VERBOSE[19880] res_pjsip/pjsip_configuration.c: Endpoint 234 is now Unreachable	
22	[2024-03-25 17:19:33] VERBOSE[19880] res_pjsip/pjsip_configuration.c: Endpoint 234 is now Reachable	
23	[2024-03-25 17:19:33] VERBOSE[19880] res_pjsip/pjsip_options.c: Contact 234/sip:[email protected]:5060;line=42838;x-ast-orig-host=192.168.1.24:0 is now Reachable. RTT: 48.679 msec