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.