[Asterisk-Users] static database config gui
Kanuri, Seshu (Company IT)
Seshu.Kanuri at morganstanley.com
Thu May 26 07:29:17 MST 2005
Chris,
This is a good beginning. Though this does sound useful to me, I would
also like to mention that there are some database management tools
already available out there - phpMyAdmin for example, where you can
modify everything visually and insert/update/delete Asterisk table data
over the web.
There is another application 'phpconfig' which is part of Asterisk at home
- which can modify the config files in text mode directly. What would be
useful is to modify this application, to make it write the changes to
the mysql database also and synchronize the two sets of config data.
This provides flexibility for the user to edit the data .
AMP GUI does this in updating the tables and writing the same to
additional config files ( but not the other way, i.e if you change the
config files in text mode, it does not update the database, when you
open the gui), that are included in the default config files.
Seshu
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of snacktime
Sent: Thursday, May 26, 2005 3:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] static database config gui
I threw together a web gui for the static database configuration over
the last couple of days.
I built it using mod perl and the template toolkit. If enough people
show an interest in this I'll put up a distribution, although it could
take a few days.
The interface is as generic as possible so you can throw pretty much any
asterisk .conf file in and it works. The interface assumes you already
know how to edit the config files. The database schema is the same as
on the wiki.
I'm working on making it a multi user interface. So that you can have
multiple end users with their own copies of the config files all on the
same server. The separation will be done through a naming
convention that will be applied appropriately. A kind of asterisk
virtual hosting.
I have a demo setup at the following url:
http://catalog1.paymentonline.com/voip/demo/index.html
One note on the gui. The numbers on the very left are the order of the
statements in the config file. For extensions, when you change the
location of an extension priority the system will automatically renumber
the order and the dialplan automatically. To insert a new priority in
the middle of an extension, use a number with a fraction.
When you add, delete, or update the system will automatically renumber
everything.
For example if you have the following extension:
exten => 999,1,Answer
exten => 999,2,Dial
exten => 999,3,Hangup
And you want to insert a new priority after 1, add the new priority as
1.5 which when added would give you something like this:
exten => 999,1,Answer
exten => 999,2,Ringing
exten => 999,3,Dial
exten => 999,4,Hangup
Chris
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
More information about the asterisk-users
mailing list