public class AlarmEvent extends ManagerEvent
It is implemented in channels/chan_zap.c
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
AlarmEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAlarm()
Returns the kind of alarm that happened.
|
Integer |
getChannel()
Returns the number of the channel the alarm occured on.
|
void |
setAlarm(String alarm)
Sets the kind of alarm that happened.
|
void |
setChannel(Integer channel)
Sets the number of the channel the alarm occured on.
|
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, toString
getSource
public AlarmEvent(Object source)
source
- public String getAlarm()
This may be one of
public void setAlarm(String alarm)
public Integer getChannel()
public void setChannel(Integer channel)
Copyright © 2004–2020. All rights reserved.