public class QueueMemberAddedEvent extends AbstractQueueMemberEvent
It is implemented in apps/app_queue.c.
Available since Asterisk 1.2
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Constructor and Description |
|---|
QueueMemberAddedEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCallsTaken()
Returns the number of calls answered by the member.
|
Long |
getLastCall()
Returns the time the last successful call answered by the added member
was hungup.
|
String |
getMembership()
Returns if the added member is a dynamic or static queue member.
|
Boolean |
getPaused()
Returns if this queue member is paused (not accepting calls).
|
Integer |
getPenalty()
Returns the penalty for the added member.
|
Boolean |
getRinginuse() |
String |
getStateinterface() |
Integer |
getStatus()
Returns the status of this queue member.
|
void |
setCallsTaken(Integer callsTaken)
Sets the number of calls answered by the added member.
|
void |
setLastCall(Long lastCall)
Sets the time the last successful call answered by this member was
hungup.
|
void |
setMembership(String membership)
Sets if the added member is a dynamic or static queue member.
|
void |
setPaused(Boolean paused)
Sets if this member is paused.
|
void |
setPenalty(Integer penalty)
Sets the penalty for this member.
|
void |
setRinginuse(Boolean ringinuse) |
void |
setStateinterface(String stateinterface) |
void |
setStatus(Integer status)
Sets the status of this queue member.
|
getInCall, getInterface, getLocation, getMemberName, getPausedReason, getQueue, setInCall, setInterface, setLocation, setMemberName, setPausedReason, setQueueappendPropertyIfNotNull, 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 QueueMemberAddedEvent(Object source)
public String getMembership()
public void setMembership(String membership)
membership - "dynamic" if the added member is a dynamic queue
member, "static" if the added member is a static queue member.public Integer getPenalty()
public void setPenalty(Integer penalty)
penalty - the penalty for this member.public Integer getCallsTaken()
public void setCallsTaken(Integer callsTaken)
callsTaken - the number of calls answered by the added member.public Long getLastCall()
public void setLastCall(Long lastCall)
lastCall - the time (in seconds since 01/01/1970) the last
successful call answered by the added member was hungup.public Integer getStatus()
Valid status codes are:
public void setStatus(Integer status)
status - the status of this queue memberpublic Boolean getPaused()
Boolean.TRUE if this member has been paused or
Boolean.FALSE if not.public void setPaused(Boolean paused)
paused - Boolean.TRUE if this member has been paused
or Boolean.FALSE if not.public String getStateinterface()
public void setStateinterface(String stateinterface)
public Boolean getRinginuse()
public void setRinginuse(Boolean ringinuse)
Copyright © 2004–2024. All rights reserved.