Added pre-Answer handling of Sangoma CPD events, also new netborder 1.4 patch

Added back-end processes for process triggers

git-svn-id: svn://192.168.202.10@1175 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2009-07-01 02:05:47 +00:00
parent 6227626408
commit 17e43e95f1
13 changed files with 338 additions and 32 deletions
+6
View File
@@ -12,6 +12,7 @@
# 71205-2144 - Added display of extensions.conf example for call routing
# 80321-0220 - Updated for new settings
# 90211-1247 - Added asterisk version
# 90630-2256 - vicidial_process_triggers
#
# default path to astguiclient configuration file:
$PATHconf = '/etc/astguiclient.conf';
@@ -438,6 +439,11 @@ $stmtA = "UPDATE vicidial_inbound_dids SET server_ip='$VARserver_ip' where serve
$affected_rows = $dbhA->do($stmtA);
if ($DB) {print " |$affected_rows|$stmtA|\n";}
print " Updating vicidial_process_triggers table...\n";
$stmtA = "UPDATE vicidial_process_triggers SET server_ip='$VARserver_ip' where server_ip='$VARold_server_ip';";
$affected_rows = $dbhA->do($stmtA);
if ($DB) {print " |$affected_rows|$stmtA|\n";}
print " Setting servers to rebuild conf files...\n";
$stmtA="UPDATE servers SET rebuild_conf_files='Y' where generate_vicidial_conf='Y' and active_asterisk_server='Y';";
$affected_rows = $dbhA->do($stmtA);