Siebel CTI Administration Guide > Configuring Advanced Communications Features > Using Business Services with Siebel Communications Server >

Invoking a Command Through the Business Service Model


You can set up a custom business service that invokes a command from a communications configuration. To set this up, you do the following:

  • Create a communications command (and a corresponding command data definition) that is intended to be invoked from outside of Siebel Communications Server, and
  • Modify or create an applet, script, or business service to invoke a particular communications command

The following examples are for a make-call command and a business service method that invokes this command.

Table 35 and Table 36 show an example of a command that is called by a custom business service. This example executes a MakeCall device command.

Table 35. Command: MakeCallFromCustomService
Parameter Name
Parameter Value

Description

Make Call from Custom Service

DeviceCommand

MakeCall

Hidden

True

Table 36 shows a command data definition for this command definition.

Table 36. Command Data: MakeCallFromCustomService
Parameter Name
Parameter Value

Param.PhoneNumber

{Call Recipient Phone Number}

Param.DisplayText

{My Display Text}

The values for Call Recipient Phone Number and My Display Text are passed from the custom business service to the command when the command is invoked.

A business service must be implemented that invokes the command MakeCallFromCustomService. Communications Server retrieves the values of Call Recipient Phone Number and My Display Text from the input arguments of the business service method and assigns these values to the command data parameters Param.PhoneNumber and Param.DisplayText. The device command MakeCall is executed, using the values for these parameters.

NOTE:  By default, communications commands are invoked from business service methods associated with communications toolbar buttons. For more information, see About Communications Toolbar Configuration.

Siebel CTI Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.