Advertisement
Guest User

/etc/amportal.conf

a guest
Jan 6th, 2011
682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.26 KB | None | 0 0
  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. # FreePBX Database configuration
  21. # AMPDBHOST: Hostname where the FreePBX database resides
  22. # AMPDBENGINE: Engine hosting the FreePBX database (e.g. mysql)
  23. # AMPDBNAME: Name of the FreePBX database (e.g. asterisk)
  24. # AMPDBUSER: Username used to connect to the FreePBX database
  25. # AMPDBPASS: Password for AMPDBUSER (above)
  26. # AMPENGINE: Telephony backend engine (e.g. asterisk)
  27. # AMPMGRUSER: Username to access the Asterisk Manager Interface
  28. # AMPMGRPASS: Password for AMPMGRUSER
  29. #
  30. AMPDBHOST=localhost
  31. AMPDBENGINE=mysql
  32. # AMPDBNAME=asterisk
  33. # AMPDBUSER=asteriskuser
  34. # AMPDBPASS=amp109
  35. AMPENGINE=asterisk
  36. AMPMGRUSER=admin
  37. AMPMGRPASS=***adminpassasterisk***
  38.  
  39. # AMPBIN: Location of the FreePBX command line scripts
  40. # AMPSBIN: Location of (root) command line scripts
  41. #
  42. AMPBIN=/var/lib/asterisk/bin
  43. AMPSBIN=/usr/local/sbin
  44.  
  45. # AMPWEBROOT: Path to Apache's webroot (leave off trailing slash)
  46. # AMPCGIBIN: Path to Apache's cgi-bin dir (leave off trailing slash)
  47. # AMPWEBADDRESS: The IP address or host name used to access the AMP web admin
  48. #
  49. AMPWEBROOT=/var/www/html
  50. AMPCGIBIN=/var/www/cgi-bin
  51. # AMPWEBADDRESS=x.x.x.x|hostname
  52.  
  53. # FOPWEBROOT: Path to the Flash Operator Panel webroot (leave off trailing slash)
  54. # FOPPASSWORD: Password for performing transfers and hangups in the Flash Operator Panel
  55. # FOPRUN: Set to true if you want FOP started by freepbx_engine (amportal_start), false otherwise
  56. # FOPDISABLE: Set to true to disable FOP in interface and retrieve_conf.  Useful for sqlite3
  57. # or if you don't want FOP.
  58. #
  59. FOPRUN=true
  60. FOPWEBROOT=/var/www/html/panel
  61. FOPPASSWORD=***foppassword***
  62.  
  63. # FOPSORT=extension|lastname
  64. # DEFAULT VALUE: extension
  65. # FOP should sort extensions by Last Name [lastname] or by Extension [extension]
  66.  
  67. # This is the default admin name used to allow an administrator to login to ARI bypassing all security.
  68. # Change this to whatever you want, don't forget to change the ARI_ADMIN_PASSWORD as well
  69. ARI_ADMIN_USERNAME=admin
  70.  
  71. # This is the default admin password to allow an administrator to login to ARI bypassing all security.
  72. # Change this to a secure password.
  73. ARI_ADMIN_PASSWORD=***ariadminpass***
  74.  
  75. # AUTHTYPE=database|none
  76. # Authentication type to use for web admininstration. If type set to 'database', the primary
  77. # AMP admin credentials will be the AMPDBUSER/AMPDBPASS above.
  78. AUTHTYPE=database
  79.  
  80. # AMPADMINLOGO=filename
  81. # Defines the logo that is to be displayed at the TOP RIGHT of the admin screen. This enables
  82. # you to customize the look of the administration screen.
  83. # NOTE: images need to be saved in the ..../admin/images directory of your AMP install
  84. # This image should be 55px in height
  85. AMPADMINLOGO=logo.png
  86.  
  87. # USECATEGORIES=true|false
  88. # DEFAULT VALUE: true
  89. # Controls if the menu items in the admin interface are sorted by category (true), or sorted
  90. # alphabetically with no categories shown (false).
  91.  
  92. # AMPEXTENSIONS=extensions|deviceanduser
  93. # Sets the extension behavior in FreePBX.  If set to 'extensions', Devices and Users are
  94. # administered together as a unified Extension, and appear on a single page.
  95. # If set to 'deviceanduser', Devices and Users will be administered seperately.  Devices (e.g.
  96. # each individual line on a SIP phone) and Users (e.g. '101') will be configured
  97. # independent of each other, allowing association of one User to many Devices, or allowing
  98. # Users to login and logout of Devices.
  99. AMPEXTENSIONS=extensions
  100.  
  101. # ENABLECW=true|false
  102. # DEFAULT VALUE: true
  103. # Enable call waiting by default when an extension is created. Set to 'no' to if you don't want
  104. # phones to be commissioned with call waiting already enabled. The user would then be required
  105. # to dial the CW feature code (*70 default) to enable their phone. Most installations should leave
  106. # this alone. It allows multi-line phones to receive multiple calls on their line appearances.
  107.  
  108. # CWINUSEBUSY=true|false
  109. # DEFAULT VALUE: true
  110. # For extensions that have CW enabled, report unanswered CW calls as 'busy' (resulting in busy
  111. # voicemail greeting). If set to no, unanswered CW calls simply report as 'no-answer'.
  112.  
  113. # AMPBADNUMBER=true|false
  114. # DEFAULT VALUE: true
  115. # Generate the bad-number context which traps any bogus number or feature code and plays a
  116. # message to the effect. If you use the Early Dial feature on some Grandstream phones, you
  117. # will want to set this to false.
  118.  
  119. # AMPBACKUPSUDO=true|false
  120. # DEFAULT VALUE: false
  121. # This option allows you to use sudo when backing up files. Useful ONLY when using AMPPROVROOT
  122. # Allows backup and restore of files specified in AMPPROVROOT, based on permissions in /etc/sudoers
  123. # for example, adding the following to sudoers would allow the user asterisk to run tar on ANY file
  124. # on the system:
  125. #   asterisk localhost=(root)NOPASSWD: /bin/tar
  126. #   Defaults:asterisk !requiretty
  127. # PLEASE KEEP IN MIND THE SECURITY RISKS INVOLVED IN ALLOWING THE ASTERISK USER TO TAR/UNTAR ANY FILE
  128.  
  129. # CUSTOMASERROR=true|false
  130. # DEFAULT VALUE: true
  131. # If false, then the Destination Registry will not report unknown destinations as errors. This should be
  132. # left to the default true and custom destinations should be moved into the new custom apps registry.
  133.  
  134. # DYNAMICHINTS=true|false
  135. # DEFAULT VALUE: false
  136. # If true, Core will not statically generate hints, but instead make a call to the AMPBIN php script,
  137. # and generate_hints.php through an Asterisk's #exec call. This requires Asterisk.conf to be configured
  138. # with "execincludes=yes" set in the [options] section.
  139.  
  140. # XTNCONFLICTABORT=true|false
  141. # BADDESTABORT=true|false
  142. # DEFAULT VALUE: false
  143. # Setting either of these to true will result in retrieve_conf aborting during a reload if an extension
  144. # conflict is detected or a destination is detected. It is usually better to allow the reload to go
  145. # through and then correct the problem but these can be set if a more strict behavior is desired.
  146.  
  147. # SERVERINTITLE=true|false
  148. # DEFAULT VALUE: false
  149. # Precede browser title with the server name.
  150.  
  151. # USEDEVSTATE = true|false
  152. # DEFAULT VALUE: false
  153. # If this is set, it assumes that you are running Asterisk 1.4 or higher and want to take advantage of the
  154. # func_devstate.c backport available from Asterisk 1.6. This allows custom hints to be created to support
  155. # BLF for server side feature codes such as daynight, followme, etc.
  156.  
  157. # MODULEADMINWGET=true|false
  158. # DEFAULT VALUE: false
  159. # Module Admin normally tries to get its online information through direct file open type calls to URLs that
  160. # go back to the freepbx.org server. If it fails, typically because of content filters in firewalls that
  161. # don't like the way PHP formats the requests, the code will fall back and try a wget to pull the information.
  162. # This will often solve the problem. However, in such environment there can be a significant timeout before
  163. # the failed file open calls to the URLs return and there are often 2-3 of these that occur. Setting this
  164. # value will force FreePBX to avoid the attempt to open the URL and go straight to the wget calls.
  165.  
  166. # AMPDISABLELOG=true|false
  167. # DEFAULT VALUE: true
  168. # Whether or not to invoke the FreePBX log facility
  169.  
  170. # AMPSYSLOGLEVEL=LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG|LOG_SQL|SQL
  171. # DEFAULT VALUE: LOG_ERR
  172. # Where to log if enabled, SQL, LOG_SQL logs to old MySQL table, others are passed to syslog system to
  173. # determine where to log
  174.  
  175. # AMPENABLEDEVELDEBUG=true|false
  176. # DEFAULT VALUE: false
  177. # Whether or not to include log messages marked as 'devel-debug' in the log system
  178.  
  179. # AMPMPG123=true|false
  180. # DEFAULT VALUE: true
  181. # When set to false, the old MoH behavior is adopted where MP3 files can be loaded and WAV files converted
  182. # to MP3. The new default behavior assumes you have mpg123 loaded as well as sox and will convert MP3 files
  183. # to WAV. This is highly recommended as MP3 files heavily tax the system and can cause instability on a busy
  184. # phone system.
  185.  
  186. # CDR DB Settings: Only used if you don't use the default values provided by FreePBX.
  187. # CDRDBHOST: hostname of db server if not the same as AMPDBHOST
  188. # CDRDBPORT: Port number for db host
  189. # CDRDBUSER: username to connect to db with if it's not the same as AMPDBUSER
  190. # CDRDBPASS: password for connecting to db if it's not the same as AMPDBPASS
  191. # CDRDBNAME: name of database used for cdr records
  192. # CDRDBTYPE: mysql or postgres mysql is default
  193. # CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default
  194.  
  195. # AMPVMUMASK=mask
  196. # DEFAULT VALUE: 077
  197. # Defaults to 077 allowing only the asterisk user to have any permission on VM files. If set to something
  198. # like 007, it would allow the group to have permissions. This can be used if setting apache to a different
  199. # user then asterisk, so that the apache user (and thus ARI) can have access to read/write/delete the
  200. # voicemail files. If changed, some of the voicemail directory structures may have to be manually changed.
  201.  
  202. # DASHBOARD_STATS_UPDATE_TIME=integer_seconds
  203. # DEFAULT VALUE: 6
  204. # DASHBOARD_INFO_UPDATE_TIME=integer_seconds
  205. # DEFAULT VALUE: 20
  206. # These can be used to change the refresh rate of the System Status Panel. Most of
  207. # the stats are updated based on the STATS interval but a few items are checked
  208. # less frequently (such as Asterisk Uptime) based on the INFO value
  209.  
  210. # ZAP2DAHDICOMPAT=true|false
  211. # DEFAULT VALUE: false
  212. # If set to true, FreePBX will check if you have chan_dadhi installed. If so, it will
  213. # automatically use all your ZAP configuration settings (devices and trunks) and
  214. # silently convert them, under the covers, to DAHDI so no changes are needed. The
  215. # GUI will continue to refer to these as ZAP but it will use the proper DAHDI channels.
  216. # This will also keep Zap Channel DIDs working.
  217.  
  218. # CHECKREFERER=true|false
  219. # DEFAULT VALUE: true
  220. # When set to the default value of true, all requests into FreePBX that might possibly add/edit/delete
  221. # settings will be validated to assure the request is coming from the server. This will protect the system
  222. # from CSRF (cross site request forgery) attacks. It will have the effect of preventing legitimately entering
  223. # URLs that could modify settings which can be allowed by changing this field to false.
  224.  
  225. # USEQUEUESTATE=true|false
  226. # DEFAULT VALUE: false
  227. # Setting this flag will generate the required dialplan to integrate with the following Asterisk patch:
  228. # https://issues.asterisk.org/view.php?id=15168
  229. # This feature is planned for a future 1.6 release but given the existence of the patch can be used prior. Once
  230. # the release version is known, code will be added to automatically enable this format in versions of Asterisk
  231. # that support it.
  232.  
  233. # USEGOOGLEDNSFORENUM=true|false
  234. # DEFAULT VALUE: false
  235. # Setting this flag will generate the required global variable so that enumlookup.agi will use Google DNS
  236. # 8.8.8.8 when performing an ENUM lookup. Not all DNS deals with NAPTR record, but Google does. There is a
  237. # drawback to this as Google tracks every lookup. If you are not comfortable with this, do not enable this
  238. # setting. Please read Google FAQ about this: http://code.google.com/speed/public-dns/faq.html#privacy
  239.  
  240. # MOHDIR=subdirectory_name
  241. # This is the subdirectory for the MoH files/directories which is located in ASTVARLIBDIR
  242. # if not specified it will default to mohmp3 for backward compatibility.
  243.  
  244. # RELOADCONFIRM=true|false
  245. # DEFAULT VALUE: true
  246. # When set to false, will bypass the confirm on Reload Box
  247.  
  248. # FCBEEPONLY=true|false
  249. # DEFAULT VALUE: false
  250. # When set to true, a beep is played instead of confirmation message when activating/de-activating:
  251. # CallForward, CallWaiting, DayNight, DoNotDisturb and FindMeFollow
  252.  
  253. # DISABLECUSTOMCONTEXTS=true|false
  254. # DEFAULT VALUE: false
  255. # Normally FreePBX auto-generates a custom context that may be usable for adding custom dialplan to modify the
  256. # normal behavior of FreePBX. It takes a good understanding of how Asterisk processes these includes to use
  257. # this and in many of the cases, there is no useful application. All includes will result in a WARNING in the
  258. # Asterisk log if there is no context found to include though it results in no errors. If you know that you
  259. # want the includes, you can set this to true. If you comment it out FreePBX will revert to legacy behavior
  260. # and include the contexts.
  261.  
  262. AMPDBUSER=asteriskuser
  263. AMPDBPASS=***asteriskdbpass***
  264. AMPWEBADDRESS=192.168.1.150
  265. AMPDBNAME=asterisk
  266. ASTETCDIR=/etc/asterisk
  267. ASTMODDIR=/usr/lib/asterisk/modules
  268. ASTVARLIBDIR=/var/lib/asterisk
  269. ASTAGIDIR=/var/lib/asterisk/agi-bin
  270. ASTSPOOLDIR=/var/spool/asterisk
  271. ASTRUNDIR=/var/run/asterisk
  272. ASTLOGDIR=/var/log/asterisk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement