Using Siebel Scripts from Release 6.x

Siebel VB and Siebel eScript scripts that you used with Siebel CTI release 6.x can still be used with the current version of Siebel Communications Server to extend your CTI-enabled Siebel applications using the Siebel client.

NOTE: Scripts that support the objects and methods described in this chapter should not also attempt to support new release 7.x Communications Server functionality. In general, it is recommended to use release 7.x scripting capabilities, such as those described in Integrating with Siebel Scripting Languages.

Siebel VB or Siebel eScript scripts can invoke communications commands. Commands such as transferring a call can be invoked from Siebel VB-based menu items, buttons, or toolbar buttons.

Siebel VB or Siebel eScript scripts can access call data fields such as ANI, DNIS, and digits collected from an IVR system.

The integration with Siebel VB and Siebel eScript described in this section allows customers to write call handlers and other advanced communications commands in Siebel VB or Siebel eScript.

All release 6.x Siebel CTI methods are exposed and can be called with any applicable parameters. All release 6.x data fields (such as ANI, DNIS, and so on) are accessible. A Siebel VB or Siebel eScript script can be invoked on any communications event for a CTI driver (call incoming, disconnected, and so on).

NOTE: For scripts invoked to handle events: When a CTI parameter is passed to a script, the receiving function should include input arguments in the function declaration.

The CTI-related objects and interfaces are supported only by Siebel VB or Siebel eScript. The main purpose of such interfaces is to allow communications event handling (such as screen-pop logic). But the interface can also be used to take complete control of the CTI technology. CTI objects can be used to obtain information about the current call, to intercept communications events and perform the necessary handling, or to control calls (make calls, transfer calls, and so on).

NOTE: Define scripts that work with Siebel CTI in the general section of the application object, where they will be compiled into the repository (.srf) file for the Siebel Application Object Manager (for the Siebel Web Client). Siebel CTI data objects and methods are for the active call object.