|Bookshelf Home | Contents | Index | PDF|
For descriptions of the CTIData object type, see CTIData Object Type.
The CTIService object type provides the features of the Siebel CTI integration. This object is created when the Siebel application is running with the enabled CTI option. This object type has methods that allow call control, CTI event handing, and access to CTI information.
The CTI service provides access to the communications commands by name. The communications commands and their names are specific to the particular CTI integration. For Siebel CTI Connect, commands are described in Using Siebel CTI Connect. Also refer to documentation from the middleware vendor.
IsCommandEnabled returns 0 if the specified communications command is currently enabled and returns 1 if the command is disabled. For example, the AnswerCall command is enabled only when the phone is ringing.
IsCommandChecked returns 1 if the state of the specified communications command is triggered; otherwise it returns 0. For example, when an agent is in the Not Ready state, the command ChangeNotReadyState is triggered and IsCommandChecked returns 1.
Invokes the device command by name, with the optional ctiDataObject parameter. The ctiDataObject parameter can be used to attach user-defined data to the current call, for instance when you are transferring a call or initiating a call. It can also be used to pass multiple parameters to the command when this is required.
Returns a read-only copy of the CTIData object for the current call. The returned object can be used to retrieve information about the current call, such as the CTI fields ANI, DNIS and any other switch, middleware, or user-defined data that is associated with the call.
This method is called before beginning a lengthy operation or interaction with the user through the user interface of the Siebel application. This will prompt Siebel CTI to complete some unfinished operations.
For example, suppose there is a Siebel VB or Siebel eScript script associated with the Answer Call button in the communications toolbar. When the phone rings and the agent clicks the Answer Call button, Siebel CTI will call the Siebel VB or Siebel eScript handler first and answer the phone only after that. Then a Service Request window can be invoked showing the current service request for the caller.
If the Siebel VB or Siebel eScript code internally performs some lengthy operation, then the agent may want to pick up the phone before the script ends. Calling the NotifyEventHandlerBlocking method accomplishes this and immediately connects the agent with the caller.
|Siebel Communications Server Administration Guide|