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, prioritysource| Constructor and Description |
|---|
QueueMemberPenaltyEvent(Object source)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocation()
Returns the name of the member's interface.
|
Integer |
getPenalty()
Returns the new penalty.
|
String |
getQueue()
Returns the name of the queue.
|
void |
setLocation(String member)
Sets the name of the member's interface.
|
void |
setPenalty(Integer penalty)
Sets the new penalty.
|
void |
setQueue(String queue)
Sets the name of the queue.
|
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, toStringgetSourcepublic QueueMemberPenaltyEvent(Object source)
source - public 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–2021. All rights reserved.