public class QueueMemberPausedEvent 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 |
|---|
QueueMemberPausedEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getPaused()
Returns if this queue member is paused (not accepting calls).
|
String |
getReason()
Returns the reason why the queue member has been paused.
|
void |
setPaused(Boolean paused)
Sets if this member is paused.
|
void |
setReason(String reason)
Sets the reason why the queue member has been paused.
|
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 QueueMemberPausedEvent(Object source)
public 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 getReason()
Auto-Pause for the case that the queue member has been
paused for not answering the call.public void setReason(String reason)
reason - the reason why the queue member has been paused.Copyright © 2004–2020. All rights reserved.