1 |
unnilennium |
1.1 |
--- smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-dump-astdb.dump_astdb_include_functions 2008-08-06 18:18:12.000000000 +0200 |
2 |
|
|
+++ smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-dump-astdb 2009-10-06 13:22:53.000000000 +0200 |
3 |
|
|
@@ -14,6 +14,7 @@ |
4 |
|
|
|
5 |
|
|
$amp_conf = getconf("/etc/amportal.conf"); |
6 |
|
|
|
7 |
|
|
+require_once($amp_conf['AMPWEBROOT']."/admin/functions.inc.php"); |
8 |
|
|
require_once($amp_conf['AMPWEBROOT']."/admin/common/php-asmanager.php"); |
9 |
|
|
$astman = new AGI_AsteriskManager(); |
10 |
|
|
if (! $res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] , $amp_conf["AMPMGRPASS"])) { |