Working on an Audit Log module for Tango/FreePBX to show changes made through the UI portal (and maybe file diff too, but starting with UI database changes)
Any thoughts/comments on this? Any ideas about existing functionality for this already in Tango/FreePBX?
The one thing you need to keep in mind is that not all changes are stored in the database back end. Numerous extension settings and other modules have settings that only exist in the AstDB. You cannot rely on the database only to track changes.
There is no “clean and easy“ way to do this. You can use various hooks and tie in to every page to get and process form submission data but you will end up with a huge monolith of code and it will be a noghtmare to maintain. This almost needs to be done on a per module basis.
TangoPBX is a trademark of TangoPBX LLC, FreePBX is a trademark of Sangoma US Inc, Asterisk is a trademark of Digium Inc.