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
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.
Anonymous inbound calls and SIP guests are turned off now, at least in pjsip.endpoint.conf .
The devices list is clean, there are no deleted devices showing up.
Yet still anonymous and the deleted devices show up under “Reports - Asterisk Info - Channels”.
If Asterisk is restarted they’ll go away. The PJSIP configuration when reloaded will have removed them, but that isn’t currently reconciled with the internal Asterisk endpoint. It’s pretty much just a cosmetic thing. It doesn’t allow calls in, you can’t place calls to them. They’ll just show up as offline with no channels.
Unless FreePBX switched to querying PJSIP endpoint information instead of the general endpoints, this would be a fix within Asterisk. I have no timeframe on when such a thing would be fixed, and it would not be fixed in Asterisk 16.