Member
Last active 10 years ago
Ahh, the problem with forums is the lack of context sometimes and mission creep. Thank you for working through it
I'm running FreePBX 2.11, Asterisk 11.
I issue these commands to inform asterisk and fop2 about my intentions:
database put fop2state SIP/30 "Do not Disturb"
database put DND 30 YES
Asterisk responds properly by refusing calls to extension 30 and directly routes calls to VM.
FOP2 does not update the DND indicator on the status page.
IF I do:
database del fop2state SIP/30
database del DND 30
Again asterisk responds correctly and resumes sending calls to extension 30.
FOP2 does not change the DND indicator.
Service FOP2 restart updates the display indicators.
At this point I've manually removed all fop2state/SIP/xxx entries and the display screen is clear of DND indicators. I'll let it run unmolested for a day and see what happens.
Okay, Time to regroup. I'm not trying to monitor the phone DND status, just the asterisk status. It does follow the status if I use the DND button to dial *78/*79. On the other hand several extension indicate a DND state in FOP2 but when I send a call to those extension asterisk says the extension is free and delivers the call. Dialing *78 and then *79 on those extensions sets and clears the phone indicator and the FOP2 indicator.
Restarting the FOP2 service re-indicates the extension is in DND but asterisk delivers calls all the same.
That makes sense that FOP2 can only display what it receives. I dont have time to debug asterisk code again, fun but not profitable, so your answer may also explain DND indicators not matching the station status.
Okay, I'll do use the debug tools soon and let you know what happens. As far as I can tell the only thing I did in FREEPBX was to enable/disable some of the extensions and attach them to named groups, sort by ext number, submit, apply and verify FOP2 used the new information.
Assuming this is related, the DND indicators do not match the station statuses and a new kind of mis information was discovered today. Caller id NAMES do not transfer with the call as shown on FOP2 screen. Yes, asterisk did transfer both the Name and Number from the receptionist to the destination phones. The name that showed up in FOP2 was the name of the receptionist that did the transfer but the NUMBER of the incoming caller.
admin, your request for more details make perfect sense. I'm running 5.211.65-4 from PBX DISTRO upgraded via the freepbx updates service. so thats decoded as Centos 6.5 (Final) and Freepbx 2.11
fopadmin 1.2.15
fop2 2.27
the poster "FreerPBXer" described our symptom exactly
The latest update of my licensed FOP seems to broken its stability. FOP2 server is requiring constant restarts to show ANY controls other than logout on the status screen. "service fop2 restart" stops and starts the service and all the buttons and controls appear. No error reported, such as connection unavailable, when navigating to the fop2 web page just no visible content in the form of extensions, trunks, queues and so forth.
I wonder if this is related to DND status is showing on most phones as DND when in reality that is not the case in FREEPBX or the phones themselves.