Added ConfBridge code and applied ConfBridge patches by default

git-svn-id: svn://192.168.202.10@3826 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2024-04-21 03:03:49 +00:00
parent a2e331d23c
commit 3542e9176d
13 changed files with 1206 additions and 109 deletions
+7 -1
View File
@@ -6,7 +6,7 @@
# astguiclient.conf file to reflect a change in IP address. The script will
# automatically default to the first eth address in the ifconfig output.
#
# Copyright (C) 2019 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2024 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# CHANGELOG
# 71205-2144 - Added display of extensions.conf example for call routing
@@ -17,6 +17,7 @@
# 150312-1000 - Added ExpectedDBSchema
# 180928-1958 - Added update of report_server, active_twin_server_ip and active_voicemail_server, issue #1109
# 190530-1517 - Added mising commented-out keepalives in conf file
# 240420-2247 - Added ConfBridge code
#
# default path to astguiclient configuration file:
@@ -445,6 +446,11 @@ $stmtA = "UPDATE vicidial_conferences SET server_ip='$VARserver_ip' where server
$affected_rows = $dbhA->do($stmtA);
if ($DB) {print " |$affected_rows|$stmtA|\n";}
print " Updating vicidial_confbridges table...\n";
$stmtA = "UPDATE vicidial_confbridges SET server_ip='$VARserver_ip' where server_ip='$VARold_server_ip';";
$affected_rows = $dbhA->do($stmtA);
if ($DB) {print " |$affected_rows|$stmtA|\n";}
print " Updating vicidial_stations table...\n";
$stmtA = "UPDATE vicidial_stations SET server_ip='$VARserver_ip' where server_ip='$VARold_server_ip';";
$affected_rows = $dbhA->do($stmtA);