JBoss.orgCommunity Documentation
The easiest way to test example is to deploy example and start
container, register two UACs and make call from one to another. UACs
must be configured to use container as proxy, by default each UAC
should point to proxy at
127.0.0.1:5060
and have domain set to either
nist.gov
or
mobicents.org
Two components can be configured in example:
location components supports two different storage providers:
HA
and local.
Default storage is local. It can be changed with
sbb-env
property:
LOCATION_SERVICE_CLASS_NAME
.
It can have one of two values:
this class implements local service, not replicated, based on java
java.util.Map
.
this class implements HA service, replicated storage, based on JPA.
LocationSbb
exposes JMX properties which can be accessed under
ObjectName: slee:sipservice=Location
. Supported properties:
Table 5.1. LocationSbb JMX properties
Name | Type | Description |
---|---|---|
registeredUsers | java.util.Set<java.lang.String> | Read only property. It return value is set with AORs of users. |
registeredUserCount | java.lang.Integer | Read only property. Indicates how many users are registered. |
Configuration can be changed
in
configuration.properties
file or during runtime with
JMX
Bean.
Bean is accessible under
ObjectName: slee:sipproxyconfigurator=only_human
, where
sipproxyconfigurator
value is equal to configuration name. Supported properties:
Table 5.2. ProxySbb JMX properties
Name | Type | Description |
---|---|---|
supportedURIScheme | java.lang.String | URI scheme supported by proxy. It coma separated list. By default it has value of {sip,sips} |
localDomain | java.lang.String | domain for which this proxy should provide services. Its comma separated list of values. By default it has value of {127.0.0.1, nist.gov ,mobicents.org} |
transports | java.lang.String | list of transports which can be used by proxy. Its comma separated list of values. By default it has value of {udp}, by default proxy uses first one available. |
sipPort | java.lang.Integer | Port which is used to send and receive messages. By defautl it has value of {5060} |
Configuration can be changed during runtime with
JMX
Bean.
Bean is accessible under
ObjectName: slee:sipregistrarconfigurator=v1RegistrarConf
. Supported properties:
Table 5.3. RegistrarSbb JMX properties
Name | Type | Description |
---|---|---|
sipRegistrationMinExpires | java.lang.Integer | Minimal acceptable value of Expires Header |
sipRegistrationMaxExpires | java.lang.Integer | Maximal acceptable value of Expires Header |