Over the weekend, I turned off the server and the phones to perform a rack swap. When the phones and server were turned back on, outbound calls can be made, but inbound calls go straight to voicemail. The server is a FreePBX 60 system and the phones are Sangoma 505 and 3 of those have extenders.
The graph on the dashboard shows that all the users are offline, but show as online when they make an outbound call:
After seeing that, I checked the
Chan_PJSip Endpoints section under Reports -> Asterisk Info -> chan_pjsip Info and confirmed that all the extensions show as unavailable. So since none of the phones in the ring group are available, the external calls go straight to voicemail. Trying to call from one phone to another also goes to that extension’s voicemail.
I’ve tried restarting the phones and the server, nothing changes. There are no new firewall rules since this started and I can ping the phones while logged in via ssh. Checking the asterisk log, the only thing that jumps out at me is this:
[2020-01-13 15:14:57] NOTICE res_pjsip_exten_state.c: Endpoint ‘117’ state subscription failed: Extension ‘*97’ does not exist in context ‘from-internal’ or has no associated hint
[2020-01-13 15:14:57] NOTICE res_pjsip_exten_state.c: Endpoint ‘117’ state subscription failed: Extension ‘*88’ does not exist in context ‘from-internal’ or has no associated hint
I get a similar message for each extension, but, I’m not sure if it is relevant.