public class RegistryEntryEvent extends ResponseEvent
It is implemented in channels/chan_sip.c
actionId
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
RegistryEntryEvent(Object source)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns the IP address or hostname used for the registration.
|
Integer |
getPort()
Returns the port number used for the registration.
|
Integer |
getRefresh()
Returns the value of refresh.
|
Long |
getRegistrationTime()
Returns the epoch since the last registration.
|
String |
getState()
Returns the value of state.
|
String |
getUsername()
Returns the username used for the registration.
|
void |
setHost(String host)
Set the IP address or hostname used for the registration.
|
void |
setPort(Integer port)
Sets the port number used for the registration.
|
void |
setRefresh(Integer refresh)
Set the value of refresh.
|
void |
setRegistrationTime(String registrationTime)
Sets the epoch (unix Timestamp) of the last registration.
|
void |
setState(String state)
Set the value of state.
|
void |
setUsername(String username)
Sets the username used for the registration.
|
getActionId, getInternalActionId, setActionId, setInternalActionId
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 RegistryEntryEvent(Object source)
source
- public Long getRegistrationTime()
public void setRegistrationTime(String registrationTime)
registrationTime
- the epoch of the last registration.public Integer getPort()
public void setPort(Integer port)
port
- the port number.public String getUsername()
public void setUsername(String username)
username
- the username.public String getHost()
public void setHost(String host)
host
- IP address or hostname.public String getState()
public void setState(String state)
state
- new value of statepublic Integer getRefresh()
public void setRefresh(Integer refresh)
refresh
- new value of refreshCopyright © 2004–2024. All rights reserved.