Add user-defined fields to extension config pages? (New module suggestion)

Joined
Jun 29, 2009
Messages
258
Reaction score
0
If we have anyone here that knows how to write a FPBX module and would like a quick project that would probably be useful to a lot of us, I'd like to suggest a module that would add user-defined fields to extension configuration pages. This would be considered a "tool" module and you'd go into it and give it a desired field name, and a dropdown would let you select the type of field and (if applicable) maximum data length. It would then insert the field into the MySQL extensions database, and also show the field on each extensions page. Hopefully it would also be added to the Bulk Extensions module logic so if someone uses that to backup or move extensions the extra fields would saved and/or transferred.

Such fields would not be utilized by FPBX directly, but could be used in custom code in extensions_custom.conf, or by third-party modules during the development process.

The main reason for having this would be to store bits of information associated with an extension on the extension's configuration page itself. Anything from notes on the extension to information on the user to data that can be accessed in custom dialplan or AGI code.

Just a thought, if anyone is looking for a project and knows the secrets of creating a module. I know it is possible to add fields to extension pages because other third-party modules do it, for example the "Outbound Route Permissions" module that I used to use added several fields to each extension page.
 

Members online

Forum statistics

Threads
25,812
Messages
167,767
Members
19,241
Latest member
bellabos
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top