More KHOMP updates
git-svn-id: svn://192.168.202.10@3883 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
+2
-1
@@ -102,6 +102,7 @@
|
||||
# 240225-0957 - Added AUTONEXT hopper_hold_inserts campaign option
|
||||
# 241001-2224 - Fixes for Khomp call processing
|
||||
# 241020-1929 - Added khomp campaign settings options
|
||||
# 281028-0958 - Added vicidial_khomp_log logging of container used
|
||||
#
|
||||
|
||||
# defaults for PreFork
|
||||
@@ -822,7 +823,7 @@ sub process_request
|
||||
elsif ($khomp_id_format eq 'CALLERCODE_CAMP_EXTERNIP')
|
||||
{ $khomp_id = $callerid . '_' . $campaign . '_' . $external_server_ip; }
|
||||
|
||||
$stmtA = "INSERT INTO vicidial_khomp_log SET caller_code = '$callerid', lead_id = '$lead_id', server_ip = '$VARserver_ip', khomp_header = '$khomp_header', khomp_id = '$khomp_id', khomp_id_format = '$khomp_id_format', start_date=NOW()";
|
||||
$stmtA = "INSERT INTO vicidial_khomp_log SET caller_code = '$callerid', lead_id = '$lead_id', server_ip = '$VARserver_ip', khomp_header = '$khomp_header', khomp_id = '$khomp_id', khomp_id_format = '$khomp_id_format', start_date=NOW(), khomp_settings_container='$khomp_settings_container'";
|
||||
if ($AGILOG) {$agi_string = "-- KHOMP Log Insert: |$stmtA|"; &agi_output;}
|
||||
$dbhA->do($stmtA);
|
||||
|
||||
|
||||
@@ -4787,6 +4787,7 @@ CREATE TABLE `vicidial_khomp_log` (
|
||||
`route_query_time` varchar(20) COLLATE utf8_unicode_ci DEFAULT '0',
|
||||
`vici_action` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`vici_status` varchar(6) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`khomp_settings_container` varchar(40),
|
||||
PRIMARY KEY (`khomp_log_id`),
|
||||
KEY `caller_code` (`caller_code`),
|
||||
KEY `start_date` (`start_date`),
|
||||
@@ -5708,4 +5709,4 @@ INSERT INTO `wallboard_reports` VALUES ('AGENTS_AND_QUEUES','Agents and Queues',
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1719',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1720',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -2778,3 +2778,7 @@ index(start_time)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1719',db_schema_update_date=NOW() where db_schema_version < 1719;
|
||||
|
||||
ALTER TABLE vicidial_khomp_log ADD khomp_settings_container VARCHAR(40);
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1720',db_schema_update_date=NOW() where db_schema_version < 1720;
|
||||
|
||||
Reference in New Issue
Block a user