public class SipMediaServerSettings
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SipMediaServerSettings() |
SipMediaServerSettings(boolean enabled,
java.lang.String sipIpAddress,
int sipUdpPort,
java.lang.String rtpIpAddress,
int rtpBasePort,
boolean traceSignalling)
Creates a configuration for the SIP media server with the
specified parameters.
|
SipMediaServerSettings(SipMediaServerSettings other) |
Modifier and Type | Method and Description |
---|---|
int |
getRtpBasePort() |
java.lang.String |
getRtpIpAddress() |
java.lang.String |
getSipIpAddress() |
int |
getSipUdpPort() |
boolean |
isEnabled() |
boolean |
isTraceSignalling() |
void |
setEnabled(boolean enabled) |
void |
setRtpBasePort(int rtpBasePort) |
void |
setRtpIpAddress(java.lang.String rtpIpAddress) |
void |
setSipIpAddress(java.lang.String sipIpAddress) |
void |
setSipUdpPort(int sipUdpPort) |
void |
setTraceSignalling(boolean traceSignalling) |
java.lang.String |
toString() |
public SipMediaServerSettings(boolean enabled, java.lang.String sipIpAddress, int sipUdpPort, java.lang.String rtpIpAddress, int rtpBasePort, boolean traceSignalling)
enabled
- Set to true
to enable the SIP media server.sipIpAddress
- The IP address to use for the SIP service. Must be one of of the
IP addresses assigned to the system.sipUdpPort
- The UDP port to use for the SIP service.rtpIpAddress
- The IP address to use for the RTP services. Must be one of of the
IP addresses assigned to the system.rtpBasePort
- The base UDP port to use for the RTP service. The system will use
RTP port in the range from rtpBasePort to
(rtpBasePort + 2 * VoIP channel count).traceSignalling
- Set this to true
to enable logging of SIP messages.public SipMediaServerSettings()
public SipMediaServerSettings(SipMediaServerSettings other)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.lang.String getSipIpAddress()
public void setSipIpAddress(java.lang.String sipIpAddress)
public int getSipUdpPort()
public void setSipUdpPort(int sipUdpPort)
public java.lang.String getRtpIpAddress()
public void setRtpIpAddress(java.lang.String rtpIpAddress)
public int getRtpBasePort()
public void setRtpBasePort(int rtpBasePort)
public boolean isTraceSignalling()
public void setTraceSignalling(boolean traceSignalling)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.