The default sample SIP services deployed with Rhino are: the Proxy, Registrar and Presence services. Together, these services provide basic SIP-server functionality, and are intended to work "out of the box" with minimal configuration.
To get the default SIP examples up and running straight away, follow the quick start instructions here. For more detailed information on building, installing and configuring the examples, see Manual Installation.
Files referred to in the instructions are in the directory
Before deploying the examples, you must first change the default configuration of the Proxy service to suit your environment. It is configured in the
sip.properties file. Edit this file, changing 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. This means that if the proxy SBB receives a request addressed to a user in one of these domains (such as
sip:firstname.lastname@example.org), it will use the location service to find the registered contact address of that user. If the user cannot be found, the Proxy service will return an error response.
If the Proxy service receives a request addressed to a user in an unknown domain, it will forward the request according to normal SIP routing rules.
|On a Windows installation, with user agents on separate PCs, the Windows firewall may block SIP messages sent over the network. You may need to re-configure the firewall to ensure that Rhino can receive SIP messages.|
By default, the Ant build script
build.xml builds and deploys the Registrar, Proxy and Presence sample services with the components they need (including the SIP resource adaptor and location service), into Rhino.
To deploy the examples, run Ant with the
$ ant deployexamples
If you don’t have Ant installed, you can use a copy that is bundled with Rhino: run the
deployexamples.sh script (or
deployexamples.bat on Windows).
Once you have deployed the sample Registrar, Proxy and Presence services, see Using the Services for instructions on how to test them with your SIP user agents.