Siebel Communications Server Administration Guide > Configuring Advanced Communications Features >
Integrating with Siebel Scripting Languages
Siebel VB and Siebel eScript scripts can be used in many ways to extend your communications-enabled Siebel applications.
For information about scripting methods from Siebel CTI release 6.x, see Using Siebel Scripts from Release 6.x.
You can use Siebel VB and Siebel eScript scripts in the following ways:
- Communications events or commands can invoke Siebel VB or Siebel eScript scripts:
- Communications events can invoke Siebel VB or Siebel eScript scripts, for instance on the arrival of an incoming work item or upon releasing a work item.
- Communications commands can invoke Siebel VB or Siebel eScript scripts.
- Siebel VB or Siebel eScript scripts can invoke communications commands (using business service methods) and access event data fields or work item attributes:
- Siebel VB or Siebel eScript scripts can invoke communications commands. Commands such as transferring a work item can be invoked from Siebel VB-based menu items, buttons, or toolbar buttons.
- Siebel VB or Siebel eScript scripts can access data attached to a work item, such as event data fields like ANI, DNIS, digits collected from an IVR system, or Siebel work item attributes.
- Siebel VB or Siebel eScript scripts can access methods and arguments of Communications Server business services. For more information, see Using Business Services with Communications Server and Communications Server Business Services.
- Siebel VB or Siebel eScript scripts can access runtime data provided by the macros described in Macros for Parameter Values.
Siebel Communications Server integration with Siebel VB and Siebel eScript allows customers to write event handler functions and advanced communications commands in Siebel VB or Siebel eScript.
The methods of all Communications Server business server methods are exposed and can be called with any applicable arguments. All event 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.
A major use of scripting is to allow communications event handling (such as screen-pop logic). But you can also use it to take complete control of the communications technology: to obtain information about the current work item, to intercept events and perform the necessary handling, or to control communications work items (initiate work items, transfer work items, and so on).
NOTE: Scripts can be defined in the general section of the application object or in a custom business service. They will be compiled into the Siebel repository (.srf) file for the Siebel Application Object Manager.