root/freepbx/tags/2.5.0alpha1/amportal.conf

Revision 6065, 7.8 kB (checked in by p_lindheimer, 5 years ago)

add AMPMPG123 flag to set MoH mode

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # This file contains settings for components of the Asterisk Management Portal
2 # Spaces are not allowed!
3 # Run /usr/src/AMP/apply_conf.sh after making changes to this file
4
5 # AMPDBHOST: the host to connect to the database named 'asterisk'
6 AMPDBHOST=localhost
7
8 # AMPDBUSER: the user to connect to the database named 'asterisk'
9 # AMPDBUSER=asteriskuser
10
11 # AMPDBENGINE: the type of database to use
12 AMPDBENGINE=mysql
13
14 # AMPDBPASS: the password for AMPDBUSER
15 # AMPDBPASS=amp109
16
17 # AMPENGINE: the telephony backend engine to use
18 AMPENGINE=asterisk
19
20 # AMPMGRUSER: the user to access the Asterisk manager interface
21 AMPMGRUSER=admin
22
23 # AMPMGRPASS: the password for AMPMGRUSER
24 AMPMGRPASS=amp111
25
26 # AMPBIN: where command line scripts live
27 AMPBIN=/var/lib/asterisk/bin
28
29 #AMPSBIN: where (root) command line scripts live
30 AMPSBIN=/usr/sbin
31
32 # AMPWEBROOT: the path to Apache's webroot (leave off trailing slash)
33 AMPWEBROOT=/var/www/html
34
35 # AMPCGIBIN: the path to Apache's cgi-bin dir (leave off trailing slash)
36 AMPCGIBIN=/var/www/cgi-bin
37
38 # AMPWEBADDRESS: the IP address or host name used to access the AMP web admin
39 #AMPWEBADDRESS=192.168.1.101
40 AMPWEBADDRESS=
41
42 # FOPWEBROOT:web root for the Flash Operator Panel
43 FOPWEBROOT=/var/www/html/panel
44
45 # FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
46 FOPPASSWORD=passw0rd
47
48 # FOPSORT: FOP should sort extensions by Last Name [lastname] or by Extension [extension]
49 FOPSORT=extension
50
51 # FOPRUN: set to true if you want FOP started by freepbx_engine (amportal_start), false otherwise
52 FOPRUN=true
53
54 # AUTHTYPE: authentication type to use for web admin
55 # If type set to 'database', the primary AMP admin credentials will be the AMPDBUSER/AMPDBPASS above
56 # valid: none, database
57 AUTHTYPE=none
58
59 # AMPADMINLOGO: Defines the logo that is to be displayed at the TOP RIGHT of the admin screen.
60 #         This enables you to customize the look of the administration screen.
61 # NOTE: images need to be saved in the ..../admin/images directory of your AMP install
62 # This image should be 55px in height
63 AMPADMINLOGO=logo.png
64
65 # USECATEGORIES: Controls if the menu items in the admin interface are sorted by category (true),
66 #                or sorted alphebetically with no categories shown (false). Defaults to true.
67 #USECATEGORIES=false
68
69 # AMPEXTENSIONS: the type of view for extensions admin
70 # If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices.
71 # If set to 'extensions' Devices and Users will me administered in a single screen.
72 AMPEXTENSIONS=extensions
73
74 # ENABLECW: Enable call waiting by default when an extension is created (DEFAULT is yes)
75 # Set to 'no' to if you don't want phones to be commissioned with call waiting already
76 # enabled. The user would then be required to dial the CW feature code (*70 default) to
77 # enable their phone. Most installations should leave this alone. It allows multi-line
78 # phones to receive multiple calls on their line appearances.
79 ENABLECW=yes
80
81 #CWINUSEBUSY: Set to yes for extensions that have CW enabled to report as busy if
82 # they don't answer (resulting in busy voicemail greeting). Otherwise they simply
83 # report as no-answer (e.g. busy greeting servers no purpose
84 CWINUSEBUSY=yes
85
86 # AMPBADNUMBER: Set to false if you do not want the bad-number context generated which
87 # traps any bogus number or freature code and plays a message to the effect. If you use
88 # the Early Dial feature on some Grandstream phones, you will want to set this to false
89 AMPBADNUMBER=true
90
91 # The following are used to optionally have the freepbx backup program optionally
92 # send the generated backup to an ftp server
93 #
94 # FTPBACKUP=YES to enable
95 # FTPUSER, FTPPASSWORD, FTPSERVER must be set
96 # FTPSUBDIR is an optional subdirectory at the ftp server, it will cause ftp to do a cd
97 #
98 # There is no error checking so you should check to make sure these are set correctly. The
99 # ftp is saved after the backup, so it will not cause the local backup file to be effected
100 #
101 # FTPBACKUP=yes
102 #FTPUSER=asterisk
103 #FTPPASSWORD=password
104 #FTPSUBDIR=mybackupfolder
105 #FTPSERVER=myftpserver
106
107 # SSH BACKUP INFO: must have a valid SSHRSAKEY file and server, only supported through
108 # ssh. SUBDIR is optional and will be created if it does not exist.
109 #
110 # If SSHUSER is not set, it will default to the current user which is asterisk in any
111 # standard configuration.
112 #
113 #SSHBACKUP=yes
114 #SSHUSER=backups
115 #SSHRSAKEY=/etc/asterisk/backup_rsa
116 #SSHSUBDIR=mysubdir
117 #SSHSERVER=mybackupserver.com
118
119 # AMPPROVROOT=/var/ftp /tftpboot
120 # One or more directories where there are provisioning files that should be included in the backup. Currently
121 # these get backed up only, the FreePBX utility does not automatically restore them.
122 #
123 #AMPPROVROOT=/var/ftp /tftpboot
124 # AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list
125 # a list of files to exclude, to be used in tar's --exclude-from argument
126 #
127 #AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list
128
129 # If CUSTOMASERROR is set to false, then the Destination Registry will not report unknow destinations as errors
130 # this should be left to the default true and custom destinations should be moved into the new custom apps registry
131 # CUSTOMASERROR=false
132
133 # if DYNAMICHINTS is set to true, Core will not statically generate hints. Instead it will make a call to the
134 # AMPBIN php script, generate_hints.php, through an Asteirsk's #exec call. This requires Asterisk.conf to be
135 # configured with "execincludes=yes" set in the [options] section.
136 # DYNAMICHINTS=true
137
138 # XTNCONFLICTABORT, BADDESTABORT
139 # setting either of these to true will result in retrieve_conf aborting during a reload if an extension
140 # conflict is detected or a destination is detected. It is usually better to allow the reload to go
141 # through and then correct the problem but these can be set if a more strict behavior is desired
142 # both default to false if not set
143 XTNCONFLICTABORT=false
144 BADDESTABORT=false
145
146 # SERVERINTITLE if set to true, the browser title will be preceded with the server name. default false
147 SERVERINTITLE=false
148
149 # USEDEVSTATE = true|false # DEFAULT VALUE false
150 # If this is set, it assumes that you are running Asterisk 1.4 or higher and want to take advantage of the
151 # func_devstate.c backport available from Asterisk 1.6 which allows custom hints to be created to support
152 # BLF for server side feature codes such as daynight, followme, etc.
153 #
154 USEDEVSTATE=true
155
156 # MODULEADMINWGET=true|false # DEFAULT VALUE false
157 # Module Admin normally tries to get its online information through direct file open type calls to URLs that
158 # go back to the freepbx.org server. If it fails, typically because of content filters in firewalls that don't
159 # like the way PHP formats the requests, the code will fall back and try a wget to pull the information.
160 # This will often solve the problem. However, in such environemnts there can be a significant timeout before
161 # the failed file open calls to the URLs return and there are often 2-3 of these that occur. Setting this value
162 # will force FreePBX to avoid the attempt to open the URL and go straight to the wget calls.
163 #
164 MODULEADMINWGET=true
165
166 # AMPDISABLELOG=true|false # DEFAULT VALUE true
167 # Whether or not to invoke the freepbx log facility
168
169 # AMPSYSLOGLEVEL=LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG|LOG_SQL|SQL # DEFAULT VALUE LOG_ERR
170 # Where to log if enabled, SQL, LOG_SQL logs to old MySQL table, others are passed to syslog system to determine where to log
171
172 # AMPENABLEDEVELDEBUG=true|false # DEFAULT VALUE false
173 # Whether or not to include log messages marked as 'devel-debug' in the log system
174
175 # AMPMPG123=true|false # DEFAULT VALUE true
176 # When set to false, the old MoH behavior is adopted where MP3 files can be loaded and WAV files converted to MP3
177 # The new default behavior assumes you have mpg123 loaded as well as sox and will convert MP3 files to WAV. This is
178 # highly recommended as MP3 files heavily tax the system and can cause instability on a busy phone system.
Note: See TracBrowser for help on using the browser.