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,
boolean natInUse,
java.lang.String natSipIpAddress,
int natSipUdpPort,
java.lang.String natRtpIpAddress,
int natRtpBasePort)
Creates a configuration for the SIP media server with the
specified parameters.
|
SipMediaServerSettings(SipMediaServerSettings other) |
Modifier and Type | Method and Description |
---|---|
int |
getNatRtpBasePort() |
java.lang.String |
getNatRtpIpAddress() |
java.lang.String |
getNatSipIpAddress() |
int |
getNatSipUdpPort() |
int |
getRtpBasePort() |
java.lang.String |
getRtpIpAddress() |
java.lang.String |
getSipIpAddress() |
int |
getSipUdpPort() |
boolean |
isEnabled() |
boolean |
isNatInUse() |
boolean |
isTraceSignalling() |
void |
setEnabled(boolean enabled) |
void |
setNatInUse(boolean natInUse) |
void |
setNatRtpBasePort(int natRtpBasePort) |
void |
setNatRtpIpAddress(java.lang.String natRtpIpAddress) |
void |
setNatSipIpAddress(java.lang.String natSipIpAddress) |
void |
setNatSipUdpPort(int natSipUdpPort) |
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, boolean natInUse, java.lang.String natSipIpAddress, int natSipUdpPort, java.lang.String natRtpIpAddress, int natRtpBasePort)
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.natInUse
- Set to true
if the SIP media server is behind a
Full Cone NAT.natSipIpAddress
- The IP address to use in SIP messages. Must be the public IP
of the NAT.natSipUdpPort
- The UDP port to use in SIP messages. Must be a port on the
NAT that is forwarding to sipUdpPort.natRtpIpAddress
- The IP address to use in SDP messages. Must be the public IP
of the NAT.natRtpBasePort
- The base UDP port to use in SDP messages. Must be the base
RTP port in the range from natRtpBasePort to
(natRtpBasePort + 2 * VoIP channel count) that are forwarding
to the (rtpBasePort + 2 * VoIP channel count) ports.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 boolean isNatInUse()
public void setNatInUse(boolean natInUse)
public java.lang.String getNatSipIpAddress()
public void setNatSipIpAddress(java.lang.String natSipIpAddress)
public int getNatSipUdpPort()
public void setNatSipUdpPort(int natSipUdpPort)
public java.lang.String getNatRtpIpAddress()
public void setNatRtpIpAddress(java.lang.String natRtpIpAddress)
public int getNatRtpBasePort()
public void setNatRtpBasePort(int natRtpBasePort)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ©, 2005-2019 Prolancer Pty Ltd, Sydney Australia.