Hi,
I have successfully installed fop2admin into freepbx2.2.1, and since then the missing extension buttons issue had already been resolved.
Now, I have another issue, and this issue concerns the logic of the function fop2_all_freepbx_buttons()
in functions.inc.php.
Whenever I want to maintain the buttons in the Fop2 Buttons screen, it will always display all the buttons directly from the two tables devices & users? As a result, this is very difficult for me manage the buttons since I can't delete anything from FOP2 Buttons screen. Why can't we just link the table fop2buttons together with table fop2users instead of linking tables devices & users with fop2buttons and let FOP2 Buttons module to extract users directly from fop2users instead of from tables devices&users? So that whenever I want to hide any buttons from displaying, I can simply go to FOP2 Users module to delete the user from there. If any new extension created in freepbx, the FOP2 Users module should able to detect and insert new record into the table fop2users, so that I can manually manage them at FOP2 Users screen. Don't you find that this should be the way to manage buttons more efficient? The purpose for the FOP2admin is to maintain the buttons, right?
Best Regards,
Chu