- Contents
Interaction Scripter Developer's Guide
IS_Event_NewPreviewCall
Definition
This event is fired when a new preview call is placed in a queue. It is fired after IS_Action_PlacePreviewCall has been invoked by a script. Its prototype is IS_Event_NewPreviewCall(CallId). Use the IS_Attr_Campaign attribute to identify the name of the campaign. If IS_EventNewPreviewCall is not defined, IS_Event_DataPop will be called by default. It is raised by Scripter when a preview call is presented to the agent. Note that this event is not the data pop, but the event that is raised after the agent issued an IS_Action_PlacePreviewCall function call.
Attributes
- CallId
-
Call identifier of the new call on the user's queue.
Example
<head>
<script language=javascript>
function IS_Event_NewPreviewCall(CallId) {
// navigate to the data display page
location.href = "intro.html";
}
</script>
</head>