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.
The following table and the second table in this topic show an example of a command that is called by a custom business service. This example executes a MakeCall device command.
Parameter Name | Parameter Value |
---|---|
Description |
Make Call from Custom Service |
DeviceCommand |
MakeCall |
Hidden |
True |
The following table shows a command data definition for this command definition.
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.