/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-13.bz9760.patch
ViewVC logotype

Contents of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-13.bz9760.patch

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


Revision 1.1 - (show annotations) (download)
Mon Oct 24 04:46:10 2016 UTC (8 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-13-6_el6_sme, smeserver-freepbx-13-8_el6_sme, smeserver-freepbx-13-7_el6_sme, smeserver-freepbx-13-9_el6_sme, smeserver-freepbx-13-15_el6_sme, smeserver-freepbx-13-13_el6_sme, smeserver-freepbx-13-12_el6_sme, smeserver-freepbx-13-11_el6_sme, smeserver-freepbx-13-10_el6_sme, smeserver-freepbx-13-14_el6_sme, HEAD
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme
- fix error while backup with workstation [SME: 9760]

1 diff -Nur smeserver-freepbx-13.old/root/etc/e-smith/events/actions/freepbx-dump-astdb smeserver-freepbx-13/root/etc/e-smith/events/actions/freepbx-dump-astdb
2 --- smeserver-freepbx-13.old/root/etc/e-smith/events/actions/freepbx-dump-astdb 2016-06-13 08:03:08.000000000 -0400
3 +++ smeserver-freepbx-13/root/etc/e-smith/events/actions/freepbx-dump-astdb 2016-10-24 00:42:34.680000000 -0400
4 @@ -14,8 +14,10 @@
5
6 $amp_conf = getconf("/etc/amportal.conf");
7
8 -require_once($amp_conf['AMPWEBROOT']."/admin/functions.inc.php");
9 -require_once($amp_conf['AMPWEBROOT']."/admin/libraries/php-asmanager.php");
10 +// Start quickly.
11 +$bootstrap_settings['freepbx_auth'] = false; // Just in case.
12 +$restrict_mods = true; // Takes startup from 0.2 seconds to 0.07 seconds.
13 +include '/etc/freepbx.conf';
14 $astman = new AGI_AsteriskManager();
15 if (! $res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] , $amp_conf["AMPMGRPASS"])) {
16 unset( $astman );

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