Added some new agent_events entries to vicidial.php for Agent Events Push feature
git-svn-id: svn://192.168.202.10@2784 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Agent Events Push Started: 2017-05-31 Updated: 2017-06-01
|
||||
Agent Events Push Started: 2017-05-31 Updated: 2017-06-29
|
||||
|
||||
|
||||
This feature allows for selected events in the VICIdial agent screen to push out event triggers through HTTP requests sent to a URL as defined in the System Settings.
|
||||
@@ -30,7 +30,9 @@ Here is a list of the supported events that will be pushed out if you have confi
|
||||
|
||||
logged_in - After the agent screen has finished loading, this event will be triggered. The session ID, server_ip, version, build and script will be attached to this event
|
||||
|
||||
logged_out - There are a few different types of logouts, the reason for the logout will be attached to this event
|
||||
logged_out - There are a few different types of logouts, this is the starting of the logout process, the reason for the logout will be attached to this event
|
||||
|
||||
logged_out_complete - triggered when logout process is complete, this event may not trigger reliably due to agent closing browser
|
||||
|
||||
state_ready - When the agent state changes to READY or CLOSER, this event will trigger, the state will be attached to the event
|
||||
|
||||
@@ -98,8 +100,12 @@ transfer_panel_closed - The transfer conference panel has been closed
|
||||
|
||||
ingroup_screen_open - The In-Group selection screen has been opened
|
||||
|
||||
ingroup_screen_closed - The In-Group selection screen has been closed
|
||||
|
||||
territory_screen_open - The Territory selection screen has been opened
|
||||
|
||||
territory_screen_closed - The Territory selection screen has been closed
|
||||
|
||||
contact_search_open - The Contact search screen has been opened
|
||||
|
||||
lead_search_open - The lead search screen has been opened
|
||||
|
||||
@@ -556,10 +556,11 @@
|
||||
# 170531-0937 - Added Agent Events Push function
|
||||
# 170601-2017 - Added more agent events
|
||||
# 170609-1711 - Added 'commit' function to force immediate submission of Customer Information changes to database
|
||||
# 170629-1831 - Added some new agent_events entries
|
||||
#
|
||||
|
||||
$version = '2.14-526c';
|
||||
$build = '170609-1711';
|
||||
$version = '2.14-527c';
|
||||
$build = '170629-1831';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=87;
|
||||
$one_mysql_log=0;
|
||||
@@ -14108,6 +14109,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
}
|
||||
|
||||
hideDiv('CloserSelectBox');
|
||||
agent_events('ingroup_screen_closed', '');
|
||||
MainPanelToFront();
|
||||
CloserSelecting = 0;
|
||||
scroll(0,0);
|
||||
@@ -14270,6 +14272,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
}
|
||||
|
||||
hideDiv('TerritorySelectBox');
|
||||
agent_events('territory_screen_closed', '');
|
||||
MainPanelToFront();
|
||||
TerritorySelecting = 0;
|
||||
scroll(0,0);
|
||||
@@ -14412,6 +14415,8 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
needToConfirmExit = false;
|
||||
|
||||
document.getElementById("LogouTProcess").innerHTML = "<br /><br /><font class=\"loading_text\"><?php echo _QXZ("LOGOUT PROCESS COMPLETE, YOU MAY NOW CLOSE YOUR BROWSER OR LOG BACK IN"); ?></font><br /><br /> <img src=\"./images/<?php echo _QXZ("agent_loading_done.gif"); ?>\" height=\"206px\" width=\"206px\" alt=\"<?php echo _QXZ("LOGOUT PROCESS COMPLETE, YOU MAY NOW CLOSE YOUR BROWSER OR LOG BACK IN"); ?>\" />";
|
||||
|
||||
agent_events('logged_out_complete', '');
|
||||
}
|
||||
}
|
||||
delete xmlhttp;
|
||||
@@ -16873,6 +16878,7 @@ function phone_number_format(formatphone) {
|
||||
else
|
||||
{
|
||||
hideDiv('CloserSelectBox');
|
||||
agent_events('ingroup_screen_closed', '');
|
||||
MainPanelToFront();
|
||||
var CloserSelecting = 0;
|
||||
if (dial_method == "INBOUND_MAN")
|
||||
@@ -16895,6 +16901,7 @@ function phone_number_format(formatphone) {
|
||||
else
|
||||
{
|
||||
hideDiv('TerritorySelectBox');
|
||||
agent_events('territory_screen_closed', '');
|
||||
MainPanelToFront();
|
||||
var TerritorySelecting = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user