[Pkg-voip-commits] r3223 - in freepbx/trunk/debian: . mysql sqlite3
Diego Iastrubni
elcuco-guest at alioth.debian.org
Sun Mar 11 15:46:54 CET 2007
Author: elcuco-guest
Date: 2007-03-11 14:46:53 +0000 (Sun, 11 Mar 2007)
New Revision: 3223
Added:
freepbx/trunk/debian/mysql/amportal.conf
freepbx/trunk/debian/sqlite3/amportal.conf
Modified:
freepbx/trunk/debian/README
freepbx/trunk/debian/README.Debian
freepbx/trunk/debian/TODO.Debian
freepbx/trunk/debian/changelog
freepbx/trunk/debian/control
freepbx/trunk/debian/freepbx-common.install
freepbx/trunk/debian/freepbx-mysql.install
freepbx/trunk/debian/freepbx-sqlite3.dirs
freepbx/trunk/debian/freepbx-sqlite3.install
freepbx/trunk/debian/sqlite3/install-sql
Log:
The "I kick ass the ninja way" commit:
SQLite3 and MySQL backends completely usable. With apache, apache2, and lighttpd (and probably other httpd-cgi servers, but who cares...?). The
amportal.conf template currently must be part of the freepbx-database package to be installed (by default freepbx-mysql, but I still think the sqlite3
one is WAY cooler).
Updated README.Debian, and TODO.Debian.
Package looks much more like "a Debian package", and still is very flexible. Even the cows think this.
_____________________
( Diego does kick ass )
---------------------
o ^__^
o (oo)\_______
(__)\ )\/\
||----w |
|| ||
Modified: freepbx/trunk/debian/README
===================================================================
--- freepbx/trunk/debian/README 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/README 2007-03-11 14:46:53 UTC (rev 3223)
@@ -23,9 +23,8 @@
- View call detail reporting with asterisk-stat
- View extension and trunk status with Flash Operator Panel
- View conversation recordings with Asterisk Recording Interface (ARI)
- - Spanish translation provided by Fernando M. Villares Teran
-The package freepbx-admin comes with basic administration options. You can also
+The package freepbx-common comes with basic administration options. You can also
install the package "freepbx-modules", which is a virtual package which will install
several other packages.
@@ -33,12 +32,7 @@
use it with apache2, or even mathopd.
Examples:
- apt-get install freepbx-apache2-mysql freepbx-admin
- apt-get install freepbx-mathopd-mysql freepbx-admin
- apt-get install freepbx-mathopd-sqlite freepbx-admin
+ apt-get install freepbx (install all freepbx)
+ apt-get install freepbx-sqlite3 freepbx-common (bare minimum, with sqlite3 backend)
-The sqlite support is not fully functional, and besides the core module
-(found on the admin package) is not ganrateed to work. There is work been
-done to use sqlite2 on freePBX trunk.
-
Diego Iastrubni <diego.iastrubni at xorcom.com>
Modified: freepbx/trunk/debian/README.Debian
===================================================================
--- freepbx/trunk/debian/README.Debian 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/README.Debian 2007-03-11 14:46:53 UTC (rev 3223)
@@ -7,39 +7,48 @@
If you just want the dialing plans FreePBX provides, you can
- apt-get install freepbx-common asterisk-config-freepbx
+ apt-get install asterisk-config-freepbx freepbx-common
+
+If you want install freepbx with the sqlite3 backend:
+
+ apt-get install freepbx-sqlite3 asterisk-config-freepbx freepbx-common
+
+
Pakcages removed from the freepbx-modules meta package:
- music: this module is completely borked. need major work in order to get into debian
- java-ssh: not exactly free
- backup: just does not work
+ * music: this module is completely borked. need major work in order to get into debian
+ * java-ssh: not exactly free
+ * backup: just does not work
-Those packages are still available at rapid, if you do want them.
-TODO:
-Rewrite this documentation, as it's not relevant to freepbx.
-On uninstall, we need to ask the user if he wants to clean up the sql tables
-There are smarter ways of mixing SQL/PHP/HTTPD servers, document them
+Notes for users
+---------------
+After the first install, you will have to link /usr/share/freepbx into your
+web root. (or change the web root of apache into that dir). The package supports
+apache2, apache, and any web server that provides httpd-cgi. Tested servers are:
+mathopd, lighttpd.
-Notes
------
-After the first install, you will have to link /usr/share/freepbx into your
-web root. (or change the web root of apache into that dir).
+Note for packagers
+------------------
+The vitual package "freepbx-database" is currently provided by 2 different packages:
+freepbx-mysql, freepbx-sqlite3. If you want to make another SQL backend (assuming it's
+supported by the source), the package must provide:
-If you do want apache2, please install freepbx using
+/usr/share/freepbx-common/install-db
+ a script for installing the default DB to be used by freepbx
- apt-get install apache2 libapache2-mod-php4 freepbx
-
-Otherwise, you will install libapache-mod-php4 (for apache1).
+/usr/share/freepbx-common/remove-db
+ a script for remove the DB created by install-db
-After the install, the packages modify /etc/php4/apache{,2)/php.ini and remove
-the comment from the line which contains the mysql module (arround line 536
-in my box, working on a quite clean sarge):
-
- ;extension=mysql.so
+/usr/share/freepbx-common/amportal.conf
+ a default configuration for freepbx, which uses this DB
+The pavcage should provide "freepbx-database", and if possible should replace
+freepbx-mysql and freepbx-sqlite3.
+
+
Package: freepbx
-----------------
This is a meta package which will install all other packages.
@@ -56,79 +65,48 @@
and generally we want that cpu slice for transcoding. This means that using wav is the smart thing
to do.
-HUGE NOTE about wavs:
-The wavs MUST be in 16bit-8000khz-mono. If you do want to convert MP3 to that format,
-please look at the package: asterisk-moh-wav, which will convert the MP3s found at
-/usr/share/asterisk/mohmp3 to the format needed by this application.
-
Package: asterisk-sounds-moh-freepbx
-------------------------------------
-These are the default sounds provided by FreePBX for music on hold. The format is WAV, since Rapid's
-it's nicer on CPU (playing mp3 takes more CPU then playing WAV) and for other ovious reasons...
-We use SOX to play the wavs.
+These are the default sounds provided by FreePBX for music on hold.
-If you do want to add your own MOH, you must add 8khz 16 bitz WAV files into
-/usr/share/asterisk/mohwav/ . Note that the files MUST be with extension of ".mp3"
-even tough they are WAV!
-There is a small utility which can help you with the convertion between MP3 and the WAV, it's
-in a package asterisk-moh-wav . Basically, you will need to put your MP3 file into /usr/share/asterisk/mohmp3/
-and then execute "make" on that dir. This will convert your music on hold to wav.
-
-
Package: freepbx-agi
---------------------
This package conatins the agi needed to dial using freepbx dialing plan and
other files needed by the freepbx dialing plan.
+
Package: freepbx-common
------------------------
-Common files and scripts needed to install the DB used by freepbx,
-upgrade between versions, applying configurations, etc.
-Also contains the main index.html and the administration parts for Asterisk
-(what most people call freepbx).
+The main freepbx package. Contains the core module, and is the smaller package
+which can be installed which gives a working set of configuration. It depends
+on a SQL backend (currently freepbx-mysql or freepbx-sqlite3).
-We also added some helper scripts, to create and purge freepbx
-mysql tables: freepbx-install-db.sh, freepbx-remove-db.sh.
-
-Those scripts, will create the freepbx SQL tables, with the correct
-permissions, with users and passwords as described in /etc/freepbx.conf,
-and will also fill the DB with the default values.
-
-If you do want to create empty tables, you can set the environment variable
-CLEANDB=1 before calling freepbx-install-mysql.sh (this will only create the DB
-without filling it with default values)
-
- CLEANDB=1 /usr/share/freepbx-common/freepbx-install-mysql.sh
-
When the user presses a red bar at the top of the screen, a post reload script
is executed. By default FreePBX will execute all the scripts found in
/usr/share/freepbx-common/post-reload/
The scripts are ordered in a very similar way to the SYS V init system.
-In short, to execute your own script, you can save it into /usr/share/freepbx-common/post-reload/S10myscript (for example).
+In short, to execute your own script, you can save it into
+/usr/share/freepbx-common/post-reload/S10myscript (for example).
If you do not want to see the output of those commands on the client side (HTML), you may
add the key POST_RELOAD_DEBUG=0 (if you set it to "1" you will see the output of those
commands on the client side)
-If you use the zaptel autodetection feature, the default extension will be 401. To modify this,
-change the ZAP_FIRST_CHANNEL entry on /etc/freepbx.conf, for example:
-ZAP_FIRST_CHANNEL=100.
-NOT AVAILABLE IN FREEPBX YET. WILL COME, don't worry :)
+Package: freepbx-mysql
+----------------------
+MySQL support for freePBX. If you install this package, freePBX will store it's configuration
+in a local MySQL server. If you want to store the configuration in a remote MySQL server,
+this is suported as well.
-Package: freepbx-cdr
----------------------
-CDR not really tested. If you do test this package, please contact me, and tell me your
-experiece: diego.iastrubni at xorcom.com
-Package: freepbx-vmail
------------------------
-Currently contains the old comedian mail (cgi), and the new recordings section
-by Dan Littlejohn of Littlejohn Consulting, for more information about the ARI
-please visit: http://www.littlejohnconsulting.com/?q=ari
+Package: freepbx-sqlite3
+------------------------
+SQLite3 support for freePBX. If you install this package, freePBX will store it's configuration
+in a local SQLite3 file (usually localted in /var/lib/asterisk/freepbx.db).
Package: freepbx-panel
@@ -137,4 +115,4 @@
http://www.asternic.org/
- -- Diego Iastrubni <diego.iastrubni at xorcom.com>, Sun, 19 Mar 2006 19:30 +0200
+ -- Diego Iastrubni <diego.iastrubni at xorcom.com>, Sun, 11 Mar 2007 18:30 +0200
Modified: freepbx/trunk/debian/TODO.Debian
===================================================================
--- freepbx/trunk/debian/TODO.Debian 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/TODO.Debian 2007-03-11 14:46:53 UTC (rev 3223)
@@ -1,3 +1,5 @@
-* more testing
-* find a more generic way of dialing with httpd servers and sql servers
-* find a way to remove the www-data from the group asterisk (ari is the problem right now)
+ * find a more generic way of dialing with httpd servers
+ * find a way to remove the www-data from the group asterisk (ari is the problem right now)
+ * freepbx-database currently needs to provide amportal.conf, maybe give the packages a way to modify
+ the installed amportal.conf?
+ * rename /etc/amportal.conf to /etc/freepbx.conf
Modified: freepbx/trunk/debian/changelog
===================================================================
--- freepbx/trunk/debian/changelog 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/changelog 2007-03-11 14:46:53 UTC (rev 3223)
@@ -1,14 +1,18 @@
freepbx (2.2.1~dfsg-1) UNRELEASED; urgency=low
+ * NOT RELEASED YET
+
[ Diego Iastrubni ]
* New upstream release
* SQLite2 is deprecated, SQLite3 and MySQL are supported.
* Source cleanup: ari and op-panel are no longer on the source tree
- (same for cdr code which was not free by dfsg)
+ (same for cdr code which is not free by dfsg)
* Removed obsolete updates from 1.0.10
* asterisk-sounds-moh-freepbx: files are now *.sln, packaged by upstream
* freepbx-common: renamed freepbx-admin
* freepbx-admin: apply_conf.sh is now called /usr/sbin/update-freepbx
+ * freepbx-mysql, freepbx-sqlite3: support for sql "servers" has been
+ put in separate packages. One package is needed for the configuration.
[ Chris Halls ]
* Remove fix-recordings.patch - already fixed in a different way upstream
Modified: freepbx/trunk/debian/control
===================================================================
--- freepbx/trunk/debian/control 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/control 2007-03-11 14:46:53 UTC (rev 3223)
@@ -30,7 +30,7 @@
Package: asterisk-config-freepbx
Architecture: all
-Depends: freepbx-agi, asterisk-sounds-main, asterisk-sounds-extra, freepbx-sounds-extra|amportal-sounds-extra|amportal-sounds-extra-links,
+Depends: freepbx-agi, asterisk-sounds-main, asterisk-sounds-extra, freepbx-sounds-extra|amportal-sounds-extra|amportal-sounds-extra-links
Recommends: sox
Provides: asterisk-config-custom
Replaces: asterisk-config, asterisk-config-amportal
@@ -98,8 +98,8 @@
Package: freepbx-common
Architecture: all
Replaces: amportal-common, freepbx-module-core
-Conflicts: amportal-common, freepbx-module-core, freepbx-vmail
-Depends: adduser, asterisk-config-freepbx, freepbx-database, asterisk(>= 1.2), apache2|apache|httpd-cgi, libapache2-mod-php5|libapache2-mod-php4|libapache-mod-php4|php5-cgi|php4-cgi, php-db|php4-pear(<< 4:4.4.0-0), php5-cli|php4-cli, php5-pear|php-pear|php4-pear, libdbi-perl
+Conflicts: amportal-common
+Depends: adduser, asterisk-config-freepbx, freepbx-database|freepbx-mysql, asterisk(>= 1.2), apache2|apache|httpd-cgi, libapache2-mod-php5|libapache2-mod-php4|libapache-mod-php4|php5-cgi|php4-cgi, php-db|php4-pear(<< 4:4.4.0-0), php5-cli|php4-cli, php5-pear|php-pear|php4-pear, libdbi-perl
Description: FreePBX administration panel
FreePBX (formally AMP) is a web-based GUI for Asterisk.
This package contains the common files needed for freepbx, as well as the
@@ -109,7 +109,7 @@
Package: freepbx-mysql
Architecture: all
-Depends: mysql5-server-5.0|mysql5-server-4.1|virtual-mysql-server, php5-mysql|php4-mysql
+Depends: mysql5-server-5.0|mysql5-server-4.1|virtual-mysql-server, php5-mysql|php4-mysql, libdbd-mysql-perl
Provides: freepbx-database
Conflicts: freepbx-sqlite3
Replaces: freepbx-sqlite3
@@ -119,12 +119,12 @@
Package: freepbx-sqlite3
Architecture: all
-Depends: sqlite3, php5-sqlite3
+Depends: sqlite3, libapache2-mod-php5|php5-cgi, php5-sqlite3, php-sqlite3, libdbd-sqlite3-perl
Conflicts: freepbx-mysql
Replaces: freepbx-mysql
Provides: freepbx-database
Description: FreePBX - SQLite3 support
- SQLite3 support for freePBX. Depende on PHP5 only.
+ SQLite3 support for freePBX. Compatible with PHP5 only.
Package: freepbx-panel
Architecture: all
Modified: freepbx/trunk/debian/freepbx-common.install
===================================================================
--- freepbx/trunk/debian/freepbx-common.install 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/freepbx-common.install 2007-03-11 14:46:53 UTC (rev 3223)
@@ -12,9 +12,7 @@
debian/share/xorcom-rapid.png usr/share/freepbx/images/
debian/share/xorcom.png usr/share/freepbx/images/
-
install_amp usr/share/freepbx-common/
-debian/share/amportal.conf usr/share/freepbx-common/
debian/share/freepbx-post-reload usr/share/freepbx-common/
debian/share/update-freepbx usr/sbin/
debian/share/freepbx-enable-all-modules usr/share/freepbx-common/
Modified: freepbx/trunk/debian/freepbx-mysql.install
===================================================================
--- freepbx/trunk/debian/freepbx-mysql.install 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/freepbx-mysql.install 2007-03-11 14:46:53 UTC (rev 3223)
@@ -1,2 +1,3 @@
+debian/mysql/amportal.conf usr/share/freepbx-common/
debian/mysql/install-sql usr/share/freepbx-common/
debian/mysql/remove-sql usr/share/freepbx-common/
Modified: freepbx/trunk/debian/freepbx-sqlite3.dirs
===================================================================
--- freepbx/trunk/debian/freepbx-sqlite3.dirs 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/freepbx-sqlite3.dirs 2007-03-11 14:46:53 UTC (rev 3223)
@@ -1 +1,2 @@
usr/share/freepbx-common/
+usr/share/freepbx-common/sql
Modified: freepbx/trunk/debian/freepbx-sqlite3.install
===================================================================
--- freepbx/trunk/debian/freepbx-sqlite3.install 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/freepbx-sqlite3.install 2007-03-11 14:46:53 UTC (rev 3223)
@@ -1,2 +1,4 @@
+debian/sqlite3/amportal.conf usr/share/freepbx-common/
debian/sqlite3/install-sql usr/share/freepbx-common/
debian/sqlite3/remove-sql usr/share/freepbx-common/
+debian/sqlite3/newinstall.sqlite3.sql usr/share/freepbx-common/sql
Added: freepbx/trunk/debian/mysql/amportal.conf
===================================================================
--- freepbx/trunk/debian/mysql/amportal.conf 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/mysql/amportal.conf 2007-03-11 14:46:53 UTC (rev 3223)
@@ -0,0 +1,113 @@
+# This file contains settings for components of FreePBX
+# Spaces are not allowed!
+# Run /usr/share/freepbx-common/apply_conf.sh after making changes to this file
+
+###############################################################
+# global setup
+###############################################################
+
+# AMPDBENGINE - which SQL server to connect to (mysql,sqlite)
+# if none supplied will fallback to mysql
+AMPDBENGINE=mysql
+
+# AMPWEBADDRESS: the IP address or host name used to access the FreePBX web admin
+# leave empthy for autodetection (default)
+AMPWEBADDRESS=
+
+# !! you have no reason to modify the next 4 entries !!
+
+# AMPBIN: where command line scripts live
+AMPBIN=/usr/share/asterisk/bin
+
+#AMPSBIN: where (root) command line scripts live
+AMPSBIN=/usr/sbin
+
+# AMPWEBROOT: the path to Apache's webroot (leave off trailing slash)
+AMPWEBROOT=/usr/share/freepbx
+
+# AMPCGIBIN: the path to Apache's cgi-bin dir (leave off trailing slash)
+AMPCGIBIN=/usr/lib/cgi-bin
+
+#################################################################
+# mysql setup
+#################################################################
+
+# AMPDBHOST: the host to connect to the 'asterisk' mysql database
+AMPDBHOST=localhost
+
+# AMPDBUSER: the user to connect to the 'asterisk' mysql database
+AMPDBUSER=asteriskuser
+
+# AMPDBPASS: the password for AMPDBUSER
+AMPDBPASS=amp109
+
+# NOTES
+# in case you lock yourself out of freepbx, you can use the
+# AMPDBUSER and AMPDBPASS as a super admin. If you are using SQLite
+# you might want to uncomment those entries.
+
+#################################################################
+# sqlite setup (not used by default)
+#################################################################
+
+# AMPDBFILE: where the sqlite file is saved
+#AMPDBFILE=/var/lib/mysql/freepbx.db
+
+#################################################################
+# manager setup
+#################################################################
+
+# AMPMGRUSER: the user to access the Asterisk manager interface
+AMPMGRUSER=admin
+
+# AMPMGRPASS: the password for AMPMGRUSER
+AMPMGRPASS=amp111
+
+
+#################################################################
+# Flash operator definitions
+#################################################################
+
+# FOPWEBROOT: web root for the Flash Operator Panel
+FOPWEBROOT=/usr/share/op-panel
+
+# FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
+FOPPASSWORD=password
+
+# FOPSORT: FOP should sort extensions by Last Name [lastname] or by Extension [extension]
+FOPSORT=extension
+
+#################################################################
+# FreePBX GUI and behaviour definitions
+#################################################################
+# AUTHTYPE: authentication type to use for web admin
+# If type set to 'database', the primary FreePBX admin credentials will be the AMPDBUSER/AMPDBPASS above
+# valid: none, database
+AUTHTYPE=database
+
+# AMPADMINLOGO: Defines the logo that is to be displayed at the TOP LEFT of the admin screen.
+# This enables you to customize the look of the administration screen.
+# NOTE: images need to be saved in the ..../admin/images directory of your FreePBX install
+# This image should be 55px in height
+AMPADMINLOGO=freepbx.png
+
+# AMPFOOTERLOGO: Defines the logo that is to be displayed at the BOTTOM RIGHT of the admin screen.
+# This enables you to customize the look of the administration screen.
+# NOTE: images need to be saved in the ..../admin/images directory of your FreePBX install
+# This image should be 40px in height
+AMPFOOTERLOGO=xorcom.png
+
+# AMPADMINHREF: Defines the where a user is taken if they click on the footer logo
+# This enables you to customize the look of the administration screen.
+AMPADMINHREF=www.xorcom.com
+
+# AMPEXTENSIONS: the type of view for extensions admin
+# If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices.
+# If set to 'extensions' Devices and Users will me administered in a single screen.
+AMPEXTENSIONS=extensions
+
+# POST_RELOAD: automatically execute a script after applying changes in the FreePBX admin
+# Set POST_RELOAD to the script you wish to execute after applying changes
+# If POST_RELOAD_DEBUG=true, you will see the output of the script in the web page
+POST_RELOAD=/usr/share/freepbx-common/freepbx-post-reload
+POST_RELOAD_DEBUG=false
Added: freepbx/trunk/debian/sqlite3/amportal.conf
===================================================================
--- freepbx/trunk/debian/sqlite3/amportal.conf 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/sqlite3/amportal.conf 2007-03-11 14:46:53 UTC (rev 3223)
@@ -0,0 +1,113 @@
+# This file contains settings for components of FreePBX
+# Spaces are not allowed!
+# Run /usr/share/freepbx-common/apply_conf.sh after making changes to this file
+
+###############################################################
+# global setup
+###############################################################
+
+# AMPDBENGINE - which SQL server to connect to (mysql,sqlite)
+# if none supplied will fallback to mysql
+AMPDBENGINE=sqlite3
+
+# AMPWEBADDRESS: the IP address or host name used to access the FreePBX web admin
+# leave empthy for autodetection (default)
+AMPWEBADDRESS=
+
+# !! you have no reason to modify the next 4 entries !!
+
+# AMPBIN: where command line scripts live
+AMPBIN=/usr/share/asterisk/bin
+
+#AMPSBIN: where (root) command line scripts live
+AMPSBIN=/usr/sbin
+
+# AMPWEBROOT: the path to Apache's webroot (leave off trailing slash)
+AMPWEBROOT=/usr/share/freepbx
+
+# AMPCGIBIN: the path to Apache's cgi-bin dir (leave off trailing slash)
+AMPCGIBIN=/usr/lib/cgi-bin
+
+#################################################################
+# mysql setup
+#################################################################
+
+# AMPDBHOST: the host to connect to the 'asterisk' mysql database
+#AMPDBHOST=localhost
+
+# AMPDBUSER: the user to connect to the 'asterisk' mysql database
+#AMPDBUSER=asteriskuser
+
+# AMPDBPASS: the password for AMPDBUSER
+#AMPDBPASS=amp109
+
+# NOTES
+# in case you lock yourself out of freepbx, you can use the
+# AMPDBUSER and AMPDBPASS as a super admin. If you are using SQLite
+# you might want to uncomment those entries.
+
+#################################################################
+# sqlite setup (not used by default)
+#################################################################
+
+# AMPDBFILE: where the sqlite file is saved
+AMPDBFILE=/var/lib/asterisk/freepbx.db
+
+#################################################################
+# manager setup
+#################################################################
+
+# AMPMGRUSER: the user to access the Asterisk manager interface
+AMPMGRUSER=admin
+
+# AMPMGRPASS: the password for AMPMGRUSER
+AMPMGRPASS=amp111
+
+
+#################################################################
+# Flash operator definitions
+#################################################################
+
+# FOPWEBROOT: web root for the Flash Operator Panel
+FOPWEBROOT=/usr/share/op-panel
+
+# FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
+FOPPASSWORD=password
+
+# FOPSORT: FOP should sort extensions by Last Name [lastname] or by Extension [extension]
+FOPSORT=extension
+
+#################################################################
+# FreePBX GUI and behaviour definitions
+#################################################################
+# AUTHTYPE: authentication type to use for web admin
+# If type set to 'database', the primary FreePBX admin credentials will be the AMPDBUSER/AMPDBPASS above
+# valid: none, database
+AUTHTYPE=database
+
+# AMPADMINLOGO: Defines the logo that is to be displayed at the TOP LEFT of the admin screen.
+# This enables you to customize the look of the administration screen.
+# NOTE: images need to be saved in the ..../admin/images directory of your FreePBX install
+# This image should be 55px in height
+AMPADMINLOGO=freepbx.png
+
+# AMPFOOTERLOGO: Defines the logo that is to be displayed at the BOTTOM RIGHT of the admin screen.
+# This enables you to customize the look of the administration screen.
+# NOTE: images need to be saved in the ..../admin/images directory of your FreePBX install
+# This image should be 40px in height
+AMPFOOTERLOGO=xorcom.png
+
+# AMPADMINHREF: Defines the where a user is taken if they click on the footer logo
+# This enables you to customize the look of the administration screen.
+AMPADMINHREF=www.xorcom.com
+
+# AMPEXTENSIONS: the type of view for extensions admin
+# If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices.
+# If set to 'extensions' Devices and Users will me administered in a single screen.
+AMPEXTENSIONS=extensions
+
+# POST_RELOAD: automatically execute a script after applying changes in the FreePBX admin
+# Set POST_RELOAD to the script you wish to execute after applying changes
+# If POST_RELOAD_DEBUG=true, you will see the output of the script in the web page
+POST_RELOAD=/usr/share/freepbx-common/freepbx-post-reload
+POST_RELOAD_DEBUG=false
Modified: freepbx/trunk/debian/sqlite3/install-sql
===================================================================
--- freepbx/trunk/debian/sqlite3/install-sql 2007-03-11 10:15:28 UTC (rev 3222)
+++ freepbx/trunk/debian/sqlite3/install-sql 2007-03-11 14:46:53 UTC (rev 3223)
@@ -33,7 +33,7 @@
. /etc/amportal.conf
-if [ "$AMPDBENGINE" != "sqlite" ]; then
+if [ "$AMPDBENGINE" != "sqlite3" ]; then
echo "freePBX is not configured to work with SQLite"
echo "Plese edit /etc/amportal.conf to your needs and run this script again"
exit 1
@@ -54,5 +54,5 @@
echo "creating asterisk DB at $AMPDBFILE"
-cat /usr/share/freepbx-common/sql/newinstall.sqlite.sql | sqlite $AMPDBFILE
+cat /usr/share/freepbx-common/sql/newinstall.sqlite3.sql | sqlite3 $AMPDBFILE
More information about the Pkg-voip-commits
mailing list