You can't possibly read conf files and present them to the user in a web-based form because of the complexity of the data in those file. Take the "extensions" configuration file for an example (as this is probably the most complex one). Settings in this file might specify a simple mapping between extensions and physical phones but it might as well include other things. Ex: dialing 500 on my PBX will reboot the server! Dialing 199 will ring two phones. You might also have IVR's in a an extensions.conf and very complex call-handling logic based on almost anything you can think of. There's plain simply no way of mapping that wealth of info into some structured form into a web page!

What I think is a better idea is to store ALL your info into a database and re-generate the configuration files whenever that data changes. You can get a very customizable system in place this way but, unless your needs are somewhat different you might be better off using one of the pre-built systems.

moona ather wrote:
Hi,
I have to make a web-based management interface of configuring asterisk.... i wanted to know if it is as simple as reading the .conf files and searching for the required section in the file and adding users etc. or there are other steps involved too?? As I have seen many such built codes on this site and found lots of code... kindly tell me how complex it is and how many other steps are involved in making this interface as i am new in this.
Emmo.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to