Extension Unreachable Randomly

I seems to have an issue with one of my extensions being unreachable “outside” of my internal hosted FreePBX system. By outside I mean I have a VPN connection to another location and have SIP registration/traffic routing through the tunnel. I have also tested this through the FreePBX firwall; ie: bypassing the tunnel and using the Internet; but still have the same issue. The remote side is on Starlink, so the internet could bounce every so often.

Ext. 105 seems to become unreachable randomly and re-register randomly. When this unavailable happens, internet is working at this remote site AND I can place outbound calls just fine. But inbound calls go straight to voicemail. Any thoughts on why this extension would become unavailable for such long period of times (maybe a small isp outage) but not coming right back up? Here is what I see in the logs: (10.0.13.2 is the router on the remote end. and 192.168.10.19 is ext 105 on the remote end)

2078	[2021-11-29 16:42:07] VERBOSE[12116] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Unreachable	
2079	[2021-11-29 16:42:07] VERBOSE[12116] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:32258;x-ast-orig-host=192.168.10.19:5060 is now Unreachable. RTT: 0.000 msec	
2080	[2021-11-29 16:55:07] VERBOSE[27704] res_pjsip_registrar.c: Added contact 'sip:[email protected]:45056;x-ast-orig-host=192.168.10.19:5060' to AOR '105' with expiration of 3600 seconds	
2081	[2021-11-29 16:55:07] VERBOSE[27704] res_pjsip_registrar.c: Removed contact 'sip:[email protected]:32258;x-ast-orig-host=192.168.10.19:5060' from AOR '105' due to remove existing	
2082	[2021-11-29 16:55:07] VERBOSE[27704] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:32258;x-ast-orig-host=192.168.10.19:5060 has been deleted	
2083	[2021-11-29 16:55:07] VERBOSE[27704] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Reachable	
2084	[2021-11-29 16:55:07] VERBOSE[27704] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:45056;x-ast-orig-host=192.168.10.19:5060 is now Reachable. RTT: 66.634 msec	
2085	[2021-11-29 17:04:10] VERBOSE[637] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Unreachable	
2086	[2021-11-29 17:04:10] VERBOSE[637] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:45056;x-ast-orig-host=192.168.10.19:5060 is now Unreachable. RTT: 0.000 msec	
2087	[2021-11-29 17:45:07] VERBOSE[18814] res_pjsip_registrar.c: Added contact 'sip:[email protected]:43006;x-ast-orig-host=192.168.10.19:5060' to AOR '105' with expiration of 3600 seconds	
2088	[2021-11-29 17:45:07] VERBOSE[18814] res_pjsip_registrar.c: Removed contact 'sip:[email protected]:45056;x-ast-orig-host=192.168.10.19:5060' from AOR '105' due to remove existing	
2089	[2021-11-29 17:45:07] VERBOSE[637] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:45056;x-ast-orig-host=192.168.10.19:5060 has been deleted	
2090	[2021-11-29 17:45:07] VERBOSE[637] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Reachable	
2091	[2021-11-29 17:45:07] VERBOSE[637] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:43006;x-ast-orig-host=192.168.10.19:5060 is now Reachable. RTT: 77.791 msec	
2092	[2021-11-29 18:48:10] VERBOSE[27704] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Unreachable	
2093	[2021-11-29 18:48:10] VERBOSE[27704] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:43006;x-ast-orig-host=192.168.10.19:5060 is now Unreachable. RTT: 0.000 msec	
2094	[2021-11-29 19:25:08] VERBOSE[18814] res_pjsip_registrar.c: Added contact 'sip:[email protected]:61913;x-ast-orig-host=192.168.10.19:5060' to AOR '105' with expiration of 3600 seconds	
2095	[2021-11-29 19:25:08] VERBOSE[18814] res_pjsip_registrar.c: Removed contact 'sip:[email protected]:43006;x-ast-orig-host=192.168.10.19:5060' from AOR '105' due to remove existing	
2096	[2021-11-29 19:25:08] VERBOSE[637] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:43006;x-ast-orig-host=192.168.10.19:5060 has been deleted	
2097	[2021-11-29 19:25:08] VERBOSE[18814] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Reachable	
2098	[2021-11-29 19:25:08] VERBOSE[18814] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:61913;x-ast-orig-host=192.168.10.19:5060 is now Reachable. RTT: 77.350 msec	
2099	[2021-11-29 19:40:11] VERBOSE[637] res_pjsip/pjsip_configuration.c: Endpoint 105 is now Unreachable	
2100	[2021-11-29 19:40:11] VERBOSE[637] res_pjsip/pjsip_options.c: Contact 105/sip:[email protected]:61913;x-ast-orig-host=192.168.10.19:5060 is now Unreachable. RTT: 0.000 msec

Interesting, starlink is intrinsically ipv6 and although I don’t have one yet, the IPV6 address awarded is apparently static (duh) . At what point of the internet/your intranet are you building your VPN? Is it well routed both over ipv4 and ipv6?

I haven’t used their IPV6 yet. Just IPV4 which is behind CGNAT. So I am using wireguard to call over to my main network. Which works great. I’m honestly not seeing many drops at all with their service. When the phone is in use it is great audio. So I’m puzzled why it goes unavailable for as long as it does.

Try IPV6 , the address won’t move or be translated (which might well be the delay you experience) IPv6 and wireguard should just eat it up.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.