[c5c522c] | 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 the Asterisk Management Portal |
---|
| 17 | # Spaces are not allowed! |
---|
| 18 | # Run /usr/src/AMP/apply_conf.sh after making changes to this file |
---|
| 19 | |
---|
| 20 | # AMPDBHOST: the host to connect to the database named 'asterisk' |
---|
| 21 | AMPDBHOST=localhost |
---|
| 22 | |
---|
| 23 | # AMPDBUSER: the user to connect to the database named 'asterisk' |
---|
| 24 | AMPDBUSER=asterisk |
---|
| 25 | |
---|
| 26 | # AMPDBENGINE: the type of database to use |
---|
| 27 | AMPDBENGINE=mysql |
---|
| 28 | |
---|
| 29 | # AMPDBPASS: the password for AMPDBUSER |
---|
| 30 | AMPDBPASS=%mysql_passwd% |
---|
| 31 | |
---|
| 32 | # AMPENGINE: the telephony backend engine to use |
---|
| 33 | AMPENGINE=asterisk |
---|
| 34 | |
---|
| 35 | # AMPMGRUSER: the user to access the Asterisk manager interface |
---|
| 36 | AMPMGRUSER=admin |
---|
| 37 | |
---|
| 38 | # AMPMGRPASS: the password for AMPMGRUSER |
---|
| 39 | AMPMGRPASS=syn3 |
---|
| 40 | |
---|
| 41 | # AMPBIN: where command line scripts live |
---|
| 42 | AMPBIN=/var/lib/asterisk/bin |
---|
| 43 | |
---|
| 44 | #AMPSBIN: where (root) command line scripts live |
---|
| 45 | AMPSBIN=/usr/sbin |
---|
| 46 | |
---|
| 47 | # AMPWEBROOT: the path to Apache's webroot (leave off trailing slash) |
---|
| 48 | AMPWEBROOT=/var/www/htdocs/syn3/freepbx |
---|
| 49 | |
---|
| 50 | # AMPCGIBIN: the path to Apache's cgi-bin dir (leave off trailing slash) |
---|
| 51 | AMPCGIBIN=/var/www/cgi-bin |
---|
| 52 | |
---|
| 53 | # AMPWEBADDRESS: the IP address or host name used to access the AMP web admin |
---|
| 54 | #AMPWEBADDRESS=192.168.1.101 |
---|
| 55 | AMPWEBADDRESS= |
---|
| 56 | |
---|
| 57 | # FOPWEBROOT:web root for the Flash Operator Panel |
---|
| 58 | FOPWEBROOT=/var/www/htdocs/syn3/freepbx/panel |
---|
| 59 | |
---|
| 60 | # FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel |
---|
| 61 | FOPPASSWORD=passw0rd |
---|
| 62 | |
---|
| 63 | # FOPSORT: FOP should sort extensions by Last Name [lastname] or by Extension [extension] |
---|
| 64 | FOPSORT=extension |
---|
| 65 | |
---|
| 66 | # FOPRUN: set to true if you want FOP started by freepbx_engine (amportal_start), false otherwise |
---|
| 67 | FOPRUN=false |
---|
| 68 | |
---|
| 69 | # AUTHTYPE: authentication type to use for web admin |
---|
| 70 | # If type set to 'database', the primary AMP admin credentials will be the AMPDBUSER/AMPDBPASS above |
---|
| 71 | # valid: none, database |
---|
| 72 | AUTHTYPE=database |
---|
| 73 | |
---|
| 74 | # AMPADMINLOGO: Defines the logo that is to be displayed at the TOP RIGHT of the admin screen. |
---|
| 75 | # This enables you to customize the look of the administration screen. |
---|
| 76 | # NOTE: images need to be saved in the ..../admin/images directory of your AMP install |
---|
| 77 | # This image should be 55px in height |
---|
| 78 | AMPADMINLOGO=syn3.png |
---|
| 79 | |
---|
| 80 | # USECATEGORIES: Controls if the menu items in the admin interface are sorted by category (true), |
---|
| 81 | # or sorted alphebetically with no categories shown (false). Defaults to true. |
---|
| 82 | #USECATEGORIES=false |
---|
| 83 | |
---|
| 84 | # AMPEXTENSIONS: the type of view for extensions admin |
---|
| 85 | # If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices. |
---|
| 86 | # If set to 'extensions' Devices and Users will me administered in a single screen. |
---|
| 87 | AMPEXTENSIONS=extensions |
---|
| 88 | |
---|
| 89 | # ENABLECW: Enable call waiting by default when an extension is created (DEFAULT is yes) |
---|
| 90 | # Set to 'no' to if you don't want phones to be commissioned with call waiting already |
---|
| 91 | # enabled. The user would then be required to dial the CW feature code (*70 default) to |
---|
| 92 | # enable their phone. Most installations should leave this alone. It allows multi-line |
---|
| 93 | # phones to receive multiple calls on their line appearances. |
---|
| 94 | ENABLECW=yes |
---|
| 95 | |
---|
| 96 | #CWINUSEBUSY: Set to yes for extensions that have CW enabled to report as busy if |
---|
| 97 | # they don't answer (resulting in busy voicemail greeting). Otherwise they simply |
---|
| 98 | # report as no-answer (e.g. busy greeting servers no purpose |
---|
| 99 | CWINUSEBUSY=no |
---|
| 100 | |
---|
| 101 | # AMPBADNUMBER: Set to false if you do not want the bad-number context generated which |
---|
| 102 | # traps any bogus number or freature code and plays a message to the effect. If you use |
---|
| 103 | # the Early Dial feature on some Grandstream phones, you will want to set this to false |
---|
| 104 | AMPBADNUMBER=true |
---|
| 105 | |
---|
| 106 | # The following are used to optionally have the freepbx backup program optionally |
---|
| 107 | # send the generated backup to an ftp server |
---|
| 108 | # |
---|
| 109 | # FTPBACKUP=YES to enable |
---|
| 110 | # FTPUSER, FTPPASSWORD, FTPSERVER must be set |
---|
| 111 | # FTPSUBDIR is an optional subdirectory at the ftp server, it will cause ftp to do a cd |
---|
| 112 | # |
---|
| 113 | # There is no error checking so you should check to make sure these are set correctly. The |
---|
| 114 | # ftp is saved after the backup, so it will not cause the local backup file to be effected |
---|
| 115 | # |
---|
| 116 | # FTPBACKUP=yes |
---|
| 117 | #FTPUSER=asterisk |
---|
| 118 | #FTPPASSWORD=password |
---|
| 119 | #FTPSUBDIR=mybackupfolder |
---|
| 120 | #FTPSERVER=myftpserver |
---|
| 121 | |
---|
| 122 | # SSH BACKUP INFO: must have a valid SSHRSAKEY file and server, only supported through |
---|
| 123 | # ssh. SUBDIR is optional and will be created if it does not exist. |
---|
| 124 | # |
---|
| 125 | # If SSHUSER is not set, it will default to the current user which is asterisk in any |
---|
| 126 | # standard configuration. |
---|
| 127 | # |
---|
| 128 | #SSHBACKUP=yes |
---|
| 129 | #SSHUSER=backups |
---|
| 130 | #SSHRSAKEY=/etc/asterisk/backup_rsa |
---|
| 131 | #SSHSUBDIR=mysubdir |
---|
| 132 | #SSHSERVER=mybackupserver.com |
---|
| 133 | |
---|
| 134 | # AMPPROVROOT=/var/ftp /tftpboot |
---|
| 135 | # One or more directories where there are provisioning files that should be included in the backup. Currently |
---|
| 136 | # these get backed up only, the FreePBX utility does not automatically restore them. |
---|
| 137 | # |
---|
| 138 | #AMPPROVROOT=/var/ftp /tftpboot |
---|
| 139 | # AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list |
---|
| 140 | # a file containing a list of file/directories to exclude, (will be used in tar's --exclude-from argument) |
---|
| 141 | # |
---|
| 142 | #AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list |
---|
| 143 | |
---|
| 144 | #AMPPROVEXCLUDELIST=/dir file |
---|
| 145 | # a list of files/directories to exclude, (will be used in tar's --exclude argument) |
---|
| 146 | # |
---|
| 147 | #AMPPROVEXCLUDELIST=/etc/selinux /tftpboot/polycom /tftpboot/*.ld /tftpboot/*.cmp /tftpboot/*.st |
---|
| 148 | |
---|
| 149 | #AMPBACKADMIN=true|false |
---|
| 150 | #option to exclude the admin/ web dir from backups. This is will result in significantly smaller backups |
---|
| 151 | # defaults to true - always backup admin dir |
---|
| 152 | #AMPBACKADMIN=true |
---|
| 153 | |
---|
| 154 | # If CUSTOMASERROR is set to false, then the Destination Registry will not report unknow destinations as errors |
---|
| 155 | # this should be left to the default true and custom destinations should be moved into the new custom apps registry |
---|
| 156 | # CUSTOMASERROR=false |
---|
| 157 | |
---|
| 158 | # if DYNAMICHINTS is set to true, Core will not statically generate hints. Instead it will make a call to the |
---|
| 159 | # AMPBIN php script, generate_hints.php, through an Asteirsk's #exec call. This requires Asterisk.conf to be |
---|
| 160 | # configured with "execincludes=yes" set in the [options] section. |
---|
| 161 | # DYNAMICHINTS=true |
---|
| 162 | |
---|
| 163 | # XTNCONFLICTABORT, BADDESTABORT |
---|
| 164 | # setting either of these to true will result in retrieve_conf aborting during a reload if an extension |
---|
| 165 | # conflict is detected or a destination is detected. It is usually better to allow the reload to go |
---|
| 166 | # through and then correct the problem but these can be set if a more strict behavior is desired |
---|
| 167 | # both default to false if not set |
---|
| 168 | XTNCONFLICTABORT=false |
---|
| 169 | BADDESTABORT=false |
---|
| 170 | |
---|
| 171 | # SERVERINTITLE if set to true, the browser title will be preceded with the server name. default false |
---|
| 172 | SERVERINTITLE=false |
---|
| 173 | |
---|
| 174 | # USEDEVSTATE = true|false # DEFAULT VALUE false |
---|
| 175 | # If this is set, it assumes that you are running Asterisk 1.4 or higher and want to take advantage of the |
---|
| 176 | # func_devstate.c backport available from Asterisk 1.6 which allows custom hints to be created to support |
---|
| 177 | # BLF for server side feature codes such as daynight, followme, etc. |
---|
| 178 | # |
---|
| 179 | USEDEVSTATE=true |
---|
| 180 | |
---|
| 181 | # MODULEADMINWGET=true|false # DEFAULT VALUE false |
---|
| 182 | # Module Admin normally tries to get its online information through direct file open type calls to URLs that |
---|
| 183 | # go back to the freepbx.org server. If it fails, typically because of content filters in firewalls that don't |
---|
| 184 | # like the way PHP formats the requests, the code will fall back and try a wget to pull the information. |
---|
| 185 | # This will often solve the problem. However, in such environemnts there can be a significant timeout before |
---|
| 186 | # the failed file open calls to the URLs return and there are often 2-3 of these that occur. Setting this value |
---|
| 187 | # will force FreePBX to avoid the attempt to open the URL and go straight to the wget calls. |
---|
| 188 | # |
---|
| 189 | MODULEADMINWGET=false |
---|
| 190 | |
---|
| 191 | # AMPDISABLELOG=true|false # DEFAULT VALUE true |
---|
| 192 | # Whether or not to invoke the freepbx log facility |
---|
| 193 | |
---|
| 194 | # AMPSYSLOGLEVEL=LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG|LOG_SQL|SQL # DEFAULT VALUE LOG_ERR |
---|
| 195 | # Where to log if enabled, SQL, LOG_SQL logs to old MySQL table, others are passed to syslog system to determine where to log |
---|
| 196 | |
---|
| 197 | # AMPENABLEDEVELDEBUG=true|false # DEFAULT VALUE false |
---|
| 198 | # Whether or not to include log messages marked as 'devel-debug' in the log system |
---|
| 199 | |
---|
| 200 | # AMPMPG123=true|false # DEFAULT VALUE true |
---|
| 201 | # When set to false, the old MoH behavior is adopted where MP3 files can be loaded and WAV files converted to MP3 |
---|
| 202 | # The new default behavior assumes you have mpg123 loaded as well as sox and will convert MP3 files to WAV. This is |
---|
| 203 | # highly recommended as MP3 files heavily tax the system and can cause instability on a busy phone system. |
---|
| 204 | |
---|
| 205 | # CDR DB Settings: Only used if you dont use the default values provided by freepbx. |
---|
| 206 | # CDRDBHOST: hostname of db server if not the same as AMPDBHOST |
---|
| 207 | # CDRDBPORT: Port number for db host |
---|
| 208 | # CDRDBUSER: username to connect to db with if its not the same as AMPDBUSER |
---|
| 209 | # CDRDBPASS: password for connecting to db if its not the same as AMPDBPASS |
---|
| 210 | # CDRDBNAME: name of database used for cdr records |
---|
| 211 | # CDRDBTYPE: mysql or postgres mysql is default |
---|
| 212 | # CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default |
---|
| 213 | |
---|
| 214 | # AMPVMUMASK: defaults to 077 allowing only the asterisk user to have any permissions on VM files. If set to something |
---|
| 215 | # like 007, it would allow the group to have permissions. This can be used if setting apache to a different |
---|
| 216 | # user then asterisk, so that the apache user (and thus ARI) can have access to read/write/delete the |
---|
| 217 | # voicemail files. If changed, some of the voicemail directory strucuters may have to be manually changed. |
---|
| 218 | |
---|
| 219 | # DASHBOARD_STATS_UPDATE_TIME=integer_seconds |
---|
| 220 | # DEFAULT VALUE: 6 |
---|
| 221 | # DASHBOARD_INFO_UPDATE_TIME=integer_seconds |
---|
| 222 | # DEFAULT VALUE: 20 |
---|
| 223 | # These can be used to change the refresh rate of the System Status Panel. Most of |
---|
| 224 | # the stats are updated based on the STATS interval but a few items are checked |
---|
| 225 | # less frequently (such as Astersisk Uptime) based on the INFO value |
---|
| 226 | |
---|
| 227 | # FOPDISABLE=true|false # DEFAULT VALUE false |
---|
| 228 | # Disables FOP in interface and retrieve_conf. Usefull for sqlite3 or if you don't want FOP. |
---|
| 229 | |
---|
| 230 | # ZAP2DAHDICOMPAT=true|false |
---|
| 231 | # DEFAULT VALUE: false |
---|
| 232 | # If set to true, FreePBX will check if you have chan_dadhi installed. If so, it will |
---|
| 233 | # automatically use all your ZAP configuration settings (devices and trunks) and |
---|
| 234 | # silently convert them, under the covers, to DAHDI so no changes are needed. The |
---|
| 235 | # GUI will continue to refer to these as ZAP but it will use the proper DAHDI channels. |
---|
| 236 | # This will also keep Zap Channel DIDs working. |
---|
| 237 | |
---|
| 238 | # CHECKREFERER=true|false |
---|
| 239 | # DEFAULT VALUE: true |
---|
| 240 | # When set to the default value of true, all requests into FreePBX that might possibly add/edit/delete settings will |
---|
| 241 | # be validated to assure the request is coming from the server. This will protect the system from CSRF (cross site |
---|
| 242 | # request forgery) attacks. It will have the effect of preventing legitimately entering URLs that could modify |
---|
| 243 | # settings which can be allowed by changing this field to false |
---|
| 244 | # |
---|
| 245 | |
---|
| 246 | # USEQUEUESTATE=true|false |
---|
| 247 | # DEFAULT VALUE: false |
---|
| 248 | # Setting this flag will generate the required dialplan to integrate with the following Asterisk patch: |
---|
| 249 | # https://issues.asterisk.org/view.php?id=15168 |
---|
| 250 | # This feature is planned for a future 1.6 release but given the existance of the patch can be used prior. Once |
---|
| 251 | # the release version is known, code will be added to automatically enable this format in versions of Asterisk |
---|
| 252 | # that support it. |
---|