[Asterisk-Users] static database config gui

snacktime snacktime at gmail.com
Thu May 26 00:38:49 MST 2005


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



More information about the asterisk-users mailing list