
Name Type Default Description
ListeningPoints
java.lang.String 0.0.0.0:5060/[udp|tcp] List of endpoints that the SIP stack will listen on. Must be specified as a
list of host:port/transport triples, separated by semicolons.
ExtensionMethods
java.lang.String SIP methods that can initiate dialogs, in addition to the standard INVITE
and SUBSCRIBE methods.
OutboundProxy
java.lang.String Default proxy for the stack to use if it cannot route a request
(JAIN SIP javax.sip.OUTBOUND_PROXY property).
UDPThreads
java.lang.Integer 1 The number of UDP Threads to use.
TCPThreads
java.lang.Integer 1 The number of TCP Threads to use.
RetransmissionFilter
java.lang.Boolean False Controls whether the stack automatically retransmits 200 OK and ACK
messages during INVITE transactions
(JAIN SIP javax.sip.RETRANSMISSION_FILTER property).
AutomaticDialogSupport
java.lang.Boolean False If true, SIP dialogs are created automatically by the stack. Otherwise
the application must request that a dialog be created.
Keystore
java.lang.String sip-ra-ssl.keystore The keystore used to store the public certificates.
KeystoreType
java.lang.String jks The encryption type of the keystore.
KeystorePassword
java.lang.String The keystore password.
Truststore
java.lang.String sip-ra-ssl.truststore The keystore containing a private certificate.
TruststoreType
java.lang.String jks The encryption type of the keystore.
TruststorePassword
java.lang.String The trust keystore password.
CRLURL
java.lang.String The certificate revocation list location.
CRLRefreshTimeout
java.lang.Integer 86400 The certificate revocation list refresh timeout.
CRLLoadFailureRetryTimeout
java.lang.Integer 900 The certificate revocation list load failure timeout.
CRLNoCRLLoadFailureRetryTimeout
java.lang.Integer 60 The certificate revocation list load failure retry timeout.
ClientAuthentication
java.lang.String NEED Indicate that clients need to be authenticated against certificates in the
keystore.
Readers familiar with JAIN SIP 1.1 may note that some of these properties are equivalent to the JAIN SIP stack properties of
the same name.
The default values for these RA properties are defined in the the “oc-resource-adaptor-jar.xml” deployment descriptor, in the RA
jar file. Rather than editing the oc-resource-adaptor-jar.xml file directly, and reassembling the RA jar file, it is easier to override
the RA properties at deploy time. This can be done by passing additional arguments to the createRAEntity management
interface. Below is an excerpt from the
$RHINO_HOME/examples/sip/build.xml
file showing how this can be done in an Ant
script:
...
<slee-management>
<createraentity
resourceadaptorid="${sip.ra.name}"
entityname="${sip.ra.entity}"
properties="${sip.ra.properties}" />
<bindralinkname entityname="${sip.ra.entity}" linkname="${SIP_LINKNAME}" />
<activateraentity entityname="${sip.ra.entity}"/>
</slee-management>
...
Where
sip.ra.properties
is defined in
build.properties
sip.ra.properties=ListeningPoints=0.0.0.0:5060/udp;0.0.0.0:5060/tcp
Config-properties are passed to the
createRAEntity
task using a comma-separated list of name=value pairs. In the above
example the
ListeningPoints
property has been customised. When the RA is deployed using the Ant script (as shown below)
the RA will be created with these properties.
22.5.2 Deploying the Resource Adaptor
After setting these properties correctly for the system, the SIP Resource Adaptor can be deployed into the SLEE. The Ant build
script
$RHINO_HOME/examples/sip/build.xml
contains build targets for deploying and undeploying the SIP RA.
To deploy the SIP RA, first ensure the SLEE is running. Go to the SIP examples directory, and then execute the Ant target
deploysipra
as shown:
Open Cloud Rhino 1.4.3 Administration Manual v1.1 136
Comentarios a estos manuales