Before you install the Proxy service, you must change one configuration item to suit your environment. Edit the
sip.properties file, to change the
PROXY_DOMAINS property as follows:
# Proxy SBB configuration # Add domains that the proxy is authoritative for PROXY_DOMAINS=opencloud.com,opencloud.co.nz
The default domains
opencloud.co.nz are just examples — change this property to use the correct domains for your environment.
PROXY_DOMAINS property contains the domains that the proxy SBB considers to be local. Depending on what domain the user to whom a request is addressed is in, the proxy SBB will do the following:
|What the proxy service does
One of the local domains (such as
Uses the location service to find the registered contact address of that user.
Local domain, but not registered in the location service.
Returns an error response.
Forwards the request according to normal SIP routing rules.
To install the SIP Registrar, Proxy or Presence service, first ensure the SLEE is running. Then go to the SIP examples directory and execute the Ant targets
deploypresence. For example:
$ ant deployregistrar
compile the service source code
assemble jar files
deploy the service and its dependencies into the SLEE
activate the service.
To deactivate and remove the services, use the Ant target
undeploypresence. For example:
$ ant undeployregistrar