1 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-checkinstall smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-checkinstall |
2 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-checkinstall 2016-05-06 04:08:16.395000000 -0400 |
3 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-checkinstall 2016-05-06 06:48:52.357000000 -0400 |
4 |
@@ -41,7 +41,7 @@ |
5 |
./start_asterisk start >> /root/freepbx_install.log 2>&1 |
6 |
echo "" >> /root/freepbx_install.log |
7 |
echo "Installing FreePBX..." >> /root/freepbx_install.log |
8 |
- echo "a" | ./install_amp >> /root/freepbx_install.log 2>&1 |
9 |
+ echo "a" | ./install -n >> /root/freepbx_install.log 2>&1 |
10 |
else |
11 |
echo "error: /usr/share/freepbx/sources/freepbx/ dosen't exists" |
12 |
exit 1 |
13 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-dump-astdb smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-dump-astdb |
14 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/events/actions/freepbx-dump-astdb 2016-05-06 04:08:16.421000000 -0400 |
15 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-dump-astdb 2016-05-06 06:51:03.402000000 -0400 |
16 |
@@ -15,7 +15,7 @@ |
17 |
$amp_conf = getconf("/etc/amportal.conf"); |
18 |
|
19 |
require_once($amp_conf['AMPWEBROOT']."/admin/functions.inc.php"); |
20 |
-require_once($amp_conf['AMPWEBROOT']."/admin/common/php-asmanager.php"); |
21 |
+require_once($amp_conf['AMPWEBROOT']."/admin/libraries/php-asmanager.php"); |
22 |
$astman = new AGI_AsteriskManager(); |
23 |
if (! $res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] , $amp_conf["AMPMGRPASS"])) { |
24 |
unset( $astman ); |
25 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin |
26 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2016-05-06 04:08:16.439000000 -0400 |
27 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2016-05-06 06:59:05.927000000 -0400 |
28 |
@@ -11,6 +11,7 @@ |
29 |
|
30 |
<Directory /opt/freepbx/admin/modules/> |
31 |
deny from all |
32 |
+ Allow from 127.0.0.1 |
33 |
</Directory> |
34 |
|
35 |
<Location /freepbx/admin> |
36 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel |
37 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel 2016-05-06 04:08:16.439000000 -0400 |
38 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel 2016-05-06 06:58:07.148000000 -0400 |
39 |
@@ -5,5 +5,9 @@ |
40 |
require user admin {getUsersList('fop');} |
41 |
SetEnv IMGHDR_SRC "/server-common/server-manager.jpg" |
42 |
Satisfy all |
43 |
+ php_admin_value memory_limit { |
44 |
+my $ml = $php{MemoryLimit} || "100M"; |
45 |
+$OUT .= "$ml"; |
46 |
+} |
47 |
</Location> |
48 |
|
49 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All |
50 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 2016-05-06 04:08:16.438000000 -0400 |
51 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/logrotate.d/asterisk/All 2016-05-06 07:00:48.558000000 -0400 |
52 |
@@ -1,4 +1,4 @@ |
53 |
-/var/log/asterisk/messages /var/log/asterisk/event_log /var/log/asterisk/queue_log /var/log/asterisk/full /var/log/asterisk/warnings /var/log/asterisk/misdn.log \{ |
54 |
+/var/log/asterisk/messages /var/log/asterisk/freepbx* /var/log/asterisk/event_log /var/log/asterisk/queue_log /var/log/asterisk/full /var/log/asterisk/warnings /var/log/asterisk/misdn.log \{ |
55 |
missingok |
56 |
notifempty |
57 |
compress |