root/freepbx/trunk/amportal.conf
| Revision 12167, 5.1 kB (checked in by p_lindheimer, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | # This file is part of FreePBX. |
| 2 | # |
| 3 | # FreePBX is free software: you can redistribute it and/or modify |
| 4 | # it under the terms of the GNU General Public License as published by |
| 5 | # the Free Software Foundation, either version 2 of the License, or |
| 6 | # (at your option) any later version. |
| 7 | # |
| 8 | # FreePBX is distributed in the hope that it will be useful, |
| 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | # GNU General Public License for more details. |
| 12 | # |
| 13 | # You should have received a copy of the GNU General Public License |
| 14 | # along with FreePBX. If not, see <http://www.gnu.org/licenses/>. |
| 15 | # |
| 16 | # This file contains settings for components of FreePBX |
| 17 | # This file will be used to define the initial configuration installed |
| 18 | # by the install_amp installation program, which can also obtain some |
| 19 | # of this interactively. |
| 20 | # |
| 21 | # Ths file should be writeable by the httpd user (usually asterisk for |
| 22 | # FreePBX installations). Once running, FreePBX will maintain these settings |
| 23 | # in a database and this file will be overwritten. It will also generate |
| 24 | # a based freepbx.conf configuration file, usually in /etc, that will |
| 25 | # be used to bootstrap FreePBX and any associated programs. The content |
| 26 | # of that file will include the core database credentials and path |
| 27 | # information needed to bootstrap FreePBX. |
| 28 | # |
| 29 | # Once installed and running properly out of the database, this file |
| 30 | # will be overwritten to include all the configuration settings specified |
| 31 | # in the Advanced Settings page of FreePBX and made available here for |
| 32 | # potential outside applications that may require access to some of these |
| 33 | # parameters. This will be maintained for a transitionary period to give |
| 34 | # the eco system time to conform to the new mode of setting configurations. |
| 35 | # |
| 36 | # The freepbx.conf file can also be specified in an evnironment variable: |
| 37 | # |
| 38 | # FREEPBX_CONF |
| 39 | # |
| 40 | # A full path should be specified. This configuration file is formatted as |
| 41 | # a very short snippet of PHP, here is an example of what it should look |
| 42 | # like: |
| 43 | # |
| 44 | #----------------------------------------------------------------- |
| 45 | # <?php |
| 46 | # $amp_conf['AMPDBUSER'] = 'my_db_user'; |
| 47 | # $amp_conf['AMPDBPASS'] = 'my_db_password'; |
| 48 | # $amp_conf['AMPDBHOST'] = 'localhost'; |
| 49 | # $amp_conf['AMPDBNAME'] = 'asterisk'; |
| 50 | # $amp_conf['AMPDBENGINE'] = 'mysql'; |
| 51 | # $amp_conf['datasource'] = ''; //for sqlite3 |
| 52 | # require_once('/var/www/html/admin/bootstrap.php'); |
| 53 | #----------------------------------------------------------------- |
| 54 | # |
| 55 | # Where the paths and credentials match up with your system. This file |
| 56 | # will be created by install_amp for you if not present, or will be |
| 57 | # create by the amportal script that is used to start and stop Asterisk |
| 58 | # and FOP for FreePBX. |
| 59 | |
| 60 | # Run /usr/src/AMP/apply_conf.sh after making changes to Asterisk |
| 61 | # manager credentials or MySQL CDR credentials to apply the changes to |
| 62 | # the corresponding manager.conf and cdr_mysql.conf files. |
| 63 | |
| 64 | |
| 65 | # FreePBX Database configuration |
| 66 | # AMPDBHOST: Hostname where the FreePBX database resides |
| 67 | # AMPDBENGINE: Engine hosting the FreePBX database (e.g. mysql) |
| 68 | # AMPDBNAME: Name of the FreePBX database (e.g. asterisk) |
| 69 | # AMPDBUSER: Username used to connect to the FreePBX database |
| 70 | # AMPDBPASS: Password for AMPDBUSER (above) |
| 71 | # AMPENGINE: Telephony backend engine (e.g. asterisk) |
| 72 | # |
| 73 | # AMPMGRUSER: Username to access the Asterisk Manager Interface |
| 74 | # AMPMGRPASS: Password for AMPMGRUSER |
| 75 | # |
| 76 | AMPDBHOST=localhost |
| 77 | AMPDBENGINE=mysql |
| 78 | AMPENGINE=asterisk |
| 79 | AMPMGRUSER=admin |
| 80 | AMPMGRPASS=amp111 |
| 81 | |
| 82 | # AMPBIN: Location of the FreePBX command line scripts |
| 83 | # AMPSBIN: Location of (root) command line scripts |
| 84 | # |
| 85 | AMPBIN=/var/lib/asterisk/bin |
| 86 | AMPSBIN=/usr/local/sbin |
| 87 | |
| 88 | # AMPWEBROOT: Path to Apache's webroot (leave off trailing slash) |
| 89 | # AMPCGIBIN: Path to Apache's cgi-bin dir (leave off trailing slash) |
| 90 | # AMPWEBADDRESS: The IP address or host name used to access the AMP web admin |
| 91 | # |
| 92 | AMPWEBROOT=/var/www/html |
| 93 | AMPCGIBIN=/var/www/cgi-bin |
| 94 | # AMPWEBADDRESS=x.x.x.x|hostname |
| 95 | |
| 96 | FOPWEBROOT=/var/www/html/panel |
| 97 | FOPPASSWORD=passw0rd |
| 98 | |
| 99 | # This is the default admin name used to allow an administrator to login to ARI bypassing all security. |
| 100 | # Change this to whatever you want, don't forget to change the ARI_ADMIN_PASSWORD as well |
| 101 | ARI_ADMIN_USERNAME=admin |
| 102 | |
| 103 | # This is the default admin password to allow an administrator to login to ARI bypassing all security. |
| 104 | # Change this to a secure password. |
| 105 | ARI_ADMIN_PASSWORD=ari_password |
| 106 | |
| 107 | # AUTHTYPE=database|none |
| 108 | # DEFAULT VALUE: database |
| 109 | # Authentication type to use for web admininstration. If type set to 'database', the primary |
| 110 | # AMP admin credentials will be the AMPDBUSER/AMPDBPASS above. |
| 111 | AUTHTYPE=database |
| 112 | |
| 113 | # AMPEXTENSIONS=extensions|deviceanduser |
| 114 | # Sets the extension behavior in FreePBX. If set to 'extensions', Devices and Users are |
| 115 | # administered together as a unified Extension, and appear on a single page. |
| 116 | # If set to 'deviceanduser', Devices and Users will be administered seperately. Devices (e.g. |
| 117 | # each individual line on a SIP phone) and Users (e.g. '101') will be configured |
| 118 | # independent of each other, allowing association of one User to many Devices, or allowing |
| 119 | # Users to login and logout of Devices. |
| 120 | AMPEXTENSIONS=extensions |
| 121 |
Note: See TracBrowser for help on using the browser.
