- Contents
Interaction Scripter Developer's Guide
CallObject.listen Method
Definition
This method allows a CIC user to listen in on a call. This method supports two optional parameters that identify the name of the queue and the queue type. If this method is called without parameters, the logged-in user's queue is used by default. To listen to a different queue, you must specify QueueName and QueueType parameters.
Syntax
CallObject.listen(QueueName, QueueType);
Prototype
CallObject.listen(
[in] string QueueName,
[in] int QueueType
)
Input Parameters
- QueueName
-
The name of the queue that you wish to connect to the queue object.
- Type
-
Type is an integer representing a queue type. QueueType is optional and defaults to 9 (User Queue). Valid values for queue types are:
3
Station queue
9
User queue
10
Workgroup queue
15
Line queue
Return Values
None.