public class HangupEvent extends AbstractChannelEvent
It is implemented in channel.c
uniqueId
source
Constructor and Description |
---|
HangupEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
Integer |
getCause()
Returns the cause of the hangup.
|
String |
getCauseTxt()
Returns the textual representation of the hangup cause.
|
String |
getConnectedlinename()
Returns the Caller*ID name of the channel connected if set.
|
String |
getConnectedlinenum()
Returns the Caller*ID number of the channel connected if set.
|
void |
setCause(Integer cause)
Sets the cause of the hangup.
|
void |
setCauseTxt(String causeTxt)
Sets the textual representation of the hangup cause.
|
void |
setConnectedlinename(String connectedlinename) |
void |
setConnectedlinenum(String connectedlinenum) |
getCallerId, getCallerIdName, getCallerIdNum, getChannel, getUniqueId, setCallerId, setCallerIdName, setCallerIdNum, setChannel, setUniqueId
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public HangupEvent(Object source)
public Integer getCause()
HangupCause
public void setCause(Integer cause)
cause
- the hangup cause.public String getCauseTxt()
public void setCauseTxt(String causeTxt)
causeTxt
- the textual representation of the hangup cause.public String getConnectedlinename()
public void setConnectedlinename(String connectedlinename)
public String getConnectedlinenum()
public void setConnectedlinenum(String connectedlinenum)
Copyright © 2004–2016. All rights reserved.