Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 4      Building Your Application
Sample Code in the CTI OS Toolkit
4-112
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
LogFilePath – The value for this key is the path to the log file as well as the 
prefix of the name of the log file.  The name of the Windows user, the log 
file’s creation time, and the extension “.log” will be appended to form the 
complete name of the log file.  For example, if the desktop was run at 11:58 
AM on May 23, 2005, the log file would have the name 
CtiOsClientLog.JoeUser.050523.11.58.04.5032.log.
CtiOsA – The name or IP address of one of the CTIOS Server peers.
CtiOsB – The name or IP address of the other CTIOS Server peer.
PortA – The port used to connect to the CTIOS Server specified by the 
CtiOsA key.
PortB – The port used to connect to the CTIOS Server specified by the 
CtiOsB key.
configSections – This section is used to define Windows user specific sections of 
the configuration file.  These sections are defined using the section element.  You 
will notice in the sample configuration file that there is a section element under 
configSections corresponding to the element tagged with the Window’s user 
name “JoeUser” under the configuration element.  This section should not need to 
be manually modified.  As different Windows users use the desktop, this section 
will be modified to include section elements for each of the users.
The rest of the configuration file is composed of elements that define 
configuration specific to different Windows users.  For each section element in 
the configSections element, there is a corresponding element under the 
configuration element.  These elements are used to store information specific to 
given users such as trace mask, agent login ID, dialed numbers, etc.  Most of the 
attributes in this element should not need to be modified.  The one attribute that 
may need modification is the TraceMask attribute.  This attribute is used to 
control the amount of information logged to the log file.
CtiOs Data Grid.NET
This sample is a set of helper classes that are used in other .NET CIL samples.