Siebel Communications Server Administration Guide > Upgrading from Version 6.x > Using Siebel Scripts from Version 6.x >

Defining the CTI Event to Invoke the Script


The example HandleCallUsingANI script, whether Siebel VB or Siebel eScript, can be invoked when the user clicks the Answer Call button. To specify this behavior, you attach the script to a particular event response you define in the Communications Administration screen.

Define the event response to be similar to the example InvokeVBOnAnswer for Siebel CTI Connect, shown in Table 140. The example event handler that invokes this event response would have the Device Event field set to the appropriate device event for the driver, such as TpAnswered for Siebel CTI Connect.

Table 140.  Event Response: InvokeVBOnAnswer
Parameter Name
Parameter Value
UseCtxData
TRUE
Script
HandleCallUsingANI
ScriptParam.arg1
test1
ScriptParam.arg2
test2

Using the same techniques, you can write a script that will query the Siebel database using the information about the current call and display the data by navigating to the corresponding Siebel view.


 Siebel Communications Server Administration Guide 
 Published: 23 June 2003