Feedback

  • Contents
 

Queue object

The Queue object connects to CIC call queues, and provides access to properties supported by queue objects. An additional queue object, >scripter.myQueue is functionally equivalent to scripter.queue, except that the current user's queue is preattached in the myQueue object.

Methods

Queue.connect

This method connects a queue object to a specific CIC queue.

Callbacks

Queue.callObjectAddedHandler

The name of the function to be invoked when a CallObject is added to the queue. This is different from Queue.objectAddedHandler in that it only responds to CallObjects.

Queue.errorHandler

Name of the function to be called when an error occurs in this object.

Queue.objectAddedHandler

Queue.objectAddedHandler allows you to specify the name of a procedure that will be called when an object is added to a queue.

Queue.objectChangedHandler

Queue.objectChangedHandler allows you to specify the name of a procedure that will be called when a queue object is changed.

Queue.objectRemovedHandler

Queue.objectRemovedHandler allows you to specify the name of a procedure that will be called when an queue object is removed.

Properties

Queue.activeMonitor

This property indicates whether or not someone is actively monitoring this queue (i.e., you should receive ACD calls).

Queue.lastError

This property returns a string describing an error condition affecting the queue object.

Queue.lastErrorId

This property returns the number of an error condition affecting the queue object.

Queue.name

Returns the name of a user, workstation, workgroup, or line queue.

Queue.type

Returns an integer identifying the type of queue (station, user, workstation, or line).

Enumerations

Queue.startCallObjectsEnum

Queue.startCallObjectsEnum returns a new enumeration of all call objects currently within the queue.

Queue.startChatObjectsEnum

Queue.startChatObjectsEnum returns a new enumeration of all chat objects currently within the queue.

Queue.startConferenceObjectsEnum

Queue.startConferenceObjectsEnum returns a new enumeration of all conference objects currently within the queue.

Queue.startObjectIdsEnum

Queue.startObjectIdsEnum returns a new enumeration of all objects ids currently within the queue.