Deleted extensions still showing up as offline

Hi everyone,

we’re running FreePBX 16.30.0 and as others have already reported, sometimes deleted extensions still show up as offline under “Reports - Asterisk Info - Channels”.

In addition to that, we also have a strange “anonymous” extension that showed up out of nowere.

Since there is no info here or anywhere else about how to remove them, I started digging around in /etc/asterisk/ and found an anonymous entry in pjsip.endpoint.conf

freepbx_bug2

Furthermore, I queried the database and found entries for the deleted extension 6621 in tables extensionroutes and xmpp-users.

Extension 332 might vanish after a reboot, which I am not going to do until the weekend, where I’m going to create a snapshot of the system and start removing those entries by hand. Let’s see where it gets me.

Is there any other way to remove deleted extensions from the offline list reliably? I need the offline list, because my colleagues tend to disconnect their phones “by accident” and then complain when they are not reachable.

Regards

/admin/config.php?display=devices

and

Settings > Asterisk SIP Settings > General SIP Settings > Allow Anonymous Inbound SIP Calls / Allow SIP Guests > No

We have created the github jira :
[bug]: Deleted extensions still showing up as offline in Asterisk Info module · Issue #807 · FreePBX/issue-tracker
You can follow this jira for the fix update.

I closed out the FreePBX one, it’s an Asterisk issue.