public class DndStateEvent extends ManagerEvent
It is implemented in channels/chan_zap.c.
Available since Asterisk 1.2
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Constructor and Description |
|---|
DndStateEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel()
Returns the name of the channel.
|
Boolean |
getState()
Returns DND state of the channel.
|
void |
setChannel(String channel)
Sets the name of the channel.
|
void |
setState(Boolean state)
Sets the DND state of the channel.
|
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, toJsonString, toStringgetSourcepublic DndStateEvent(Object source)
public String getChannel()
public void setChannel(String channel)
channel - channelpublic Boolean getState()
public void setState(Boolean state)
state - dnd or notCopyright © 2018. All rights reserved.