Beruflich Dokumente
Kultur Dokumente
Developer Series
Altitude uCI 7
Altitude Software
Tel. +351-21-4129800
Fax. +351-21-4129890
info@altitude.com
www.altitude.com
Contents
What is the uSupervisor COM API...............................................................................8
What is an application.......................................................................................................................8
What is a wallboard driver.................................................................................................................9
What is a property page.....................................................................................................................9
Wallboard Connector architecture...................................................................................................10
New functionality...........................................................................................................11
New functionality in Altitude uCI 7................................................................................................11
New functionality in Altitude uCI 6.2.............................................................................................12
New functionality in Altitude uCI 6.1.............................................................................................13
Examples of applications..............................................................................................24
How to set the Assisted Server offline.............................................................................................24
How to suspend all active campaigns..............................................................................................25
How to modify a value stored in the Assisted Server registry.........................................................26
How to copy the agent and team assignments to a second campaign.............................................26
How to count the number of rejected contacts................................................................................27
How to add or change a contact phone............................................................................................28
How to add or change a contact attribute........................................................................................28
How to create a new contact............................................................................................................29
Reference........................................................................................................................38
2010-03-31
UCIPresentation interface................................................................................................................38
Instances..............................................................................................................................38
setClientProcessID...............................................................................................................38
setClientProcessID32...........................................................................................................38
Version.................................................................................................................................38
PropertyPages interface...................................................................................................................39
UCIDesign...........................................................................................................................39
MiddleDriver interface....................................................................................................................39
BootWallboard.....................................................................................................................39
ClassTerminate....................................................................................................................40
UCIAgent interface..........................................................................................................................40
Code.....................................................................................................................................40
Name....................................................................................................................................40
PositionID............................................................................................................................41
Idle.......................................................................................................................................41
UCIAgents interface........................................................................................................................41
Count...................................................................................................................................41
Item......................................................................................................................................41
UCICampaign interface...................................................................................................................42
Activate................................................................................................................................42
AssignAgent........................................................................................................................42
AssignedAgents...................................................................................................................43
AssignTeam.........................................................................................................................43
AssignedTeams....................................................................................................................43
AvgIdleTime........................................................................................................................44
Close....................................................................................................................................44
Code.....................................................................................................................................44
Contacts...............................................................................................................................44
DeAssignAgent....................................................................................................................45
DeAssignTeam.....................................................................................................................45
DialRule...............................................................................................................................45
EmailAlertingInteractions...................................................................................................46
EmailAlertingInteractionsAlarmLevel................................................................................46
EmailAlertingTime..............................................................................................................46
EmailAverageWaitingTime..................................................................................................46
EmailInboundHandledInteractions......................................................................................47
EmailInteractionsInQueue...................................................................................................47
EmailInteractionInQueueAlarmLevel.................................................................................47
EmailOfferedInteractions....................................................................................................47
EmailOldestWaitingInteraction...........................................................................................47
EmailOldestWaitingInteractionAlarmLevel........................................................................48
EmailOutboundHandledInteractions...................................................................................48
EmailProfiles.......................................................................................................................48
EmailServiceLevel...............................................................................................................48
EmailServiceLevelAlarmLevel............................................................................................48
ForeseenEnd........................................................................................................................49
2010-03-31
ForeseenStart.......................................................................................................................49
MoveContactsToCampaign.................................................................................................49
Name....................................................................................................................................49
Open.....................................................................................................................................50
OutEMailGateway...............................................................................................................50
OutEMailSenderAddress ....................................................................................................50
PM_InboundRate.................................................................................................................50
PM_NuisanceForceType......................................................................................................51
PM_PacingMode.................................................................................................................51
PM_PowerDialPause...........................................................................................................52
PM_ReqNuisanceLevel.......................................................................................................52
PM_ReqNuisanceRatio.......................................................................................................52
PM_RonaTimeoutPreview...................................................................................................53
PM_WrapupTimeoutPreview..............................................................................................53
ReadyAgents .......................................................................................................................53
ReadyAgentsAlarmLevel....................................................................................................53
RescheduleContact..............................................................................................................54
ResubmitContact.................................................................................................................55
SetAgentNotReady..............................................................................................................56
SetAgentReady....................................................................................................................56
Status...................................................................................................................................57
Suspend................................................................................................................................57
TelephonyAlertingInteractions............................................................................................58
TelephonyAlertingInteractionsAlarmLevel.........................................................................58
TelephonyAlertingTime.......................................................................................................58
TelephonyAverageWaitingTime..........................................................................................58
TelephonyDialedInteractions...............................................................................................58
TelephonyInboundAbandonedInteractions..........................................................................59
TelephonyInboundHandledInteractions...............................................................................59
TelephonyInteractionsInQueue............................................................................................59
TelephonyInteractionsInQueueAlarmLevel.........................................................................59
TelephonyNuisanceInteractions...........................................................................................59
TelephonyOfferedInteractions.............................................................................................60
TelephonyOldestWaitingInteraction....................................................................................60
TelephonyOldestWaitingInteractionAlarmLevel.................................................................60
TelephonyOutboundHandledInteractions............................................................................60
TelephonyServiceLevel........................................................................................................60
TelephonyServiceLevelAlarmLevel....................................................................................61
WebCollaborationAlertingInteractions................................................................................61
WebCollaborationAlertingInteractionsAlarmLevel.............................................................61
WebCollaborationAlertingTime..........................................................................................61
WebCollaborationAverageWaitingTime..............................................................................62
WebCollaborationInboundHandledInteractions..................................................................62
WebCollaborationInteractionsInQueue...............................................................................62
WebCollaborationInteractionsInQueueAlarmLevel............................................................62
WebCollaborationOfferedInteractions.................................................................................62
2010-03-31
WebCollaborationOldestWaitingInteraction........................................................................63
WebCollaborationOldestWaitingInteractionAlarmLevel....................................................63
WebCollaborationServiceLevel...........................................................................................63
WebCollaborationServiceLevelAlarmLevel........................................................................63
UCICampaigns interface.................................................................................................................64
Count...................................................................................................................................64
Clone....................................................................................................................................64
Item......................................................................................................................................65
UCIClientAttribute interface...........................................................................................................65
Name....................................................................................................................................65
Type.....................................................................................................................................65
Value....................................................................................................................................66
UCIClientAttributes interface..........................................................................................................66
Count...................................................................................................................................66
Item......................................................................................................................................66
UCIContact interface.......................................................................................................................67
easyCode..............................................................................................................................67
CampaignShortName...........................................................................................................67
AgentUserName..................................................................................................................67
DialRuleName.....................................................................................................................68
Phones..................................................................................................................................68
ClientAttributes....................................................................................................................68
Moment................................................................................................................................68
Priority.................................................................................................................................69
Status...................................................................................................................................69
UCIContacts interface.....................................................................................................................69
CreateContact......................................................................................................................70
Get.......................................................................................................................................70
Insert....................................................................................................................................70
Update..................................................................................................................................71
Delete...................................................................................................................................71
Count...................................................................................................................................72
UCIDialRules interface...................................................................................................................72
Count...................................................................................................................................72
Item......................................................................................................................................73
UCIEmailProfile interface...............................................................................................................73
Code.....................................................................................................................................73
EMailAddress......................................................................................................................73
EmailGateway......................................................................................................................73
password..............................................................................................................................74
userName.............................................................................................................................74
UCIEmailProfiles interface.............................................................................................................74
Count...................................................................................................................................74
Delete...................................................................................................................................74
Insert....................................................................................................................................74
Item......................................................................................................................................75
2010-03-31
UCIInstance interface......................................................................................................................75
ServiceName........................................................................................................................76
Login....................................................................................................................................76
Logout..................................................................................................................................76
IsOnline...............................................................................................................................77
SetOffline.............................................................................................................................77
SetOnline.............................................................................................................................77
DateAndTime......................................................................................................................78
Agents..................................................................................................................................78
Campaigns...........................................................................................................................78
CentralRegistry....................................................................................................................78
DialRules.............................................................................................................................79
NotReadyReasons................................................................................................................79
PhoneTypes..........................................................................................................................79
Teams...................................................................................................................................79
Event ShutDownWallboard.................................................................................................80
UCIInstances interface....................................................................................................................80
Count...................................................................................................................................80
Item......................................................................................................................................80
UCINotReadyReasons interface......................................................................................................81
Count...................................................................................................................................81
Item......................................................................................................................................81
UCIPhoneTypes interface................................................................................................................82
Count...................................................................................................................................82
Item......................................................................................................................................82
UCIPhone interface.........................................................................................................................82
Name....................................................................................................................................82
Number................................................................................................................................83
UCIPhones interface........................................................................................................................83
Count...................................................................................................................................83
Item......................................................................................................................................83
UCITeam interface...........................................................................................................................84
Code.....................................................................................................................................84
Name....................................................................................................................................84
AssignAgent........................................................................................................................84
AssignedAgents...................................................................................................................85
DeAssignAgent....................................................................................................................85
UCITeams interface.........................................................................................................................85
Count...................................................................................................................................85
Item......................................................................................................................................86
RegDirectory interface.....................................................................................................................86
WorkingDirectory................................................................................................................86
ChangeDirectory..................................................................................................................86
OpenDirectory.....................................................................................................................87
MakeDirectory.....................................................................................................................87
ListDirectories.....................................................................................................................88
2010-03-31
ListKeys...............................................................................................................................88
GetValue..............................................................................................................................88
SetValue...............................................................................................................................89
2010-03-31
What is an application
A contact management application is a Windows application written in Visual Basic or other language that supports
the COM standard. Typically the application uses the uSupervisor COM API to do the following:
Applications typically use the following object classes from the uSupervisor COM API:
UCIPresentation (page 38)
Starting point of the uSupervisor interface that exports the uSupervisor entities.
UCIInstance (page 75)
Represents an Assisted Server instance. You must log in to the Assisted Server instance to access the campaigns
and the central registry. You can set the instance online and offline.
UCICampaign (page 42)
Represents a campaign at the Assisted Server. Use this object to retrieve information about a particular
campaign, such as the service level, the number of alerting calls, and so on. You can also activate and suspend
campaigns, and assign agents to work in the campaign.
UCIContacts (page 69)
Represents the contacts of a campaign at the Assisted Server. You can add and modify contacts, and you can
count how many contacts have a given state.
RegDirectory (page 86)
Represents the registry of the uCI Repository, a structure similar to the Windows registry with directories
and keys. Applications can use the registry for persistent storage, or to communicate with other applications.
2010-03-31
The application must be registered on the computer running the wallboard manager.
When the supervisor executes the operation Boot over a specific wallboard, the Windows service launches the
wallboard driver through the function BootWallboard in the public class MiddleDriver. The function typically
performs the following operations:
Wallboard drivers use the following object classes from the uSupervisor COM API:
UCIPresentation (page 38)
Starting point of the uSupervisor interface that exports the uSupervisor entities.
UCIInstance (page 75)
Represents an Assisted Server instance. You must log in to the Assisted Server instance to access the campaigns
and the central registry.
UCICampaign (page 42)
Represents a campaign at the Assisted Server. Use this object to retrieve information about a particular
campaign, such as the service level, the number of alerting calls, and so on.
RegDirectory (page 86)
Represents the registry of the uCI Repository, a structure similar to the Windows registry with directories
and keys. Property pages typically use the registry to communicate with the wallboard driver.
What kind of information you want to display in the wallboard. The information includes text and campaign
attributes.
How the information is displayed. The format depends on the characteristics of each wallboard.
How long the information is displayed.
The port number to connect the wallboard.
Property pages use the following object classes from the uSupervisor COM API:
2010-03-31
Represents the registry of the uCI Repository, a structure similar to the Windows registry with directories
and keys. Property pages typically use the registry to store wallboard configuration data.
10
2010-03-31
New functionality
This section describes the new functionality introduced in Altitude uCI releases. The section does not describe small
changes to the API that do not introduce improved functionality.
All new functionality introduced in Altitude uCI 7.1 was back-ported to Altitude uCI 6.2.
Moves contacts from the campaign to a different campaign. The two campaigns must share the same ct_
table.
RescheduleContact
Returns a collection of UCIEmailProfile objects that represents the email profiles for the mailboxes of
the campaign.
ForeseenEnd
Returns or sets the power dial pause of the campaign, in tenths of a second.
2010-03-31
11
PM_ReqNuisanceLevel
Returns or sets the redirect on no answer timeout of the campaign, in tenths of a second.
PM_WrapupTimeoutPreview
Returns or sets the wrap-up timeout of the campaign for preview dial, in tenths of a second.
The new class EmailProfile has the following properties:
Code
Returns or sets the code of the email gateway used by the email profile.
password
Returns the password of the POP3 account used by the email profile.
userName
Returns or sets the user name of the POP3 account used by the email profile.
Since Altitude uCI 7 patch 418 the uSupervisor COM API allows setting agents ready or not ready to work in
campaigns.
The class UCICampaign has the following new methods:
SetAgentReady
Sets an agent not ready to work in the campaign. If the agent is not ready the method changes the not ready
reason of the agent.
The class UCIInstance has the following new property:
NotReadyReasons
Returns a collection of not ready reasons defined on the Assisted Server instance.
Since Altitude uCI 7.1 patch 376 the class UCIAgent has the following new property:
Idle
Position of the agent in the ACD of the telephony switch. Read-write property.
12
2010-03-31
Returns a collection of UCIAgent objects that represent the agents defined on the Assisted Server instance.
Each UCIAgent object has a Code and a Name.
DialRules
Returns a collection with the names of the dial rules defined on the Assisted Server instance.
PhoneTypes
Returns a collection with the names of the phone types defined on the Assisted Server instance.
Teams
Returns a collection of UCITeam objects that represent the teams of agents defined on the Assisted Server
instance.
SetOnline
Copies the specified Assisted Server campaign to another campaign with a new name.
Compared to the old class Campaign, the class UCICampaign has new properties for emails and Web collaborations
corresponding to the telephony indicators. For example, the old class Campaign has the property AlertingCalls,
while the class UCICampaign has the properties TelephonyAlertingInteractions,
WebCollaborationAlertingInteractions, and EmailAlertingInteractions.
Compared to the old class Campaign, the class UCICampaign has the following new properties and methods:
Code
Returns a collection of UCIAgent objects that represent the campaign agents. Each UCIAgent object has a
Code and a Name.
AssignAgent
2010-03-31
13
Close
Adds a new contact to the campaign, represented as a UCIContact object. Returns the easycode of the
inserted contact.
Update
Short name of the campaign. Read-only. Contacts created or retrieved cannot change to another campaign.
AgentUserName
Collection of UCIPhone objects that represent the phones of the contact. Each UCIPhone object has a Name
and a string Number.
ClientAttributes
Collection of UCIClientAttribute objects that represent the contact attributes. Each
UCIClientAttribute object has a Name, a Type, and a string Value.
Moment
State of the contact in the campaign. The possible states are Start, Exec, Stop, Done, AbortAgentDeath,
Invalid, Rejected, Created, Lock, InAnalysis, Cached, Abort. However, you can only change the
state of the contact to Start, Stop, or Created.
The new class UCITeam has the following properties and methods:
14
2010-03-31
Code
Returns a collection of UCIAgent objects that represent the team members. Each UCIAgent object has a
Code and a Name.
AssignAgent
2010-03-31
15
Replace with the exception GENERIC_ERROR. Err.Description will typically describe the error with more
detail.
UNHANDLED_ERROR
Replace with the exception GENERIC_ERROR. Err.Description will typically describe the error with more
detail.
Rename to UCICampaign.
Campaigns
Rename to UCICampaigns.
Instance
Rename to UCIInstance.
Instances
Rename to UCIInstances.
Presentation
Rename to UCIPresentation.
Rename calls to the old Campaign methods as follows:
AlertingCalls
Rename to TelephonyAlertingInteractions.
AlertingTime
Rename to TelephonyAlertingTime.
AverageWaitingTime
Rename to TelephonyAverageWaitingTime.
CallsInQueue
Rename to TelephonyInteractionsInQueue.
16
2010-03-31
DialedCalls
Rename to TelephonyDialedInteractions.
InboundAbandonedCalls
Rename to TelephonyInboundAbandonedInteractions.
InboundHandledCalls
Rename to TelephonyInboundHandledInteractions.
NuisanceCalls
Rename to TelephonyNuisanceInteractions.
OfferedCalls
Rename to TelephonyOfferedInteractions.
OldestCallInQueue
Rename to TelephonyOldestInteractionInQueue.
OldestCallInQueueAlarmLevel
Rename to TelephonyOldestInteractionInQueueAlarmLevel.
OutboundHandledCalls
Rename to TelephonyOutboundHandledInteractions.
ServiceLevel
Rename to TelephonyServiceLevel.
ServiceLevelAlarmLevel
Rename to TelephonyServiceLevelAlarmLevel.
The UCICampaign method Close closes the campaign instead of stopping to retrieve information about the
campaign. To maintain functionality, remove calls to the method.
Open
The UCICampaign method Open opens the campaign instead of starting to retrieve information about the
campaign. The UCICampaign methods retrieve campaign information automatically. To maintain functionality,
remove calls to the method.
Attention: Remove calls to the old methods Open and Close!
2010-03-31
17
The files required to use the uSupervisor COM API are typically located at C:\Program
Files\Altitude\Altitude uCI 7.1\Altitude uSupervisor. The files are as follows:
ESupOLE.tlb
18
2010-03-31
2010-03-31
19
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
100,
101,
102,
103,
104,
105,
106,
107,
108,
110,
120,
121,
122,
130,
131,
132,
133,
140,
141,
142,
143,
144,
145,
146,
147,
148,
150
Related topics
How to copy the agent and team assignments to a second campaign (page 26)
How to add or change a contact phone (page 28)
How to add or change a contact attribute (page 28)
How to create a new contact (page 29)
20
2010-03-31
Directories in paths are separated with slashes (/). For example, wallboards/127.
Absolute paths start with a slash (/). For example, /wallboards/127.
The root directory is slash (/).
Two dots (..) go up one level from the current directory. For example, ../wallboards/128.
Related topics
How to modify a value stored in the Assisted Server registry (page 26)
Sample wallboard driver code (page 31)
RegDirectory interface (page 86)
The RegDirectory object accesses values stored on the uCI Repository. The values are organized as
keys in directories.
When the Assisted Server shuts down, the event is passed to the method ShutDownWallboard() through a
programmer-defined object that is passed during Login.
When a supervisor uses uSupervisor to shut down a wallboard, the Windows service Wallboard Connector
releases the wallboard driver. In Visual Basic, the driver must react to the release by implementing the method
ClassTerminate().
Both methods should log out from the Assisted Server instance and shut down the wallboard hardware.
An application must also define an object with the method ShutDownWallboard() and pass an instance of that
object during Login. uSupervisor will not release some resources unless the application handles the shutdown event.
Related topics
Login (page 76)
2010-03-31
21
For example, create a file SimpleWallboard.reg with the following on a single long line:
HKEY_LOCAL_MACHINE\SOFTWARE\Altitude\Altitude uCI 7.1\
Altitude uSupervisor\Wallboards\SimpleWallboard
The DLL implementing the property pages must be registered on the uSupervisor computer with the tool RegSvr32.
Register the compiled wallboard driver on the computer running the wallboard connector. For example, register the
executable SimpleWallboard.exe as follows:
SimpleWallboard /REGSERVER
22
2010-03-31
2010-03-31
23
Examples of applications
This section provides several small examples of how to use the uSupervisor COM API.
Logs the agent called me with password mypassword into the Assisted Server instance at the computer server,
port 1500.
If the instance is online, sets the instance offline.
Logs out and ignores possible errors.
Sub SetOffline()
Dim presentation As UCIPresentation
Dim assistedServer As UCIInstance
Dim assistedServerAddress
On Error GoTo HandleError
Set presentation = New UCIPresentation
Set assistedServerAddress = "server:1500"
Set assistedServer = _
presentation.Instances(assistedServerAddress)
assistedServer.Login "me", "mypassword", Nothing
If assistedServer.IsOnline Then
assistedServer.SetOffline
End If
assistedServer.Logout
HandleError:
Exit Sub
End Sub
Related topics
UCIPresentation interface (page 38)
The UCIPresentation object is the entry to the Automation server. The object checks the access of the
client to uSupervisor and allows the access to the object that provides a collection of Assisted Server
instances.
24
2010-03-31
Logs the agent called me with password mypassword into the Assisted Server instance at the computer server,
port 1500.
If the Assisted Server is online, iterates over all campaigns.
If a campaign is running, suspends the campaign.
Reacts to an unexpected shut down of the Assisted Server by ending the program.
Sub SuspendAll()
Dim presentation As UCIPresentation
Dim assistedServer As UCIInstance
Dim campaign As UCICampaign
Dim assistedServerAddress
Dim eventsHandler As Object
Set presentation = New UCIPresentation
Set assistedServerAddress = "server:1500"
Set assistedServer = _
presentation.Instances(assistedServerAddress)
Set eventsHandler = New MyEvents
assistedServer.Login "me", "mypassword", eventsHandler
If assistedServer.IsOnline Then
For Each campaign In assistedServer.Campaigns
If campaign.Status = Running Then
campaign.Suspend
End If
Next
End If
assistedServer.Logout
End Sub
Related topics
UCIPresentation interface (page 38)
The UCIPresentation object is the entry to the Automation server. The object checks the access of the
client to uSupervisor and allows the access to the object that provides a collection of Assisted Server
instances.
2010-03-31
25
Ensures that the root is really the root and not an arbitrary directory.
Tries to create the directory.
Changes to the directory, which by now should exist.
Retrieves the value of the key. If the key does not exist, uses 0.
Increments the value and sets the key to the new value, creating the key if necessary.
Related topics
What are RegDirectory paths (page 21)
RegDirectory interface (page 86)
The RegDirectory object accesses values stored on the uCI Repository. The values are organized as
keys in directories.
26
Iterates over all the assigned agents of the campaign source, and assigns the agents to the campaign destination.
Iterates over all the assigned teams of the campaign source, and assigns the teams to the campaign destination.
If an agent or team is already assigned to the campaign destination, ignore the resulting error
ENTITY_ALREADY_ASSIGNED.
2010-03-31
Related topics
UCICampaign interface (page 42)
After the UCICampaign object is open, the object returns statistical information about the campaign.
Related topics
UCIContacts interface (page 69)
The UCIContacts object allows a set of management operations to contacts. You cannot enumerate all
the contacts of a campaign.
2010-03-31
27
Related topics
UCIContact interface (page 67)
The UCIContact object accesses information about a contact in the Assisted Server.
Sub SetAttribute(campaign As
easyCode As
name
As
value
As
Dim contact As UCIContact
Dim x As Long
28
2010-03-31
UCICampaign, _
Long, _
Variant, _
String)
Related topics
UCIContact interface (page 67)
The UCIContact object accesses information about a contact in the Assisted Server.
2010-03-31
29
Related topics
UCIContact interface (page 67)
The UCIContact object accesses information about a contact in the Assisted Server.
30
2010-03-31
The Timer form displays the current service level on the form WallboardWindow, and sets the timer interval to
10 seconds.
The method ShutDownWallboard in the class Events.cls handles the shutdown by stopping the Timer and
hiding the WallboardWindow.
Related topics
BootWallboard (page 39)
Boots the wallboard.
5. Enter the code for the wallboard driver as described in the topic Sample wallboard driver code (page 31).
2010-03-31
31
Global variables
Declare the following variables in the module MainModule.bas:
Dim ESupAutomation As UCIPresentation
Dim InstanceItem As UCIInstance
Dim CampaignItem As UCICampaign
32
2010-03-31
The method ClassTerminate is called when the Windows service Wallboard Connector stops. Define the method
ClassTerminate in the class module MiddleDriver.cls, as shown below.
Private Sub ClassTerminate()
ShutDownWallboard
End
End Sub
Related topics
UCICampaign interface (page 42)
After the UCICampaign object is open, the object returns statistical information about the campaign.
2010-03-31
33
SimpleWallboard /REGSERVER
To distribute the wallboard driver, create a batch file setup-driver.bat as follows. The batch file copies the
executable to the folder Program Files, and registers the executable.
set DEST="c:\Program Files\SimpleWallboard"
mkdir %DEST%
copy SimpleWallboard.exe %DEST%
%DEST%\SimpleWallboard.exe /REGSERVER
34
2010-03-31
4. Enter the code for the property pageas described in the topic Sample property page code (page 35).
RegDirectoryItem
CampaignsList As
WallboardUser As
WallboardCode As
As RegDirectory
UCICampaigns
String
Long
2010-03-31
35
End Function
The property page displays the list of available campaigns. Define the method Form_Load of the form PropertyPage
to display the list of campaigns.
Private Sub Form_Load()
Dim CampaignItem As UCICampaign
For Each CampaignItem In CampaignList
CampaignCombobox.AddItem CampaignItem.Name
Next CampaignItem
End Sub
Related topics
UCICampaign interface (page 42)
After the UCICampaign object is open, the object returns statistical information about the campaign.
36
2010-03-31
To simplify the creation of the key at the Windows registry, create a file SimpleWallboard.reg with the following
on a single long line:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Altitude\Altitude uCI 7.1\
Altitude uSupervisor\Wallboards\SimpleWallboard]
Create a batch file setup-property.bat as follows. The batch file copies the DLL to the folder Program Files,
registers the DLL, and creates the key at the Windows registry.
set DEST="c:\Program Files\SimpleWallboard"
mkdir %DEST%
copy SimpleWallboard.dll %DEST%
RegSvr32 %DEST%\SimpleWallboard.dll
regedit SimpleWallboard.reg
2010-03-31
37
Reference
The interfaces used as entry points to the API are listed first, followed by all other interfaces in alphabetical order.
UCIPresentation interface
The UCIPresentation object is the entry to the Automation server. The object checks the access of the client to
uSupervisor and allows the access to the object that provides a collection of Assisted Server instances.
You must boot the OLE server after adding new UCIInstances (page 80) object to the local Windows registry
to access the created instances.
If you wish to use the uSupervisor COM APIs of Altitude uCI 6.2 and Altitude uCI 7.1 simultaneously, you can
also access the object as UCIPresentation71.
Related topics
How to set the Assisted Server offline (page 24)
How to suspend all active campaigns (page 25)
Sample wallboard driver code (page 31)
Instances
Returns a collection of UCIInstance objects in the local Windows registry.
Instances As UCIInstances
Related topics
How to set the Assisted Server offline (page 24)
How to suspend all active campaigns (page 25)
setClientProcessID
Informs the COM server of the process ID of the COM client. Calling this method allows the COM server to recover
gracefully if the COM client terminates abruptly.
setClientProcessID(processID As Integer)
Parameters
processID
Process ID of the COM client. For process IDs greater than 32767 use the method setClientProcessID32.
setClientProcessID32
Informs the COM server of the process ID of the COM client. Calling this method allows the COM server to recover
gracefully if the COM client terminates abruptly.
setClientProcessID32(processID As Long)
Parameters
processID
Version
Returns the version of the uSupervisor COM API.
38
2010-03-31
Version As String
PropertyPages interface
To create a property page that configures a wallboard inside uSupervisor, the developer must implement a public
class PropertyPages with the public method UCIDesign.
UCIDesign
Displays the property pages.
Public Function UCIDesign(RegistryObject As Object,
CampaignsListObject As Object,
WbUser As String,
WbCode As Long)
uSupervisor calls this function to display the property pages in the wallboard panel.
Parameters
RegistryObject
Registry on the uCI Repository of the Assisted Server instance, a RegDirectory (page 86) object.
CampaignsListObject
Collection of campaigns in the Assisted Server instance, a UCICampaigns (page 64) object.
WbUser
MiddleDriver interface
To create a wallboard driver, the developer must implement a public class MiddleDriver with the public method
BootWallboard.
BootWallboard
Boots the wallboard.
Public Function BootWallboard(
InstanceName
As String,
WallboardUser As String,
WallboardCode As Long,
ByRef ErrorMsg As Variant) As Boolean
2010-03-31
39
WallboardCode
ClassTerminate
Invoked when the Windows service releases the wallboard driver.
Private Sub ClassTerminate()
When a supervisor uses uSupervisor to shut down a wallboard, the Windows service Wallboard Connector releases
the wallboard driver. In Visual Basic, the driver must react to the release by implementing the method
ClassTerminate. Otherwise, the wallboard driver shuts down without shutting down the wallboard hardware.
The wallboard driver should also handle the event ShutDownWallboard (page 80).
ClassTerminate is a functionality specific to Visual Basic. If you are using a different language to develop the
wallboard driver, you must use the equivalent mechanism provided by your development environment.
Attention: ClassTerminate is specific to Visual Basic.
Related topics
How to handle the shutdown event (page 21)
UCIAgent interface
The UCIAgent object accesses information about each agent on the Assisted Server.
Code
Returns the easycode of the agent.
Code As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Name
Returns the short name of the agent.
Name As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
40
2010-03-31
PositionID
Position of the agent in the ACD of the telephony switch. Read-write property.
PositionID As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
You cannot change the position ID of an agent that is logged in and already has a position ID.
Idle
Returns the idle time of the agent, in tenths of a second.
Idle As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
UCIAgents interface
The UCIAgents object is a collection of UCIAgent objects that implements all standard operations to use the simple
Visual Basic iterators, such as For Each... In... Next.
Count
Returns the number of UCIAgent objects in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Item
Returns a specific UCIAgent object.
Item(index As Variant) As UCIAgent
Parameters
index
The user name of a UCIAgent object, or a number between 1 and the number of UCIAgent objects in the
collection.
2010-03-31
41
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCICampaign interface
After the UCICampaign object is open, the object returns statistical information about the campaign.
Related topics
How to copy the agent and team assignments to a second campaign (page 26)
Sample wallboard driver code (page 31)
Sample property page code (page 35)
Activate
Activates a suspended campaign at the Assisted Server.
Activate()
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
The campaign is closed. You must open the campaign before activation.
AssignAgent
Assigns an agent to work on this campaign.
AssignAgent(agentName As String) As UCIAgents
Returns a collection (page 41) of UCIAgents (page 40) objects with the agents assigned to the campaign.
Parameters
agentName
42
2010-03-31
INVALID_ENTITY = 100
The specified agent does not exist or cannot be assigned to the campaign.
ENTITY_ALREADY_ASSIGNED = 101
AssignedAgents
Returns a collection of UCIAgents objects representing the agents assigned to the campaign.
AssignedAgents As UCIAgents
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
AssignTeam
Assigns a team to work on this campaign.
AssignTeam(teamName As String) As UCITeams
Returns a collection (page 85) of UCITeam (page 84) objects with the teams assigned to the campaign.
Parameters
teamName
The specified team does not exist or cannot be assigned to the campaign.
ENTITY_ALREADY_ASSIGNED = 101
AssignedTeams
Returns a collection of UCITeam objects representing the teams assigned to the campaign.
AssignedTeams As UCITeams
2010-03-31
43
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
AvgIdleTime
Returns the average idle time of the campaign for the immediate period, in tenths of a second.
AvgIdleTime As Long
Close
Closes a suspended campaign at the Assisted Server.
Close()
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
Code
Displays the internal code of the campaign.
Code As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Contacts
Returns the list of contacts of the campaign.
Contacts As UCIContacts
44
2010-03-31
Related topics
How to count the number of rejected contacts (page 27)
DeAssignAgent
Removes the agent from working on this campaign.
DeAssignAgent(agentName As String) As UCIAgents
Returns a collection (page 41) of UCIAgent (page 40) objects with the agents assigned to the campaign. If any
other type of object is passed, the method throws an exception that describes the error.
Parameters
agentName
DeAssignTeam
Removes the team from working on this campaign.
DeAssignTeam(teamName As String) As UCITeams
Returns a collection (page 85) of UCITeam (page 84) objects with the teams assigned to the campaign. If any
other type of object is passed, the method throws an exception that describes the error.
Parameters
teamName
DialRule
Returns or sets the dial rule of the campaign. Read-write property.
DialRule As Long
2010-03-31
45
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailAlertingInteractions
Returns the number of emails alerting at agent workstations.
EmailAlertingInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailAlertingInteractionsAlarmLevel
Returns the alarm level of emails alerting at agent workstations.
EmailAlertingInteractionsAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailAlertingTime
Returns the average alerting time of emails in the last immediate period, in tenths of a second.
EmailAlertingTime As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailAverageWaitingTime
Returns the average waiting time of emails in the last immediate period, in tenths of a second.
EmailAverageWaitingTime As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
46
2010-03-31
EmailInboundHandledInteractions
Returns the number of handled inbound emails in the last immediate period.
EmailInboundHandledInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailInteractionsInQueue
Returns the number of emails waiting in the campaign queue.
EmailInteractionsInQueue As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailInteractionInQueueAlarmLevel
Returns the alarm level for the number of emails in the campaign queue.
EmailInteractionInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailOfferedInteractions
Returns the number of emails offered to the campaign in the last immediate period.
EmailOfferedInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailOldestWaitingInteraction
Returns the waiting time of the oldest email in the campaign queue, in tenths of a second.
EmailOldestInteractionInQueue As Long
Errors
The property may throw the following errors:
2010-03-31
47
GENERIC_ERROR = 108
EmailOldestWaitingInteractionAlarmLevel
Returns the alarm level for the oldest email in the campaign queue.
EmailOldestInteractionInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailOutboundHandledInteractions
Returns the number of handled outbound emails in the last immediate period.
EmailOutboundHandledInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailProfiles
Returns a collection of UCIEmailProfile objects that represents the email profiles for the mailboxes of the
campaign.
EmailProfiles As UCIEmailProfiles
Errors
The property may throw the following errors:
INSTANCE_NOT_LOGGED_IN = 110
EmailServiceLevel
Returns the service level of inbound emails in the last immediate period.
EmailServiceLevel As Long
EmailServiceLevelAlarmLevel
Returns the alarm level for the service level of emails.
EmailServiceLevelAlarmLevel As Long
48
2010-03-31
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ForeseenEnd
Returns or sets the foreseen end date of the campaign. Read-write property.
ForeseenEnd As Variant
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ForeseenStart
Returns or sets the foreseen start date of the campaign. Read-write property.
ForeseenStart As Variant
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
MoveContactsToCampaign
Moves contacts from this campaign to a different campaign. Internal function.
MoveContactsToCampaign(contactFilter
As String,
destinationCampaignId
As Long,
destinationForceRefresh As Long) As Long
Attention: This function is internal to Altitude Software. Do not use this function unless specifically directed
by Altitude Software.
Name
Returns the short name of the campaign.
Name As String
2010-03-31
49
Open
Opens a closed campaign at the Assisted Server.
Open()
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
The campaign is ended. The campaign will probably not be used anymore.
OutEMailGateway
Returns or sets the outbound email gateway of the campaign. Read-write property.
OutEMailGateway As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
OutEMailSenderAddress
Returns or sets the sender email address of the campaign. Read-write property.
OutEMailSenderAddress As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
PM_InboundRate
Returns or sets the estimated inbound rate of the campaign. Read-write property.
The campaign must be a blended campaign in predictive dialing.
PM_InboundRate As Integer
Errors
The property may throw the following errors:
50
2010-03-31
GENERIC_ERROR = 108
PM_NuisanceForceType
Returns or sets the nuisance enforcement policy of the campaign. Read-write property.
The pacing mode of the campaign must be predictive dial.
PM_NuisanceForceType As Long
The nuisance enforcement policy is an enumerated type with the following possibilities.
NO_FORCE_NUISANCE = 1
Lifetime
FORCE_IMMEDIATELY_NUISANCE = 2
Daily
FORCE_AFTER_N_MIN_NUISANCE = 3
PM_PacingMode
Returns or sets the pacing mode of the campaign. Read-write property.
PM_PacingMode As Integer
Power dial
PACING_EXTENDED_KEY = 1
Predictive automatic
PACING_PREVIEW = 4
Preview dial
Errors
The property may throw the following errors:
2010-03-31
51
GENERIC_ERROR = 108
PM_PowerDialPause
Returns or sets the power dial pause of the campaign, in tenths of a second. Read-write property.
The pacing mode of the campaign must be power dial.
PM_PowerDialPause As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
PM_ReqNuisanceLevel
Returns or sets the requested service level of the campaign. Read-write property.
The campaign must be a blended campaign in predictive dialing.
PM_ReqNuisanceLevel As Double
PM_ReqNuisanceRatio
Returns or sets the requested nuisance ratio of the campaign. Read-write property.
The pacing mode of the campaign must be predictive dial.
PM_ReqNuisanceRatio As Double
52
2010-03-31
GENERIC_ERROR = 108
PM_RonaTimeoutPreview
Returns or sets the redirect on no answer (RONA) timeout of the preview dial campaign, in tenths of a second.
Read-write property.
The pacing mode of the campaign must be preview dial. The redirect on no answer timeout must be equal or greater
than 30 seconds.
PM_RonaTimeoutPreview As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
PM_WrapupTimeoutPreview
Returns or sets the wrap-up time of the campaign, in tenths of a second. Read-write property.
The pacing mode of the campaign must be preview dial.
PM_WrapupTimeoutPreview As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ReadyAgents
Returns the number of agents ready in the campaign.
ReadyAgents As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ReadyAgentsAlarmLevel
Returns the alarm level of the agents ready in the campaign.
2010-03-31
53
ReadyAgentsAlarmLevel As Long
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
RescheduleContact
Reschedules a failed outbound contact.
The campaign must be open to reschedule a failed outbound contact.
RescheduleContact(contactId As Long, reasonId As enumFailReason)
Parameters
contactId
54
2010-03-31
CONTACT_INVALID_FAIL_REASON = 139
The contact is in the states Aborted, Recovering from executing, In analysis, Locked, or Recovering from
locked.
CONTACT_UNK_IN_CAMPAIGN = 161
The specified contact does not exist or does not belong to the campaign.
INVALID_RESCHEDULE_REASON = 162
ResubmitContact
Resubmits a contact of the campaign.
ResubmitContact(contactId
newMoment
newMomentAction
newAgent
newAgentAction
newDialRule
newDialRuleAction
newPriority
newPriorityAction
isSpecialFlag
newIsPecialFlagAction
As
As
As
As
As
As
As
As
As
As
As
Long,
Variant,
Integer,
Long,
Integer,
Long,
Integer,
Long,
Integer,
Long,
Integer) As Long
Internal code of the new agent to handle the call to the contact.
newDialRule
New value of the field is special of the contact. The possible values are 1 for true and 0 for false.
The parameters with the suffix Action are enumerate types with the following possibilities to update the
corresponding contact fields.
RSBTA_keep = 0
Keep the current value for the field, regardless of the parameter value.
RSBTA_change = 1
2010-03-31
55
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
The new agent to handle the call of the contact is not assigned to the campaign.
CONTACT_INVALID_DIAL_RULE = 145
The specified contact does not exist or does not belong to the campaign.
SetAgentNotReady
Sets an agent not ready to work in this campaign. If the agent is not ready the method changes the not ready reason
of the agent.
SetAgentNotReady(agentId As Long, notReadyReason As String)
Parameters
agentId
SetAgentReady
Sets an agent ready to work in this campaign.
SetAgentReady(agentId As Long)
Parameters
agentId
56
2010-03-31
AGENT_FEATURE_FAILED = 151
Status
Returns the state of the campaign at the Assisted Server.
Status As enumCampaignStatus
The campaign is not prepared to run. Open (page 50) the campaign to change the state to Open.
Running = 0
The campaign is active. Suspend (page 57) the campaign to change the state to Suspended.
Suspended = 1
The campaign suspended. Activate (page 42) the campaign to change the state to Running, or Close (page
44) the campaign to change the state to Closed.
Terminated = 3
Suspend
Suspends an active campaign at the Assisted Server.
Suspend()
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
The campaign is terminated. The campaign will probably not be used anymore.
2010-03-31
57
Related topics
How to suspend all active campaigns (page 25)
TelephonyAlertingInteractions
Returns the number of calls alerting at agent workstations.
TelephonyAlertingInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyAlertingInteractionsAlarmLevel
Returns the alarm level of calls alerting at agent workstations.
TelephonyAlertingInteractionsAlarmLevel As Long
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyAlertingTime
Returns the average alerting time of calls alerting at agent workstations.
TelephonyAlertingTime As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyAverageWaitingTime
Returns the average waiting time of calls in the last immediate period, in tenths of a second.
TelephonyAverageWaitingTime As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyDialedInteractions
Returns the number of dialed calls in the last immediate period.
TelephonyDialedInteractions As Long
Errors
The property may throw the following errors:
58
2010-03-31
GENERIC_ERROR = 108
TelephonyInboundAbandonedInteractions
Returns the number of abandoned calls in the last immediate period.
TelephonyInboundAbandonedInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyInboundHandledInteractions
Returns the number of handled inbound calls in the last immediate period.
TelephonyInboundHandledInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyInteractionsInQueue
Returns the number of calls waiting in the campaign queue.
TelephonyInteractionsInQueue As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyInteractionsInQueueAlarmLevel
Returns the alarm level for the number of calls in the campaign queue.
TelephonyInteractionsInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyNuisanceInteractions
Returns the number of predictive calls that resulted in nuisance calls in the last immediate period.
TelephonyNuisanceInteractions As Long
2010-03-31
59
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyOfferedInteractions
Returns the number of calls offered to the campaign in the last immediate period.
TelephonyOfferedInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyOldestWaitingInteraction
Returns the waiting time of the oldest call in the campaign queue, in tenths of a second.
TelephonyOldestInteractionInQueue As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyOldestWaitingInteractionAlarmLevel
Returns the alarm level for the oldest call in the campaign queue.
TelephonyOldestInteractionInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyOutboundHandledInteractions
Returns the number of handled outbound calls in the immediate period.
TelephonyOutboundHandledInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
TelephonyServiceLevel
Returns the service level of inbound calls in the last immediate period.
TelephonyServiceLevel As Long
60
2010-03-31
TelephonyServiceLevelAlarmLevel
Returns the alarm level for the service level of calls.
TelephonyServiceLevelAlarmLevel As Long
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationAlertingInteractions
Returns the number of Web collaborations alerting at agent workstations.
WebCollaborationAlertingInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationAlertingInteractionsAlarmLevel
Returns the alarm level of Web collaborations alerting at agent workstations.
WebCollaborationAlertingInteractionsAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationAlertingTime
Returns the average alerting time of a Web collaboration in the last immediate period, in tenths of a second.
WebCollaborationAlertingTime As Long
Errors
The property may throw the following errors:
2010-03-31
61
GENERIC_ERROR = 108
WebCollaborationAverageWaitingTime
Returns the average waiting time of a Web collaboration in the last immediate period, in tenths of a second.
WebCollaborationAverageWaitingTime As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationInboundHandledInteractions
Returns the number of handled Web collaborations in the last immediate period.
WebCollaborationInboundHandledInteractions As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationInteractionsInQueue
Returns the number of Web collaborations waiting in the campaign queue.
WebCollaborationInteractionsInQueue As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationInteractionsInQueueAlarmLevel
Returns the alarm level for the number of Web collaborations in the campaign queue.
WebCollaborationInteractionsInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationOfferedInteractions
Returns the number of Web collaborations offered to the campaign in the last immediate period.
WebCollaborationOfferedInteractions As Long
62
2010-03-31
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationOldestWaitingInteraction
Returns the waiting time of the oldest Web collaboration in the campaign queue.
WebCollaborationOldestInteractionInQueue As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationOldestWaitingInteractionAlarmLevel
Returns the alarm level for the oldest Web collaboration in the campaign queue.
WebCollaborationOldestInteractionInQueueAlarmLevel As Integer
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
WebCollaborationServiceLevel
Returns the service level of Web collaborations in the last immediate period.
WebCollaborationServiceLevel As Long
WebCollaborationServiceLevelAlarmLevel
Returns the alarm level for the service level of Web collaborations.
WebCollaborationServiceLevelAlarmLevel As Long
The alarm level is a number between 0 and 5. 0 stands for no alarm, and 5 is the highest alarm level.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
2010-03-31
63
UCICampaigns interface
The UCICampaigns object is a collection of Assisted Server campaigns. Use the collection with simple Visual
Basic iterators, such as For Each... In... Next.
Related topics
Sample wallboard driver code (page 31)
Sample property page code (page 35)
Count
Returns the number of UCICampaign objects in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Clone
Copies the specified Assisted Server campaign to another campaign with a new name.
Clone(originalCampaignName As String,
cloneName
As String)
The new campaign does not copy the following from the original campaign:
Assigned agents
Assigned teams
Campaign record values
Campaign telephony gateways
Contacts
Email addresses
Logging information
Permissions.
Parameters
originalCampaignName
64
2010-03-31
Item
Returns a specific UCICampaign object.
Item(index As Variant) As UCICampaign
Parameters
index
The short name of a UCICampaign object, or a number between 1 and the number of UCICampaign objects
in the collection.
Errors
The method may throw the following errors:
INVALID_ENTITY = 100
UCIClientAttribute interface
The UCIClientAttribute object accesses information about each contact attribute.
Name
Returns the name of the contact attribute.
Name As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Type
Returns or sets the type of the contact attribute. Read-write property.
Type As enumClientAttributeType
2010-03-31
65
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Value
Returns or sets the value of the contact attribute. Read-write property.
Value As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
UCIClientAttributes interface
The UCIClientAttributes object is a collection of contact attributes stored on the contact table of a campaign.
Use the collection with simple Visual Basic iterators, such as For Each... In... Next.
Count
Returns the number of UCIClientAttribute objects in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Item
Returns a specific UCIClientAttribute object.
Item(index As Variant) As UCIClientAttribute
Parameters
index
66
2010-03-31
GENERIC_ERROR = 108
UCIContact interface
The UCIContact object accesses information about a contact in the Assisted Server.
Related topics
How to add or change a contact phone (page 28)
How to add or change a contact attribute (page 28)
How to create a new contact (page 29)
easyCode
Returns the easycode of the contact.
easyCode As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
CampaignShortName
Returns the short name of the campaign to which this contact is assigned.
CampaignShortName As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
AgentUserName
Returns or sets the user name of the agent responsible for calling the contact. Read-write property.
AgentUserName As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
2010-03-31
67
CONTACT_INVALID_AGENT = 144
The specified agent does not exist or cannot be assigned to the contact.
DialRuleName
Returns or sets the name of the dial rule assigned to the contact. Read-write property.
DialRuleName As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
The specified dial rule does not exist or cannot be assigned to the contact.
Phones
Returns the collection of UCIPhone objects associated to the contact.
Phones As UCIPhones
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ClientAttributes
Returns the collection of UCIClientAttribute objects assigned to the contact.
ClientAttributes As UCIClientAttributes
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Moment
Returns or sets the date and time when the contact should be called. Read-write property.
Moment As Variant
Errors
The property may throw the following errors:
68
2010-03-31
GENERIC_ERROR = 108
Priority
Returns or sets the priority assigned to this contact. Read-write property.
Priority As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Status
Returns or sets the status of the contact. Read-write property.
Status As Long
However, you can only set the contact to the states Start, Stop, and Created.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
UCIContacts interface
The UCIContacts object allows a set of management operations to contacts. You cannot enumerate all the contacts
of a campaign.
Related topics
How to count the number of rejected contacts (page 27)
How to add or change a contact phone (page 28)
How to add or change a contact attribute (page 28)
How to create a new contact (page 29)
2010-03-31
69
CreateContact
Creates and returns a new UCIContact object.
CreateContact() As UCIContact
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
Get
Retrieves a specific contact from the Assisted Server as a UCIContact object.
Get(easyCode As Long) As UCIContact
Parameters
easyCode
The specified contact does not exist in the Assisted Server database.
Related topics
How to add or change a contact phone (page 28)
How to add or change a contact attribute (page 28)
Insert
Adds a new contact to the campaign.
Insert(contact As UCIContact) As Long
Parameters
contact
70
2010-03-31
INVALID_ENTITY = 100
The specified contact cannot be inserted. The contact was not a new contact created by the method
CreateContact (page 70).
Related topics
How to add or change a contact attribute (page 28)
Update
Updates the contact on the Assisted Server and returns the easyCode.
Update(contact As UCIContact) As Long
Parameters
contact
The UCIContact (page 67) object, containing the new changes, to update.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
The specified contact does not exist in the Assisted Server database.
CONTACT_NOT_POSSIBLE_TO_UPDATE = 147
Delete
Deletes a contact on the Assisted Server and returns the easyCode.
Delete(easyCode As Long) As Long
Parameters
easyCode
The specified contact does not exist in the Assisted Server database.
2010-03-31
71
CONTACT_INVALID_STATUS = 149
Count
Counts the number of campaign contacts with the specified state.
Count(Status As enumContactStatus) As Long
Parameters
Status
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCIDialRules interface
The UCIDialRules object is a collection of dial rule names on the Assisted Server. Use the collection with simple
Visual Basic iterators, such as For Each... In... Next.
Count
Returns the number of dial rule names in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
72
2010-03-31
Item
Returns the name of a specific dial rule.
Item(index As Variant) As String
Parameters
index
A number between 1 and the number of dial rule names in the collection.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCIEmailProfile interface
The UCIEmailProfile object accesses information about each email profile.
Code
Returns the code of the email profile.
Code As Long
EMailAddress
Returns or sets the email address of the email profile. Read-write property.
EMailAddress As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
EmailGateway
Returns or sets the code of the email gateway used by the email profile. Read-write property.
EmailGateway As Long
Errors
The property may throw the following errors:
2010-03-31
73
GENERIC_ERROR = 108
password
Sets the password of the POP3 account used by the email profile.
password As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
userName
Returns or sets the user name of the POP3 account used by the email profile. Read-write property.
userName As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
UCIEmailProfiles interface
The UCIEmailProfiles object is a collection of email profiles for the mailboxes of a campaign. Use the collection
with simple Visual Basic iterators, such as For Each... In... Next.
Count
Returns the number of UCIEmailProfile objects in the collection.
Count As Long
Delete
Deletes an email profile on the Assisted Server.
Delete(Code As Long) As Long
Parameters
Code
Insert
Adds a new email profile to the campaign. Returns the code of the inserted email profile.
Insert(EMailAddress
password
userName
EmailGateway
74
2010-03-31
As
As
As
As
String,
String,
String,
Long) As Long
Parameters
EMailAddress
Item
Returns a specific UCIEmailProfile object.
Item(index As Variant) As UCIEmailProfile
Parameters
index
The code of a UCIEmailProfile object, or a number between 1 and the number of UCIEmailProfile
objects in the collection.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCIInstance interface
Each UCIInstance object represents one Assisted Server instance. After logging in, the object provides the collection
of campaigns, and a set of values organized as keys and server directories.
Related topics
How to set the Assisted Server offline (page 24)
2010-03-31
75
ServiceName
Returns the local name of the UCIInstance object.
ServiceName As String
Login
Logs in the Assisted Server instance.
Login(userName As String,
password As String,
sink
As Object)
You must log in to retrieve information from the Assisted Server instance.
Parameters
userName
Logout
Logs out from the Assisted server instance.
Logout()
After you log out, you can only log in or retrieve the local name of the UCIInstance object.
76
2010-03-31
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
IsOnline
Returns true if the Assisted Server instance is online.
IsOnline As Boolean
SetOffline
Sets the Assisted Server instance offline.
SetOffline()
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
SetOnline
Sets the Assisted Server instance online.
SetOnline()
2010-03-31
77
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
DateAndTime
Returns the date and time of the Assisted Server instance with a precision of a second.
DateAndTime As Variant
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Agents
Returns the collection of agents defined on the Assisted Server instance.
Agents As UCIAgents
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Campaigns
Returns the collection of campaigns of the Assisted Server instance.
Campaigns As UCICampaigns
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
CentralRegistry
Returns the central RegDirectory object.
CentralRegistry As RegDirectory
78
2010-03-31
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
DialRules
Returns the collection of dial rules of the Assisted Server instance.
DialRules As UCIDialRules
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
NotReadyReasons
Returns the collection of not ready reasons defined on the Assisted Server instance.
NotReadyReasons As UCINotReadyReasons
Errors
The property may throw the following errors:
INSTANCE_NOT_LOGGED_IN = 110
PhoneTypes
Returns the collection of phone types of the Assisted Server instance.
PhoneTypes As UCIPhoneTypes
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Teams
Returns the collection of teams defined on the Assisted Server instance.
Teams As UCITeams
2010-03-31
79
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Event ShutDownWallboard
The UCIInstance object sends this event when the supervisor shuts down the wallboard.
Event ShutDownWallboard()
To receive the event, define a class with the method ShutDownWallboard that closes all wallboard activities. Pass
an object of the class to the method Login (page 76). The wallboard driver should also implement the method
ClassTerminate (page 40).
Related topics
Sample wallboard driver code (page 31)
Sample wallboard driver (page 31)
How to handle the shutdown event (page 21)
UCIInstances interface
The UCIInstances object is a representation of Assisted Server instance names in the visual interface of uSupervisor.
All UCIInstances objects displayed in uSupervisor belong to this object. You can add more UCIInstances
objects to this collection using uSupervisor. The UCIInstances object is a collection of Assisted Server instances
that implements all standard operations to use the simple Visual Basic iterators, such as For Each... In... Next.
Related topics
Sample wallboard driver code (page 31)
Count
Returns the number of UCIInstance objects in the collection.
Count As Long
Errors
The property may throw the following error:
GENERIC_ERROR = 108
Item
Returns or creates a specific UCIInstance object.
Item(index As Variant) As UCIInstance
Parameters
index
A number or a string.
The method has different behaviors depending on the type and syntax of the parameter:
80
2010-03-31
Numeric
A number between 1 and the number of UCIInstance (page 75) objects in the collection. Returns the
corresponding member of the UCIInstances object collection, or empty if the number is out of range.
Assisted Server instance
The address of an Assisted Server instance, using the syntax host:port. The host is the IP address or the
TCP/IP name. The port is the service name or the numeric port number. In a firewall environment, the
address of the client proxy replaces the address of the Assisted Server instance. The address of the client
proxy uses the syntax @host:proxy_instance. Returns a new UCIInstance (page 75) object that tries
to connect to the specified port and address.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCINotReadyReasons interface
The UCINotReadyReasons object is a collection of the not ready reasons on the Assisted Server. Use the collection
with simple Visual Basic iterators, such as For Each...In...Next.
Count
Returns the number of not ready reasons in the collection.
Count As Long
Item
Returns the short name of a specific not ready reason.
Item(index As Variant) As String
Parameters
index
A number between 1 and the number of not ready reasons in the collection.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
2010-03-31
81
LARGE_ENTITY_INDEX = 105
UCIPhoneTypes interface
The UCIPhoneTypes object is a collection of phone type names on the Assisted Server. Use the collection with
simple Visual Basic iterators, such as For Each...In...Next.
Count
Returns the number of phone names in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Item
Returns the name of a specific phone type.
Item(index As Variant) As String
Parameters
index
A number between 1 and the number of phone type names in the collection.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
UCIPhone interface
The UCIPhone object accesses information about each contact phone.
Name
Returns or sets the phone type, such as Home or Work. Read-write property.
Name As String
Setting the phone name (page 82) to an empty string ("") deletes the phone.
82
2010-03-31
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Number
Returns or sets the phone number assigned to the UCIPhone object. Read-write property.
Number As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
UCIPhones interface
The UCIPhones object is a collection of contact phones. Use the collection with simple Visual Basic iterators, such
as For Each... In... Next.
Count
Returns the number of UCIPhone objects in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Item
Returns a specific UCIPhone object.
Item(index As Variant) As UCIPhone
Parameters
index
The phone type name of a UCIPhone object, or a number between 1 and the number of UCIPhone objects
in the collection.
Errors
The method may throw the following errors:
GENERIC_ERROR = 108
2010-03-31
83
INDEX_INVALID_TYPE = 103
UCITeam interface
The UCITeam object accesses information about each team.
Code
Returns the code of the team.
Code As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
Name
Returns the user name of the team.
Name As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
AssignAgent
Assigns an agent with the given name to this team.
AssignAgent(agentName As String) As UCIAgents
Returns a collection (page 41) of UCIAgent (page 40) objects containing the resulting agents assigned to the
team.
Parameters
agentName
The specified agent does not exist or cannot be assigned to the campaign.
ENTITY_ALREADY_ASSIGNED = 101
84
2010-03-31
GENERIC_ERROR = 108
AssignedAgents
Returns a collection containing the UCIAgent assigned to this UCITeam object.
AssignedAgents As UCIAgents
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
DeAssignAgent
Removes the assigned agent with the given name from this team.
DeAssignAgent(agentName As String) As UCIAgents
Returns a collection (page 41) of UCIAgent (page 40) object containing the resulting collection of the agents
assigned to the team. If any other type of object is passed, the method throws an exception.
Parameters
agentName
UCITeams interface
The UCITeams object is a collection of teams. Use the collection with simple Visual Basic iterators, such as For
Each... In... Next.
Count
Returns the number of UCITeam objects in the collection.
Count As Long
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
2010-03-31
85
Item
Returns a specific UCITeam object.
Item(index As Variant) As UCITeam
Parameters
index
The user name of a UCITeam object, or a number between 1 and the number of UCITeam objects in the
collection.
Errors
The method may throw the following errors:
INVALID_ENTITY = 100
RegDirectory interface
The RegDirectory object accesses values stored on the uCI Repository. The values are organized as keys in
directories.
Related topics
How to modify a value stored in the Assisted Server registry (page 26)
Sample wallboard driver code (page 31)
What are RegDirectory paths (page 21)
Sample property page code (page 35)
WorkingDirectory
Returns the path of the working directory.
WorkingDirectory As String
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
ChangeDirectory
Changes the server directory associated to the directory object.
ChangeDirectory(pathName As String)
86
2010-03-31
Parameters
pathName
OpenDirectory
Creates a directory object associated to a server directory.
OpenDirectory(pathName As String) As RegDirectory
Parameters
pathName
MakeDirectory
Creates a server directory.
MakeDirectory(dirName As String)
Parameters
dirName
2010-03-31
87
Related topics
How to modify a value stored in the Assisted Server registry (page 26)
Sample property page code (page 35)
ListDirectories
Returns the subdirectories of the directory object.
ListDirectories() As String()
ListKeys
Returns the keys in a directory object.
ListKeys() As String()
GetValue
Returns the value associated to a key, or a default value.
GetValue(key As String,
defaultValue As String) As String
Parameters
key
Value to return if the key does not exist in the server directory.
Errors
The property may throw the following errors:
GENERIC_ERROR = 108
88
2010-03-31
Related topics
How to modify a value stored in the Assisted Server registry (page 26)
Sample wallboard driver code (page 31)
SetValue
Associates a value to a key.
SetValue(key As String, value As String)
Parameters
key
2010-03-31
89
Index
A
Abort 69, 72
AbortAgentDeath 69, 72
Activate 42
Agent 40, 41
AssignAgent 26, 42, 84
AssignedAgents 26, 43, 85
DeAssignAgent 45, 85
Instance 78
SetAgentNotReady 56
SetAgentReady 56
AGENT_ALREADY_LOGGED_IN 20, 76
AGENT_ALREADY_LOGGED_OUT 20, 76
AGENT_FEATURE_FAILED 56
AgentUserName 67
AlertingInteractions 46, 58, 61
AlarmLevel 46, 58, 61
AlertingTime 46, 58, 61
AssignAgent 26, 42, 84
AssignedAgents 26, 43, 85
AssignedTeams 26, 43
AssignTeam 26, 43
AverageWaitingTime 46, 58, 62
AvgIdleTime 44
Contact (continued)
ResubmitContact 55
Update 28, 70
CONTACT_ALREADY_EXISTS_IN_DATABASE 20
CONTACT_CREATION_ERROR 20, 70
CONTACT_DOESNT_EXIST_IN_DATABASE 20, 70, 71
CONTACT_INVALID_AGENT 20, 67
CONTACT_INVALID_DIAL_RULE 20, 68
CONTACT_INVALID_EASY_CODE 20
CONTACT_INVALID_MOMENT 20, 68
CONTACT_INVALID_STATUS 71
CONTACT_NOT_POSSIBLE_TO_UPDATE 20, 71
CONTACT_PHONE_MARKED_FOR_DELETE 20
ContactStatus 69, 72
Count
Agent 41
Campaign 64
ClientAttribute 66
Contact 27, 72
DialRule 72
EmailProfile 74
Instance 80
NotReadyReasons 81
Phone 83
PhoneType 82
Team 85
CreateContact 29, 70
Created 69, 72
BootWallboard 39
D
C
Cached 69, 72
Campaign 25, 42, 64
Instance 78
CAMPAIGN_IS_CLOSED 20, 42, 44, 57
CAMPAIGN_IS_OPENED 20, 42, 44, 50
CAMPAIGN_IS_SUSPENDED 20, 50, 57
CAMPAIGN_IS_TERMINATED 20, 50, 57
CampaignShortName 67
CampaignStatus 57
CEKResubmitAction 55
CentralRegistry 78
ChangeDirectory 26, 86
CharType 65
ClassTerminate 21, 40
CLIENT_ATTRIBUTE_INVALID_VALUE 20
ClientAttribute 28, 29, 65, 66, 68
ClientAttributeType 65
Clone 64
Close 44
Closed 57
Code 40, 44, 73, 84
Contact 67, 69
Campaign 44
Count 27, 72
CreateContact 29, 70
RescheduleContact 54
90
2010-03-31
DateAndTime 78
DateTimeType 65
DateType 65
DeAssignAgent 45, 85
DeAssignTeam 45
Delete 71
EmailProfile 74
Design 19, 39
DialedInteractions 58
DialRule 45, 72, 79
DialRuleName 68
Done 69, 72
E
easyCode 67
EMailAddress 73
EmailGateway 73
EmailProfile 73
EmailProfiles 48, 74
ENTITY_ALREADY_ASSIGNED 20, 26, 42, 43, 84
ENTITY_NOT_ASSIGNED 20, 45, 85
enumCampaignStatus 57
enumClientAttributeType 65
enumContactStatus 69, 72
enumErrors 20
enumFailReason 54
Exec 69, 72
ForeseenEnd 49
ForeseenStart 49
NotReadyReasons 81
Instance 79
NUISANCE_FORCE_TYPE 51
NuisanceInteractions 59
Number 28, 29, 83
NumberType 65
GENERIC_ERROR 20
Get 28, 70
GetValue 26, 88
I
Idle 41
InAnalisys 69, 72
InboundAbandonedInteractions 59
InboundHandledInteractions 47, 59, 62
INDEX_INVALID_TYPE 20
Insert 29, 70
EmailProfile 74
Instance 24, 25, 38, 75, 80
INSTANCE_NOT_LOGGED_IN 20
IntegerType 65
InteractionsInQueue 47, 59, 62
AlarmLevel 47, 59, 62
Invalid 69, 72
INVALID_AGENT_STATE 20, 41
INVALID_ENTITY 20
INVALID_INDEX_VALUE 20, 28
IsOnline 24, 25, 77
Item
Agent 41
Campaign 65
ClientAttribute 66
DialRule 73
EmailProfile 75
Instance 80
NotReadyReasons 81
Phone 83
PhoneType 82
Team 86
L
LARGE_ENTITY_INDEX 20
ListDirectories 88
ListKeys 88
Lock 69
Login 24, 25, 76
Logout 24, 25, 76
M
MakeDirectory 26, 87
MiddleDriver 19, 31, 39
Moment 68
N
Name 40, 49, 65, 82, 84
P
PACING_MODE 51
password 74
Phone 28, 29, 68, 82, 83
PhoneType 79, 82
PM_InboundRate 50
PM_NuisanceForceType 51
PM_PacingMode 51
PM_PowerDialPause 52
PM_ReqNuisanceLevel 52
PM_ReqNuisanceRatio 52
PM_RonaTimeoutPreview 53
PM_WrapupTimeoutPreview 53
PositionID 41
Presentation 24, 25, 38
Priority 69
PropertyPages 19, 39
R
ReadyAgents 53
AlarmLevel 54
RegDirectory 21, 26, 78, 86, 87
Rejected 69, 72
RescheduleContact 54
ResubmitContact 55
Running 25, 57
S
SERVER_ERROR 16
ServiceLevel 48, 60, 63
AlarmLevel 48, 61, 63
ServiceName 76
SetAgentNotReady 56
SetAgentReady 56
setClientProcessID 38
setClientProcessID32 38
SetOffline 24, 77
SetOnline 77
SetValue 26, 89
ShortType 65
ShutDownWallboard 21, 25, 80
2010-03-31
91
92
Start 69, 72
Status 25, 57, 69
Stop 69, 72
Suspend 25, 57
Suspended 57
2010-03-31
UNHANDLED_ERROR 16
Update 28, 71
userName 74
W
WorkingDirectory 86