/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon May 16 04:58:37 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-46_el6_sme, smeserver-freepbx-0_1-45_el6_sme, smeserver-freepbx-0_1-44_el6_sme, smeserver-freepbx-0_1-43_el6_sme, smeserver-freepbx-0_1-47_el6_sme
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme
- add path to ucp module [SME: 9495]
- add 256Mo as default for freepbx php Memory
- add AllowOveride All for .htaccess
- remove httpd config to old FOP panel
- add port 5061 for freepbx
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch
- configuration of amportal.conf and its mysql equivalent
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch

1 unnilennium 1.1 diff -Nur smeserver-freepbx-0.1.old/createlinks smeserver-freepbx-0.1/createlinks
2     --- smeserver-freepbx-0.1.old/createlinks 2016-05-16 00:29:46.644000000 -0400
3     +++ smeserver-freepbx-0.1/createlinks 2016-05-16 00:55:12.434000000 -0400
4     @@ -30,7 +30,6 @@
5     # Events links
6    
7     my $event = 'freepbx-update';
8     -#templates2events("/etc/amportal.conf", qw(freepbx-update bootstrap-console-save));
9     templates2events("/etc/asterisk/asterisk.conf", qw(freepbx-update bootstrap-console-save));
10     templates2events("/etc/asterisk/cdr_mysql.conf", qw(freepbx-update bootstrap-console-save));
11     templates2events("/etc/asterisk/manager.conf", qw(freepbx-update bootstrap-console-save));
12     @@ -40,7 +39,7 @@
13     templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", qw(freepbx-update bootstrap-console-save));
14    
15     event_link("freepbx-checkinstall", $event, "10");
16     -#event_link("freepbx-applypatch", $event, "20");
17     +event_link("freepbx-amportal.conf", $event, "91");
18     event_link("freepbx-clean-crontab", $event, "40");
19     event_link("freepbx-dump-astdb", "pre-backup", "30");
20    
21     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-amportal.conf smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-amportal.conf
22     --- smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-amportal.conf 1969-12-31 19:00:00.000000000 -0500
23     +++ smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-amportal.conf 2016-05-16 00:51:40.388000000 -0400
24     @@ -0,0 +1,16 @@
25     +#!/bin/bash
26     +
27     +# Change FreePBX database settings that should have come from /etc/amportal.conf,
28     +# this is a dynamic template for FreePBX > 1.9 as it update the file on the fly, and also the db
29     +FPBX_SETTING_PATH="/var/lib/asterisk/bin/freepbx_setting"
30     +$FPBX_SETTING_PATH DISABLE_CSS_AUTOGEN 1
31     +$FPBX_SETTING_PATH CHECKREFERER 0
32     +$FPBX_SETTING_PATH AUTHTYPE none
33     +$FPBX_SETTING_PATH AMPWEBROOT /opt/freepbx
34     +$FPBX_SETTING_PATH MODULEADMINWGET 1
35     +$FPBX_SETTING_PATH DYNAMICHINTS 1
36     +$FPBX_SETTING_PATH ARI_ADMIN_PASSWORD $(/sbin/e-smith/db configuration getprop freepbx AriPassword)
37     +$FPBX_SETTING_PATH AMPMGRPASS $(/sbin/e-smith/db configuration getprop freepbx ManagerPassword)
38     +
39     +# now regenrate the amportal.conf from mysql
40     +/var/lib/asterisk/bin/fwconsole r
41     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/10database smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/10database
42     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/10database 2008-08-06 07:37:19.000000000 -0400
43     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/10database 1969-12-31 19:00:00.000000000 -0500
44     @@ -1,35 +0,0 @@
45     -{
46     -my $dbuser = ${'freepbx'}{'DbUser'} || 'asteriskuser';
47     -my $dbname = ${'freepbx'}{'DbName'} || 'asterisk';
48     -my $dbpass = ${'freepbx'}{'DbPassword'} || 'amp109';
49     -
50     -$OUT .=<<"HERE";
51     -
52     -# MySQL database configuration
53     -
54     -# AMPDBUSER: the user to connect to the database named '$dbname'
55     -AMPDBUSER=$dbuser
56     -
57     -# AMPDBPASS: the password for AMPDBUSER
58     -AMPDBPASS=$dbpass
59     -
60     -# AMPDBNAME: name of the database to use
61     -AMPDBNAME=$dbname
62     -
63     -# AMPDBHOST: the host to connect to the database named '$dbname'
64     -AMPDBHOST=localhost
65     -
66     -# AMPDBENGINE: the type of database to use
67     -AMPDBENGINE=mysql
68     -
69     -# CDR DB Settings: Only used if you dont use the default values provided by freepbx.
70     -# CDRDBHOST: hostname of db server if not the same as AMPDBHOST
71     -# CDRDBPORT: Port number for db host
72     -# CDRDBUSER: username to connect to db with if its not the same as AMPDBUSER
73     -# CDRDBPASS: password for connecting to db if its not the same as AMPDBPASS
74     -# CDRDBNAME: name of database used for cdr records
75     -# CDRDBTYPE: mysql or postgres mysql is default
76     -# CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default
77     -
78     -HERE
79     -}
80     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/15manager smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/15manager
81     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/15manager 2008-08-04 09:17:11.000000000 -0400
82     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/15manager 1969-12-31 19:00:00.000000000 -0500
83     @@ -1,13 +0,0 @@
84     -{
85     -my $managerpass = ${'freepbx'}{'ManagerPassword'} || 'amp111';
86     -
87     -$OUT.=<<"HERE";
88     -
89     -# AMPMGRUSER: the user to access the Asterisk manager interface
90     -AMPMGRUSER=admin
91     -
92     -# AMPMGRPASS: the password for AMPMGRUSER
93     -AMPMGRPASS=$managerpass
94     -
95     -HERE
96     -}
97     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/20paths smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/20paths
98     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/20paths 2008-08-04 09:17:11.000000000 -0400
99     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/20paths 1969-12-31 19:00:00.000000000 -0500
100     @@ -1,21 +0,0 @@
101     -
102     -# AMPBIN: where command line scripts live
103     -AMPBIN=/var/lib/asterisk/bin
104     -
105     -#AMPSBIN: where (root) command line scripts live
106     -AMPSBIN=/usr/local/sbin
107     -
108     -# AMPWEBROOT: the path to Apache's webroot (leave off trailing slash)
109     -AMPWEBROOT=/opt/freepbx
110     -
111     -# AMPCGIBIN: the path to Apache's cgi-bin dir (leave off trailing slash)
112     -AMPCGIBIN=/var/www/cgi-bin
113     -
114     -ASTETCDIR=/etc/asterisk
115     -ASTMODDIR=/usr/lib/asterisk/modules
116     -ASTVARLIBDIR=/var/lib/asterisk
117     -ASTAGIDIR=/var/lib/asterisk/agi-bin
118     -ASTSPOOLDIR=/var/spool/asterisk
119     -ASTRUNDIR=/var/run/asterisk
120     -ASTLOGDIR=/var/log/asterisk
121     -
122     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/25fop smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/25fop
123     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/25fop 2016-05-16 00:29:46.611000000 -0400
124     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/25fop 1969-12-31 19:00:00.000000000 -0500
125     @@ -1,16 +0,0 @@
126     -
127     -# FOPWEBROOT:web root for the Flash Operator Panel
128     -FOPWEBROOT=/opt/freepbx/panel
129     -
130     -# FOPPASSWORD: the secret code for performing transfers and hangups in the Flash Operator Panel
131     -FOPPASSWORD={${'fop'}{'Password'} || 'passw0rd';}
132     -
133     -# FOPSORT: FOP should sort extensions by Last Name [lastname] or by Extension [extension]
134     -FOPSORT=extension
135     -
136     -# FOPRUN: set to true if you want FOP started by freepbx_engine (amportal_start), false otherwise
137     -FOPRUN={((${'fop'}{'status'} || 'disabled') eq 'enabled') ? 'true': 'false';}
138     -
139     -FOPDISABLE={((${'fop'}{'status'} || 'disabled') eq 'enabled') ? 'false': 'true';}
140     -# Disables FOP in interface and retrieve_conf. Usefull for sqlite3 or if you don't want FOP.
141     -
142     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup00general smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup00general
143     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup00general 2008-08-04 09:17:11.000000000 -0400
144     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup00general 1969-12-31 19:00:00.000000000 -0500
145     @@ -1,11 +0,0 @@
146     -
147     -# AMPPROVROOT=/var/ftp /tftpboot
148     -# One or more directories where there are provisioning files that should be included in the backup. Currently
149     -# these get backed up only, the FreePBX utility does not automatically restore them.
150     -#
151     -#AMPPROVROOT=/var/ftp /tftpboot
152     -# AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list
153     -# a list of files to exclude, to be used in tar's --exclude-from argument
154     -#
155     -#AMPPROVEXCLUDE=/var/ftp/exclude-from-file-list
156     -
157     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup10ssh smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup10ssh
158     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup10ssh 2008-08-04 09:17:11.000000000 -0400
159     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup10ssh 1969-12-31 19:00:00.000000000 -0500
160     @@ -1,13 +0,0 @@
161     -
162     -# SSH BACKUP INFO: must have a valid SSHRSAKEY file and server, only supported through
163     -# ssh. SUBDIR is optional and will be created if it does not exist.
164     -#
165     -# If SSHUSER is not set, it will default to the current user which is asterisk in any
166     -# standard configuration.
167     -#
168     -#SSHBACKUP=yes
169     -#SSHUSER=backups
170     -#SSHRSAKEY=/etc/asterisk/backup_rsa
171     -#SSHSUBDIR=mysubdir
172     -#SSHSERVER=mybackupserver.com
173     -
174     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup20ftp smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup20ftp
175     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/30backup20ftp 2008-08-04 09:17:11.000000000 -0400
176     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/30backup20ftp 1969-12-31 19:00:00.000000000 -0500
177     @@ -1,17 +0,0 @@
178     -
179     -# The following are used to optionally have the freepbx backup program optionally
180     -# send the generated backup to an ftp server
181     -#
182     -# FTPBACKUP=YES to enable
183     -# FTPUSER, FTPPASSWORD, FTPSERVER must be set
184     -# FTPSUBDIR is an optional subdirectory at the ftp server, it will cause ftp to do a cd
185     -#
186     -# There is no error checking so you should check to make sure these are set correctly. The
187     -# ftp is saved after the backup, so it will not cause the local backup file to be effected
188     -#
189     -# FTPBACKUP=yes
190     -#FTPUSER=asterisk
191     -#FTPPASSWORD=password
192     -#FTPSUBDIR=mybackupfolder
193     -#FTPSERVER=myftpserver
194     -
195     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/35guiCustomization smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/35guiCustomization
196     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/35guiCustomization 2008-08-04 09:17:11.000000000 -0400
197     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/35guiCustomization 1969-12-31 19:00:00.000000000 -0500
198     @@ -1,20 +0,0 @@
199     -
200     -# SERVERINTITLE if set to true, the browser title will be preceded with the server name. default false
201     -SERVERINTITLE=false
202     -
203     -# AMPADMINLOGO: Defines the logo that is to be displayed at the TOP RIGHT of the admin screen.
204     -# This enables you to customize the look of the administration screen.
205     -# NOTE: images need to be saved in the ..../admin/images directory of your AMP install
206     -# This image should be 55px in height
207     -AMPADMINLOGO=logo.png
208     -
209     -# USECATEGORIES: Controls if the menu items in the admin interface are sorted by category (true),
210     -# or sorted alphebetically with no categories shown (false). Defaults to true.
211     -#USECATEGORIES=false
212     -
213     -# AMPEXTENSIONS: the type of view for extensions admin
214     -# If set to 'deviceanduser' Devices and Users will be administered seperately, and Users will be able to "login" to devices.
215     -# If set to 'extensions' Devices and Users will me administered in a single screen.
216     -AMPEXTENSIONS={((${'freepbx'}{'DeviceAndUser'} || 'disabled') eq 'enabled')? 'deviceanduser': 'extensions';}
217     -
218     -
219     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/40features smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/40features
220     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/40features 2016-05-16 00:29:46.617000000 -0400
221     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/40features 1969-12-31 19:00:00.000000000 -0500
222     @@ -1,59 +0,0 @@
223     -
224     -# ENABLECW: Enable call waiting by default when an extension is created (DEFAULT is yes)
225     -# Set to 'no' to if you don't want phones to be commissioned with call waiting already
226     -# enabled. The user would then be required to dial the CW feature code (*70 default) to
227     -# enable their phone. Most installations should leave this alone. It allows multi-line
228     -# phones to receive multiple calls on their line appearances.
229     -ENABLECW=yes
230     -
231     -#CWINUSEBUSY: Set to yes for extensions that have CW enabled to report as busy if
232     -# they don't answer (resulting in busy voicemail greeting). Otherwise they simply
233     -# report as no-answer (e.g. busy greeting servers no purpose
234     -CWINUSEBUSY=yes
235     -
236     -# AMPBADNUMBER: Set to false if you do not want the bad-number context generated which
237     -# traps any bogus number or freature code and plays a message to the effect. If you use
238     -# the Early Dial feature on some Grandstream phones, you will want to set this to false
239     -AMPBADNUMBER=true
240     -
241     -# If CUSTOMASERROR is set to false, then the Destination Registry will not report unknow destinations as errors
242     -# this should be left to the default true and custom destinations should be moved into the new custom apps registry
243     -# CUSTOMASERROR=false
244     -
245     -# if DYNAMICHINTS is set to true, Core will not statically generate hints. Instead it will make a call to the
246     -# AMPBIN php script, generate_hints.php, through an Asteirsk's #exec call. This requires Asterisk.conf to be
247     -# configured with "execincludes=yes" set in the [options] section.
248     -DYNAMICHINTS=false
249     -
250     -# XTNCONFLICTABORT, BADDESTABORT
251     -# setting either of these to true will result in retrieve_conf aborting during a reload if an extension
252     -# conflict is detected or a destination is detected. It is usually better to allow the reload to go
253     -# through and then correct the problem but these can be set if a more strict behavior is desired
254     -# both default to false if not set
255     -XTNCONFLICTABORT=false
256     -BADDESTABORT=false
257     -
258     -# USEDEVSTATE = true|false # DEFAULT VALUE false
259     -# If this is set, it assumes that you are running Asterisk 1.4 or higher and want to take advantage of the
260     -# func_devstate.c backport available from Asterisk 1.6 which allows custom hints to be created to support
261     -# BLF for server side feature codes such as daynight, followme, etc.
262     -#
263     -USEDEVSTATE={ ( -e '/usr/lib/asterisk/modules/func_devstate.so' ||
264     - -e '/usr/lib64/asterisk/modules/func_devstate.so' )? 'true':'false';}
265     -
266     -# MODULEADMINWGET=true|false # DEFAULT VALUE false
267     -# Module Admin normally tries to get its online information through direct file open type calls to URLs that
268     -# go back to the freepbx.org server. If it fails, typically because of content filters in firewalls that don't
269     -# like the way PHP formats the requests, the code will fall back and try a wget to pull the information.
270     -# This will often solve the problem. However, in such environemnts there can be a significant timeout before
271     -# the failed file open calls to the URLs return and there are often 2-3 of these that occur. Setting this value
272     -# will force FreePBX to avoid the attempt to open the URL and go straight to the wget calls.
273     -#
274     -MODULEADMINWGET=false
275     -
276     -# AMPMPG123=true|false # DEFAULT VALUE true
277     -# When set to false, the old MoH behavior is adopted where MP3 files can be loaded and WAV files converted to MP3
278     -# The new default behavior assumes you have mpg123 loaded as well as sox and will convert MP3 files to WAV. This is
279     -# highly recommended as MP3 files heavily tax the system and can cause instability on a busy phone system.
280     -AMPMPG123={system('/usr/bin/which mpg123 > /dev/null 2>&1') == 0 ? 'true':'false';}
281     -
282     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/45debug smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/45debug
283     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/45debug 2008-08-06 07:55:48.000000000 -0400
284     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/45debug 1969-12-31 19:00:00.000000000 -0500
285     @@ -1,9 +0,0 @@
286     -# AMPDISABLELOG=true|false # DEFAULT VALUE true
287     -# Whether or not to invoke the freepbx log facility
288     -
289     -# AMPSYSLOGLEVEL=LOG_EMERG|LOG_ALERT|LOG_CRIT|LOG_ERR|LOG_WARNING|LOG_NOTICE|LOG_INFO|LOG_DEBUG|LOG_SQL|SQL # DEFAULT VALUE LOG_ERR
290     -# Where to log if enabled, SQL, LOG_SQL logs to old MySQL table, others are passed to syslog system to determine where to log
291     -
292     -# AMPENABLEDEVELDEBUG=true|false # DEFAULT VALUE false
293     -# Whether or not to include log messages marked as 'devel-debug' in the log system
294     -
295     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/50permissions smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/50permissions
296     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/50permissions 2008-08-06 08:03:43.000000000 -0400
297     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/50permissions 1969-12-31 19:00:00.000000000 -0500
298     @@ -1,7 +0,0 @@
299     -# AMPVMUMASK: defaults to 077 allowing only the asterisk user to have any permissions on VM files. If set to something
300     -# like 007, it would allow the group to have permissions. This can be used if setting apache to a different
301     -# user then asterisk, so that the apache user (and thus ARI) can have access to read/write/delete the
302     -# voicemail files. If changed, some of the voicemail directory strucuters may have to be manually changed.
303     -AMPVMUMASK=007
304     -
305     -
306     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/55dashboardRefresh smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/55dashboardRefresh
307     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/55dashboardRefresh 2008-09-19 19:40:17.000000000 -0400
308     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/55dashboardRefresh 1969-12-31 19:00:00.000000000 -0500
309     @@ -1,10 +0,0 @@
310     -# These can be used to change the refresh rate of the System Status Panel. Most of
311     -# the stats are updated based on the STATS interval but a few items are checked
312     -# less frequently (such as Astersisk Uptime) based on the INFO value
313     -
314     -# DEFAULT VALUE: 6
315     -DASHBOARD_STATS_UPDATE_TIME=20
316     -
317     -# DEFAULT VALUE: 20
318     -DASHBOARD_INFO_UPDATE_TIME=60
319     -
320     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/60dahdi smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/60dahdi
321     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/60dahdi 2016-05-16 00:29:46.583000000 -0400
322     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/60dahdi 1969-12-31 19:00:00.000000000 -0500
323     @@ -1,12 +0,0 @@
324     -
325     -# ZAP2DAHDICOMPAT=true|false
326     -# DEFAULT VALUE: false
327     -# If set to true, FreePBX will check if you have chan_dadhi installed. If so, it will
328     -# automatically use all your ZAP configuration settings (devices and trunks) and
329     -# silently convert them, under the covers, to DAHDI so no changes are needed. The
330     -# GUI will continue to refer to these as ZAP but it will use the proper DAHDI channels.
331     -# This will also keep Zap Channel DIDs working.
332     -
333     -ZAP2DAHDICOMPAT={ ( -e '/usr/lib/asterisk/modules/chan_dahdi.so' ||
334     - -e '/usr/lib64/asterisk/modules/chan_dahdi.so' )? 'true':'false';}
335     -
336     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/65check_referer smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/65check_referer
337     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/65check_referer 2016-05-16 00:29:46.613000000 -0400
338     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/65check_referer 1969-12-31 19:00:00.000000000 -0500
339     @@ -1,3 +0,0 @@
340     -
341     -CHECKREFERER=false
342     -
343     diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/70ari smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/70ari
344     --- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/amportal.conf/70ari 2016-05-16 00:29:46.622000000 -0400
345     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/amportal.conf/70ari 1969-12-31 19:00:00.000000000 -0500
346     @@ -1,14 +0,0 @@
347     -{
348     -my $aripass = ${'freepbx'}{'AriPassword'} || 'azerty';
349     -
350     -$OUT.=<<"HERE";
351     -
352     -# This is the default admin name used to allow an administrator to login to ARI bypassing all security.
353     -ARI_ADMIN_USERNAME=admin
354     -
355     -# This is the default admin password to allow an administrator to login to ARI bypassing all security.
356     -ARI_ADMIN_PASSWORD=$aripass
357     -
358     -HERE
359     -}
360     -

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed