Issues with FOP2 and DND on Asterisk 16
-
If you have the FOP2 product installed and you update to Asterisk 16, your DND functionality will break.
DND can be enabled, but not disabled.
Here is the solution.
Source: https://www.bytesolutions.com/asterisk-freepbx-fop2-error-disabling-do-not-disturb-dnd/
Edit:
/etc/asterisk/extensions_override_fop2.conf
Around line 192 and 267 replace the lines withdbDel
with192: exten => *79,n,Noop(${DB_DELETE(fop2state/${CHAN})}) 267: exten => *76,n,Noop(${DB_DELETE(fop2state/${CHAN})})
-
Sadly, the dev for FOP2 doesn't hardly ever look at his forum.
I originally reported it back in February. Mistakenly assumed it was an issue with updating FOP2 at the time.
http://forum.fop2.com/4691-dnd-broken-since-installing-2-31-21
-
The latest version (2.31.23) of FOP2 is still broke. When you update, it will break your system again.
Now, it is only line 192 that needs replaced with this.
You can search fordbDel
to find the line, it is the only instance of it.exten => *79,n,Noop(${DB_DELETE(fop2state/${CHAN})})
The reason there is only one location is because the author removed the entire *76 functionality from this override.
-
Still broke in version 2.31.24.
Still only the
[app-dnd-off]
context. -
Finally fixed in 2.31.25