You can use the FOP2 Buttons page in fop2admin to disable arbitrary buttons, including trunks.
Any registration state that is advertised via AMI events will be shown in FOP2, if you do not see it, it is not broadcasted via AMI. Either upgrade Asterisk or be sure you have your buttons configured correctly.
Best regards,
I did see the configuration options in FreePBX -> Other -> fop2 buttons but I want the fop2 panel to automatically reflect the system settings (like it did in fop1), not to have to go in and manually match the fop2 panel settings to the system settings.
I disabled the auto configuration option by commenting out line
#exec autoconfig-users-freepbx.sh
and uncommenting the line
buttonfile=buttons.cfg
so I could prevent users from seeing the fop2 panel; I only want admin to see/use the fop2 panel.
I manually refresh the buttons.cfg file whenever I change the configuration by running, at the CLI
/usr/local/fop2/autoconfig-buttons-freepbx.sh > /usr/local/fop2/buttons.cfg
and it seems to do fine
As for the "If you do not see it, it is not being broadcasted by AMI", I do see it when I use
FreePBX -> Reports -> Asterisk Info
Asterisk Info properly hides any trunks that are disabled
Asterisk Info properly shows when a trunk loses registration
so the information is being broadcasted
I am on Asterisk 11 with FreePBX 2.11
Is there any chance the flags sent are different in this configuration and not recognized by fop2 v2.26?