On FreePBX 14 Distro, at the end of extensions_custom.conf I have
#include announcement-custom.conf
In announcement-custom.conf (owned by asterisk) I have
[app-announcement-16-custom] exten => s,1,NoOp(NightMode Dispo) exten => s,n,AGI(nightmode.php)
However, the NoOp message never displays and the AGI is never called when announcement 16 plays. When dialplan is reloaded, every announcement EXCEPT 16 has the CLI line
Context ‘app-announcement-3’ tries to include nonexistent context ‘app-announcement-3-custom’
I need to have the AGI run before the announcement because if customer hangs up on announcement the announcement destination is never executed.
Anyone have any ideas?