| 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 |
|---|
| | 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 | |
|---|
| 102 | | # ENABLECW=true|false |
|---|
| 103 | | # DEFAULT VALUE: true |
|---|
| 104 | | # Enable call waiting by default when an extension is created. Set to 'no' to if you don't want |
|---|
| 105 | | # phones to be commissioned with call waiting already enabled. The user would then be required |
|---|
| 106 | | # to dial the CW feature code (*70 default) to enable their phone. Most installations should leave |
|---|
| 107 | | # this alone. It allows multi-line phones to receive multiple calls on their line appearances. |
|---|
| 108 | | |
|---|
| 109 | | # CWINUSEBUSY=true|false |
|---|
| 110 | | # DEFAULT VALUE: true |
|---|
| 111 | | # For extensions that have CW enabled, report unanswered CW calls as 'busy' (resulting in busy |
|---|
| 112 | | # voicemail greeting). If set to no, unanswered CW calls simply report as 'no-answer'. |
|---|
| 113 | | |
|---|
| 114 | | # AMPBADNUMBER=true|false |
|---|
| 115 | | # DEFAULT VALUE: true |
|---|
| 116 | | # Generate the bad-number context which traps any bogus number or feature code and plays a |
|---|
| 117 | | # message to the effect. If you use the Early Dial feature on some Grandstream phones, you |
|---|
| 118 | | # will want to set this to false. |
|---|
| 119 | | |
|---|
| 120 | | # AMPBACKUPSUDO=true|false |
|---|
| 121 | | # DEFAULT VALUE: false |
|---|
| 122 | | # This option allows you to use sudo when backing up files. Useful ONLY when using AMPPROVROOT |
|---|
| 123 | | # Allows backup and restore of files specified in AMPPROVROOT, based on permissions in /etc/sudoers |
|---|
| 124 | | # for example, adding the following to sudoers would allow the user asterisk to run tar on ANY file |
|---|
| 125 | | # on the system: |
|---|
| 126 | | # asterisk localhost=(root)NOPASSWD: /bin/tar |
|---|
| 127 | | # Defaults:asterisk !requiretty |
|---|
| 128 | | # PLEASE KEEP IN MIND THE SECURITY RISKS INVOLVED IN ALLOWING THE ASTERISK USER TO TAR/UNTAR ANY FILE |
|---|
| 129 | | |
|---|
| 130 | | # CUSTOMASERROR=true|false |
|---|
| 131 | | # DEFAULT VALUE: true |
|---|
| 132 | | # If false, then the Destination Registry will not report unknown destinations as errors. This should be |
|---|
| 133 | | # left to the default true and custom destinations should be moved into the new custom apps registry. |
|---|
| 134 | | |
|---|
| 135 | | # DYNAMICHINTS=true|false |
|---|
| 136 | | # DEFAULT VALUE: false |
|---|
| 137 | | # If true, Core will not statically generate hints, but instead make a call to the AMPBIN php script, |
|---|
| 138 | | # and generate_hints.php through an Asterisk's #exec call. This requires Asterisk.conf to be configured |
|---|
| 139 | | # with "execincludes=yes" set in the [options] section. |
|---|
| 140 | | |
|---|
| 141 | | # XTNCONFLICTABORT=true|false |
|---|
| 142 | | # BADDESTABORT=true|false |
|---|
| 143 | | # DEFAULT VALUE: false |
|---|
| 144 | | # Setting either of these to true will result in retrieve_conf aborting during a reload if an extension |
|---|
| 145 | | # conflict is detected or a destination is detected. It is usually better to allow the reload to go |
|---|
| 146 | | # through and then correct the problem but these can be set if a more strict behavior is desired. |
|---|
| 147 | | |
|---|
| 148 | | # SERVERINTITLE=true|false |
|---|
| 149 | | # DEFAULT VALUE: false |
|---|
| 150 | | # Precede browser title with the server name. |
|---|
| 151 | | |
|---|
| 152 | | # USEDEVSTATE = true|false |
|---|
| 153 | | # DEFAULT VALUE: false |
|---|
| 154 | | # If this is set, it assumes that you are running Asterisk 1.4 or higher and want to take advantage of the |
|---|
| 155 | | # func_devstate.c backport available from Asterisk 1.6. This allows custom hints to be created to support |
|---|
| 156 | | # BLF for server side feature codes such as daynight, followme, etc. |
|---|
| 157 | | |
|---|
| 158 | | # MODULEADMINWGET=true|false |
|---|
| 159 | | # DEFAULT VALUE: false |
|---|
| 160 | | # Module Admin normally tries to get its online information through direct file open type calls to URLs that |
|---|
| 161 | | # go back to the freepbx.org server. If it fails, typically because of content filters in firewalls that |
|---|
| 162 | | # don't like the way PHP formats the requests, the code will fall back and try a wget to pull the information. |
|---|
| 163 | | # This will often solve the problem. However, in such environment there can be a significant timeout before |
|---|
| 164 | | # the failed file open calls to the URLs return and there are often 2-3 of these that occur. Setting this |
|---|
| 165 | | # value will force FreePBX to avoid the attempt to open the URL and go straight to the wget calls. |
|---|
| 166 | | |
|---|
| 167 | | # AMPDISABLELOG=true|false |
|---|
| 168 | | # DEFAULT VALUE: true |
|---|
| 169 | | # Whether or not to invoke the FreePBX log facility |
|---|
| 170 | | |
|---|
| 171 | | # AMPSYSLOGLEVEL=LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG|LOG_SQL|SQL |
|---|
| 172 | | # DEFAULT VALUE: LOG_ERR |
|---|
| 173 | | # Where to log if enabled, SQL, LOG_SQL logs to old MySQL table, others are passed to syslog system to |
|---|
| 174 | | # determine where to log |
|---|
| 175 | | |
|---|
| 176 | | # AMPENABLEDEVELDEBUG=true|false |
|---|
| 177 | | # DEFAULT VALUE: false |
|---|
| 178 | | # Whether or not to include log messages marked as 'devel-debug' in the log system |
|---|
| 179 | | |
|---|
| 180 | | # AMPMPG123=true|false |
|---|
| 181 | | # DEFAULT VALUE: true |
|---|
| 182 | | # When set to false, the old MoH behavior is adopted where MP3 files can be loaded and WAV files converted |
|---|
| 183 | | # to MP3. The new default behavior assumes you have mpg123 loaded as well as sox and will convert MP3 files |
|---|
| 184 | | # to WAV. This is highly recommended as MP3 files heavily tax the system and can cause instability on a busy |
|---|
| 185 | | # phone system. |
|---|
| 186 | | |
|---|
| 187 | | # CDR DB Settings: Only used if you don't use the default values provided by FreePBX. |
|---|
| 188 | | # CDRDBHOST: hostname of db server if not the same as AMPDBHOST |
|---|
| 189 | | # CDRDBPORT: Port number for db host |
|---|
| 190 | | # CDRDBUSER: username to connect to db with if it's not the same as AMPDBUSER |
|---|
| 191 | | # CDRDBPASS: password for connecting to db if it's not the same as AMPDBPASS |
|---|
| 192 | | # CDRDBNAME: name of database used for cdr records |
|---|
| 193 | | # CDRDBTYPE: mysql or postgres mysql is default |
|---|
| 194 | | # CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default |
|---|
| 195 | | |
|---|
| 196 | | # AMPVMUMASK=mask |
|---|
| 197 | | # DEFAULT VALUE: 077 |
|---|
| 198 | | # Defaults to 077 allowing only the asterisk user to have any permission on VM files. If set to something |
|---|
| 199 | | # like 007, it would allow the group to have permissions. This can be used if setting apache to a different |
|---|
| 200 | | # user then asterisk, so that the apache user (and thus ARI) can have access to read/write/delete the |
|---|
| 201 | | # voicemail files. If changed, some of the voicemail directory structures may have to be manually changed. |
|---|
| 202 | | |
|---|
| 203 | | # DASHBOARD_STATS_UPDATE_TIME=integer_seconds |
|---|
| 204 | | # DEFAULT VALUE: 6 |
|---|
| 205 | | # DASHBOARD_INFO_UPDATE_TIME=integer_seconds |
|---|
| 206 | | # DEFAULT VALUE: 20 |
|---|
| 207 | | # These can be used to change the refresh rate of the System Status Panel. Most of |
|---|
| 208 | | # the stats are updated based on the STATS interval but a few items are checked |
|---|
| 209 | | # less frequently (such as Asterisk Uptime) based on the INFO value |
|---|
| 210 | | |
|---|
| 211 | | # ZAP2DAHDICOMPAT=true|false |
|---|
| 212 | | # DEFAULT VALUE: false |
|---|
| 213 | | # If set to true, FreePBX will check if you have chan_dadhi installed. If so, it will |
|---|
| 214 | | # automatically use all your ZAP configuration settings (devices and trunks) and |
|---|
| 215 | | # silently convert them, under the covers, to DAHDI so no changes are needed. The |
|---|
| 216 | | # GUI will continue to refer to these as ZAP but it will use the proper DAHDI channels. |
|---|
| 217 | | # This will also keep Zap Channel DIDs working. |
|---|
| 218 | | |
|---|
| 219 | | # CHECKREFERER=true|false |
|---|
| 220 | | # DEFAULT VALUE: true |
|---|
| 221 | | # When set to the default value of true, all requests into FreePBX that might possibly add/edit/delete |
|---|
| 222 | | # settings will be validated to assure the request is coming from the server. This will protect the system |
|---|
| 223 | | # from CSRF (cross site request forgery) attacks. It will have the effect of preventing legitimately entering |
|---|
| 224 | | # URLs that could modify settings which can be allowed by changing this field to false. |
|---|
| 225 | | |
|---|
| 226 | | # USEQUEUESTATE=true|false |
|---|
| 227 | | # DEFAULT VALUE: false |
|---|
| 228 | | # Setting this flag will generate the required dialplan to integrate with the following Asterisk patch: |
|---|
| 229 | | # https://issues.asterisk.org/view.php?id=15168 |
|---|
| 230 | | # This feature is planned for a future 1.6 release but given the existence of the patch can be used prior. Once |
|---|
| 231 | | # the release version is known, code will be added to automatically enable this format in versions of Asterisk |
|---|
| 232 | | # that support it. |
|---|
| 233 | | |
|---|
| 234 | | # USEGOOGLEDNSFORENUM=true|false |
|---|
| 235 | | # DEFAULT VALUE: false |
|---|
| 236 | | # Setting this flag will generate the required global variable so that enumlookup.agi will use Google DNS |
|---|
| 237 | | # 8.8.8.8 when performing an ENUM lookup. Not all DNS deals with NAPTR record, but Google does. There is a |
|---|
| 238 | | # drawback to this as Google tracks every lookup. If you are not comfortable with this, do not enable this |
|---|
| 239 | | # setting. Please read Google FAQ about this: http://code.google.com/speed/public-dns/faq.html#privacy |
|---|
| 240 | | |
|---|
| 241 | | # MOHDIR=subdirectory_name |
|---|
| 242 | | # This is the subdirectory for the MoH files/directories which is located in ASTVARLIBDIR |
|---|
| 243 | | # if not specified it will default to mohmp3 for backward compatibility. |
|---|
| 244 | | # Enter directory without leading or trailing slash |
|---|
| 245 | | |
|---|
| 246 | | # RELOADCONFIRM=true|false |
|---|
| 247 | | # DEFAULT VALUE: true |
|---|
| 248 | | # When set to false, will bypass the confirm on Reload Box |
|---|
| 249 | | |
|---|
| 250 | | # FCBEEPONLY=true|false |
|---|
| 251 | | # DEFAULT VALUE: false |
|---|
| 252 | | # When set to true, a beep is played instead of confirmation message when activating/de-activating: |
|---|
| 253 | | # CallForward, CallWaiting, DayNight, DoNotDisturb and FindMeFollow |
|---|
| 254 | | |
|---|
| 255 | | # DISABLECUSTOMCONTEXTS=true|false |
|---|
| 256 | | # DEFAULT VALUE: false |
|---|
| 257 | | # Normally FreePBX auto-generates a custom context that may be usable for adding custom dialplan to modify the |
|---|
| 258 | | # normal behavior of FreePBX. It takes a good understanding of how Asterisk processes these includes to use |
|---|
| 259 | | # this and in many of the cases, there is no useful application. All includes will result in a WARNING in the |
|---|
| 260 | | # Asterisk log if there is no context found to include though it results in no errors. If you know that you |
|---|
| 261 | | # want the includes, you can set this to true. If you comment it out FreePBX will revert to legacy behavior |
|---|
| 262 | | # and include the contexts. |
|---|
| 263 | | |
|---|
| 264 | | # TCINTERVAL=integer_seconds |
|---|
| 265 | | # DEFAULT VALUE: 60 |
|---|
| 266 | | # The polling interval used by the Time Conditions manintenace task, launched by an Asterisk call file |
|---|
| 267 | | # used to update Time Conditions override states as well as keep custom device state hint values up-to-date |
|---|
| 268 | | # when being used with BLF. This interval should be shorter than the shortest time condition true (open) or |
|---|
| 269 | | # false (closed) interval to assure that an override is reset after the current time period has expired that |
|---|
| 270 | | # it was set in. |
|---|
| 271 | | |
|---|
| 272 | | # TCMAINT=true|false |
|---|
| 273 | | # DEFAULT VALUE: true |
|---|
| 274 | | # If set to false, this will override the execution of the Time Conditons maintenace task launched by call |
|---|
| 275 | | # files. If all the feature codes for time conditions are disabled, the maintenance task will not be launched |
|---|
| 276 | | # so this is not needed for that condition. Setting this to false would be fairly un-common. On an extremely |
|---|
| 277 | | # active system that has constant calls flowing throught all time conditions of interest that might be overriden |
|---|
| 278 | | # one might set this to avoid the additional polling that would otherwise occur since calls traversing the |
|---|
| 279 | | # time conditions contexts will also maintain all the necessary state information. You may also set this |
|---|
| 280 | | # temporarily if debugging a system to avoid the periodic dialplan running through the CLI that the maintenance |
|---|
| 281 | | # task otherwise creates. |
|---|
| 282 | | |
|---|
| 283 | | # DAYNIGHTTCHOOK true|false |
|---|
| 284 | | # DEFAULT VALUE: false |
|---|
| 285 | | # By default, the Day/Night module will not hook Time Conditions allowing one to associate a daynight manual |
|---|
| 286 | | # override with a time condition since now time conditions have their own feature code. If there is already |
|---|
| 287 | | # an associaiton configured (on an upgraded system), this will have no affect for the Time Conditions that |
|---|
| 288 | | # are effected. Setting this to true reverts the previous behavior by allowing for the continued use of a |
|---|
| 289 | | # daynight toggle to be associated with a time conditon. This can be useful for two scenarios. First, to override |
|---|
| 290 | | # a Time Condition without the automatic resetting that occurs with the built in Time Condition overrides. |
|---|
| 291 | | # The second use is the ability to associate a single daynight toggle with multiple time conditions thus creating |
|---|
| 292 | | # a "master switch" that can be used to override several possible call flows through different time conditions. |
|---|
| 293 | | |
|---|