NATHAN242's Projects
Projects
Tools
Libraries
Web Tools
Project repo: LINK
My custom FreePBX management tools. I created these to help me with running a FreePBX based phone system.
To use the tools, place the files in a subfolder under your FreePBX web server root.
TFTP Manager
This allows you to generate config files for Cisco 7940 IP phones. The code assumes that the TFTP root is at "/tftpboot" and this folder needs to be writeable to the web server in order to function correctly.
It will display a table showing the configured extension for each MAC address. You can simply reassign a phone to a different extension by selecting a new one from the dropdown in the table or create a new one by specifing the new MAC at the top.
Extension List
This is a simple extension list viewer with the ability to export into CSV. You can easily customize the format of the CSV in the code.
Extension Config
This will list the ring groups and queues that each extension is a member of. This is useful if you have a large number of extensions and want to get an overview of who is in what.
Inbound Routes
This will visually show the routes taken by inbound phone numbers. I created this to make it easier to verify the configuration of a FreePBX server as it is cumbersome to manually follow all the routes through the normal UI.
This is an example of what it will output:
Database settings are set in each file in the database class instantiation. You will need to check that they are set correctly.
$db = new mdb(<host>, <user>, <password>, <database>);
You can change the TFTP root path used by the TFTP manager by setting it in the "cnfManager" class instantiation.
$cnf = new cnfManager($db, '/tftpboot');
Just change the string "/tftpboot" to the correct path.