Configuring Avaya TSAPI Real-Time Adapter
Overview
QueueManager needs to be configured to listen for statistics in order to receive real-time information from the adapter. Configure the Avaya Tsapi Real-Time Adapter by updating the settings in the adapter configuration file.
Adapter config File
Below is a sample VHT_TsapiRealTimeAdapter_Console.exe.config file. This file may be manually configured based on the fields in vhtLogging, vhtCommunication, and appSettings.
<?xml version="1.0" encoding="utf-8"?><configuration> <configSections> <sectionGroup name="VHTConfiguration"> <section name="vhtLogging" type="VHT.Common.Library.Configuration.Logging.VHTLoggingSection, VHT.Common.Library" allowLocation="true" allowDefinition="Everywhere"/> <section name="vhtCommunication" type="VHT.Common.Library.Configuration.Communication.VHTCommunicationSection, VHT.Common.Library" allowLocation="true" allowDefinition="Everywhere"></section> </sectionGroup> </configSections> <VHTConfiguration> <vhtLogging> <application level="10" name="TsapiRealTimeAdapterConsole" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs"/> </vhtLogging> <vhtCommunication> <QMCL reconnectIntervalSeconds="3"> <Connections> <Connection connectionType="Primary"> <Server ipAddress="QUEUEMANAGER_IP" port="6999"/> <Client ipAddress="REALTIMEADAPTER_IP" port="0"/> </Connection> </Connections> </QMCL> </vhtCommunication> </VHTConfiguration> <appSettings> <add key="VhqmwsUrl" value="http://[VHQMWS_IP]/VHQMWS/VHQMWS.asmx"/> <add key="SiteName" value="SITENAME"/> <add key="FrequencyMS" value="3000"/> <add key="UseDefaultsOnConnectionLost" value="false"/> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/> </startup></configuration>
vhtLogging
This section of the configuration file designates where the log files reside.
Field Name | Sample Value | Description |
---|---|---|
name | TsapiRealtimeAdapterConsole | Name which designates real-time adapter log files. This name may be modified. |
logFilePath | C:\Program Files (x86)\Virtual Hold Technology\VHLogs | Location of log files. |
vhtCommunication
This section of the configuration file handles the connection to QueueManager.
Field Name | Sample Value | Description |
---|---|---|
Connection connectionType | Primary | Refers to the type of connection. Valid values are Primary and Secondary (optional). |
Server ipAddress | 10.20.0.162 | IP address of QueueManager. |
Client ipAddress | 172.16.59.229 | IP address of the real-time adapter. |
appSettings
This section of the configuration file handles the connection to the Avaya Tsapi Server.
Field Name | Sample Value | Description |
---|---|---|
VhqmwsUrl | http://10.10.10/VHQMWS.asmx | URL containing the VHQMWS Url. Format of the Url should be: http:// VHQMWS_IP /VHQMWS.asmx |
SiteName | VHT | Site name of real-time adapter. |
FrequencyMS | 3000 | Interval for sending RTIAL updates to QueueManager. Default value is 3000 (3 seconds) |
UseDefaultsOnConnectionLost | False | Defines what queue variable table values to send to QueueManager when the Tsapi server is shut down. When set to true, the queue variable table values are used. When set to false, the last known values are used. Default value is False. |