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