Руководство Разработчика для Cisco Cisco Computer Telephony Integration Option 8.5

Скачать
Страница из 668
 
Chapter 4      Building Your Application
Sample Code in the CTI OS Toolkit
4-110
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
Sample Code in the CTI OS Toolkit
The CTI OS Toolkit provides several samples that illustrate how to use the 
various CTI OS CILs in custom applications. These samples are categorized 
according to the CIL (.NET, Java, or Win32) that they use.
.NET Samples
Note
Of all the samples provided in the CTI OS toolkit, the .NET sample applications 
provide the most complete set of coding examples. Therefore the .NET samples 
should be used as the reference implementation for custom CTI OS application 
development regardless of which language you plan to use in your custom 
development. 
 
 
The Java and Win32 samples should be used asa secondary references to highlight 
syntactic differences as well as minor implementation differences between the 
CILs. 
CTI Toolkit Combo Desktop.NET
The CTI Toolkit Combo Desktop.NET sample illustrates how to use the .NET 
CIL to build a fully functional agent or supervisor desktop. Though this sample is 
written in C#, it is a good reference in general, for how to make CIL requests and 
handle CIL events in an agent mode CIL application. This sample illustrates the 
following CIL programming concepts:
  •
Agent mode connection to CTI OS
  •
Agent desktop functionality (call control, agent state control, statistics)
  •
Supervisor desktop functionality (team state monitoring, barge-in, intercept)
  •
Outbound option functionality
  •
Button enablement
  •
Failover