| Modifier and Type | Field and Description |
|---|---|
protected static javolution.xml.XMLFormat<Sip> |
SIP_XML
XML Serialization/Deserialization
|
protected SipManagement |
sipManagement |
| Constructor and Description |
|---|
Sip() |
Sip(String name,
String clusterName,
String host,
int port,
boolean chargingEnabled,
byte addressTon,
byte addressNpi,
String addressRange,
boolean countersEnabled,
int networkId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterName() |
String |
getHost()
Address of remote host where all SIP messages should be forwarded to
|
String |
getName() |
int |
getNetworkId()
networkId
default value is 0
|
int |
getPort()
port of remote host where all SIP messages are sent
|
String |
getRoutingAddressRange()
The
DefaultSmsRoutingRule will try to match destination_addr
here. |
int |
getRoutingNpi()
The
DefaultSmsRoutingRule will try to match the dest_addr_npi
with one configured here. |
int |
getRoutingTon()
The
DefaultSmsRoutingRule will try to match the dest_addr_ton of
outgoing SMS with one configured here. |
String |
getSipAddress() |
boolean |
isChargingEnabled()
true if charging is enabled for this SIP stack
|
boolean |
isCountersEnabled()
true if counters is enabled.
|
protected boolean |
isRoutingAddressMatching(int destTon,
int destNpi,
String destAddress) |
boolean |
isStarted() |
void |
setChargingEnabled(boolean chargingEnabled) |
void |
setClusterName(String clusterName)
Cluster in which this SIP stack belongs.
|
void |
setCountersEnabled(boolean countersEnabled) |
void |
setHost(String host) |
void |
setNetworkId(int networkId) |
void |
setPort(int port) |
void |
setRoutingAddressRange(String range) |
void |
setRoutingNpi(int npi) |
void |
setRoutingTon(int ton) |
void |
show(StringBuffer sb) |
protected transient SipManagement sipManagement
protected static final javolution.xml.XMLFormat<Sip> SIP_XML
public String getClusterName()
getClusterName in interface SipMBeanpublic void setClusterName(String clusterName)
SipMBeansetClusterName in interface SipMBeanpublic String getHost()
SipMBeanpublic void setHost(String host)
public int getPort()
SipMBeanpublic void setPort(int port)
public int getNetworkId()
SipMBeangetNetworkId in interface SipMBeanpublic void setNetworkId(int networkId)
setNetworkId in interface SipMBeanpublic int getRoutingNpi()
SipMBeanDefaultSmsRoutingRule will try to match the dest_addr_npi
with one configured here. If configured value is null(-1)or it's not null
and match's, SMSC will compare destination_addr as below. It it doesn't
match, SMSC will select next SIP in list for matching routing rulegetRoutingNpi in interface SipMBeanpublic int getRoutingTon()
SipMBeanDefaultSmsRoutingRule will try to match the dest_addr_ton of
outgoing SMS with one configured here. If configured value is null(-1) or
it's not null and match's, SMSC will compare dest_addr_npi and
destination_addr as below. It it doesn't match, SMSC will select next SIP
in list for matching routing rulegetRoutingTon in interface SipMBeanpublic String getRoutingAddressRange()
SipMBeanDefaultSmsRoutingRule will try to match destination_addr
here. This is regular java expression. Default value is null. If it
match's, SMSC will send the SMS out over this SIP connection. If it
doesn't match, SMSC will select next ESME in list for matching routing
rulegetRoutingAddressRange in interface SipMBeanpublic void setRoutingNpi(int npi)
setRoutingNpi in interface SipMBeanpublic void setRoutingTon(int ton)
setRoutingTon in interface SipMBeanpublic void setRoutingAddressRange(String range)
setRoutingAddressRange in interface SipMBeanpublic boolean isCountersEnabled()
SipMBeanisCountersEnabled in interface SipMBeanpublic void setCountersEnabled(boolean countersEnabled)
setCountersEnabled in interface SipMBeanpublic boolean isChargingEnabled()
SipMBeanisChargingEnabled in interface SipMBeanpublic void setChargingEnabled(boolean chargingEnabled)
setChargingEnabled in interface SipMBeanpublic String getSipAddress()
protected boolean isRoutingAddressMatching(int destTon,
int destNpi,
String destAddress)
public void show(StringBuffer sb)
Copyright © 2017. All Rights Reserved.