CTI eScript for invoking AvayaAgentCommand (Doc ID 507217.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CTI - Version 7.5.2.214 SIA [16066] and later
IBM AIX on POWER Systems (64-bit)
Product Release: V7 (Enterprise)
Version: 7.5.2.214 [16066] Fin Svcs
Database: Oracle 8.1.7.3
Application Server OS: IBM AIX 5L 5.1
Database Server OS: IBM AIX 5L 5.1

This document was previously published as Siebel SR 38-1100174217.

Add ***Checked for relevance on 17-JAN-2014***


Symptoms

Hi,

We are using Avaya Interaction Center (IC) 6.1 for our implementation of CTI.

We are having difficulty in invoking the command 'AvayaAgentCommand' which is a command used by Avaya for passing parameters from Siebel to Avaya. We have tried using :

// Method 1
var CTI = TheApplication().GetCTIService();
CTI.InvokeCommand("AvayaAgentCommand");

// Method 2
var bsCommServer = TheApplication().GetService("Communications Session Manager");
var psInputs = TheApplication().NewPropertySet();
var psOutputs = TheApplication().NewPropertySet();
var psListOfContainer = TheApplication().NewPropertySet();
var psField1 = TheApplication().NewPropertySet();
psField1.SetType(strParam1);
psField1.SetValue(strValue1);
psListOfContainer.AddChild(psField1);
psInputs.SetProperty("DeviceCommand", "AvayaAgentCommand");
psInputs.SetProperty("DataSet", psListOfContainer);
bsCommServer.InvokeMethod("InvokeCommand", psInputs, psOutputs);

However, with this syntax of eScript (Method 1), we are not able to specify our parameters to be passed to the command. And with eScript (Method 2), there seem to be no error in our SComm Log, and there is no indication that this command is triggered. Would there be any sample scripts that you would recommend for us to use to enable invoking of the command 'AvayaAgentCommand' and subsequently pass the data to Avaya IC.

Attached is the integration guide for Siebel - Avaya for your reference.

Regards,

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms