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)
Creates a new DNDStateEvent.
|
| 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, toStringgetSourcepublic DndStateEvent(Object source)
source - public String getChannel()
public void setChannel(String channel)
public Boolean getState()
public void setState(Boolean state)
Copyright © 2004–2021. All rights reserved.