Class: QueueMember

WTAPI.QueuesPlugin.QueueMember()

new QueueMember()

Source:

Methods

getCall(channel) → {QueueCall|null}

Gets an member active call by channel
Parameters:
Name Type Description
channel String
Source:
Returns:
Type
QueueCall | null

getCalls() → {Array}

Gets an array of active calls of that member in queue
Source:
Returns:
Type
Array

getExtension() → {String}

Gets an extension of Member (e.g. 100, 200, etc...)
Source:
Returns:
Type
String

getLocation() → {String}

Gets a unique identifier of a Member that are on Queue
Source:
Returns:
Type
String

getName() → {String}

Gets a Member name
Source:
Returns:
Type
String

getPenalty() → {string}

Gets a Member penalty in Queue. If the strategy of Queue is defined as 'ringall', then only those available members with the lowest priorities will ring.
Source:
Returns:
Type
string

getSleepTime() → {number}

Gets a sleep time in seconds (e.g. time from a last call)
Source:
Returns:
Type
number

getStatus() → {String}

Gets a Member status in Queue Possible statuses are: not_inuse, inuse, busy, invalid, unavailable, ringing, ringinuse, onhold, unknown
Source:
Returns:
Type
String

getTalkTime() → {integer}

Gets a Talk time in seconds
Source:
Returns:
Type
integer

isDynamicMember() → {boolean}

Checks whether Member is dynamically added to Queue
Source:
Returns:
Type
boolean

isPaused() → {boolean}

Checks whether Member is paused in that Queue
Source:
Returns:
Type
boolean

isStaticMember() → {boolean}

Checks whether Member is statically added to Queue (e.g. can't be removed by this API)
Source:
Returns:
Type
boolean