Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel CTI Administration Guide > Configuring Advanced Communications Features > Using Business Services with Siebel Communications Server > Invoking a Business Service Method from an Event HandlerYou can create or modify an event handler in the communications configuration to specify a Siebel business service and method to be invoked. The business service method returns data to determine whether this event handler matches. In addition, it can perform other functions that the customer might want. To configure this, you use the event parameters ServiceMethod and ServiceParam to specify the name of the business service and method to invoke and to specify argument names and values to pass to the business service method. For more information about using these event parameters, see Event Handlers. In the example shown in Table 38, Communications Server invokes the method MyMethod of the business service MyService and passes arguments attribute1 and attribute2 to the method, using the values of the ServiceParam.Param1 and ServiceParam.Param2 parameters. The example event handler has the Device Event field set to the appropriate device event for the driver, such as an InboundCall event. You can use the ServiceMethod and ServiceParam parameters to supplement or replace filter mechanisms using the Filter or FilterSpec parameters. You can also use this method to execute custom code before executing a specified event response. The business method must set a parameter of Result to a value 1 or 0 (or True or False): |
![]() ![]() |
Siebel CTI Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |