public class QueueMemberPenaltyEvent extends ManagerEvent
It is implemented in apps/app_queue.c
.
Available since Asterisk 1.6
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
QueueMemberPenaltyEvent(Object source)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCallstaken()
Returns number of calls this queue member has serviced
|
Integer |
getIncall()
Returns if member is in call when event is raised
|
String |
getInterface()
Returns queue member's tech or location name
|
Integer |
getLastcall()
Returns time this member last took a call, expressed in seconds
|
Integer |
getLastpause()
Returns time in seconds when started last paused the queue member
|
String |
getLocation()
Returns the name of the member's interface.
|
String |
getMembername()
Returns name of the queue member.
|
String |
getMembership()
Returns membership in queue
E.g.
|
Boolean |
getPaused()
Returns if the member is pause
|
String |
getPausedreason()
Returns reason if set when paused
|
Integer |
getPenalty()
Returns the new penalty.
|
String |
getQueue()
Returns the name of the queue.
|
Integer |
getRinginuse()
Returns member's ring in use setup
|
String |
getStateinterface()
Returns the queue member's tech or location state
|
Integer |
getStatus()
Returns numeric device state status of the queue member
|
Integer |
getWrapuptime()
Returns wrapuptime
|
void |
setCallstaken(Integer callstaken)
Sets number of calls this queue member has serviced
|
void |
setIncall(Integer incall)
Sets if member is in call when event is raised
|
void |
setInterface(String _interface)
Sets queue member's tech or location name
|
void |
setLastcall(Integer lastcall)
Sets time this member last took a call, expressed in seconds
|
void |
setLastpause(Integer lastpause)
Sets time in seconds when started last paused the queue member
|
void |
setLocation(String member)
Sets the name of the member's interface.
|
void |
setMembername(String membername)
Sets name of the queue member.
|
void |
setMembership(String membership)
Sets membership in queue
|
void |
setPaused(Boolean paused)
Sets if member is paused or not
|
void |
setPausedreason(String pausedreason)
Sets reason if set when paused
|
void |
setPenalty(Integer penalty)
Sets the new penalty.
|
void |
setQueue(String queue)
Sets the name of the queue.
|
void |
setRinginuse(Integer ringinuse)
Sets member's ring in use setup
|
void |
setStateinterface(String stateinterface)
Sets channel technology or location from which the member device changed
|
void |
setStatus(Integer status)
Sets numeric device state status of the queue member
|
void |
setWrapuptime(Integer wrapuptime)
Sets wrapuptime
|
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public QueueMemberPenaltyEvent(Object source)
source
- public Boolean getPaused()
public void setPaused(Boolean paused)
paused
- if pausedpublic Integer getWrapuptime()
public void setWrapuptime(Integer wrapuptime)
wrapuptime
- the wrapuptimepublic Integer getLastpause()
public void setLastpause(Integer lastpause)
lastpause
- time in seconds when started last paused the queue memberpublic String getStateinterface()
public void setStateinterface(String stateinterface)
stateinterface
- channel technology or location from which the member device changedpublic String getPausedreason()
public void setPausedreason(String pausedreason)
pausedreason
- reason if set when pausedpublic Integer getIncall()
public void setIncall(Integer incall)
incall
- if member is in call when event is raisedpublic String getMembership()
public void setMembership(String membership)
membership
- membership in queuepublic String getInterface()
public void setInterface(String _interface)
_interface
- queue member's tech or location namepublic Integer getCallstaken()
public void setCallstaken(Integer callstaken)
callstaken
- number of calls this queue member has servicedpublic Integer getRinginuse()
public void setRinginuse(Integer ringinuse)
ringinuse
- member's ring in use setuppublic Integer getLastcall()
public void setLastcall(Integer lastcall)
lastcall
- time this member last took a call, expressed in secondspublic String getMembername()
public void setMembername(String membername)
membername
- name of the queue member.public Integer getStatus()
public void setStatus(Integer status)
status
- numeric device state status of the queue memberpublic String getQueue()
public void setQueue(String queue)
queue
- the name of the queue.public String getLocation()
E.g. the channel name or agent group.
public void setLocation(String member)
member
- the name of the member's interface.public Integer getPenalty()
public void setPenalty(Integer penalty)
penalty
- the new penalty.Copyright © 2004–2022. All rights reserved.