
22.5.8 Modifying Service Source Code
If modifications are made to the source code of any of the SIP services, the altered services can be recompiled and deployed
easily using the Ant targets in
$RHINO_HOME/examples/sip/build.xml
. If the service is already installed, remove it using
the relevant undeploy Ant target, and then rebuild and redeploy using the relevant deploy target (use “ant -p” to list the possible
targets).
22.6 Using the Services
This section demonstrates how the example SIP services can be used with a SIP user agent. The SIP user agent shown here is
Linphone 0.9.1 (http://www.linphone.org), a Gnome/GTK+ application for Linux. Other user agents that support RFC2543 or
RFC3261 should work as well.
Installation of Linphone or other user agents is not covered here; refer to the product documentation for specific installation
instructions.
Note. Regardless of the SIP proxy specified, some versions of Linphone may try to detect a valid SIP proxy for the
address of record using DNS.
If DNS is not configured to resolve SIP lookup requests to the SIP Proxy Service, then a 404 error from Linphone
may be received when requesting an INVITE of the form
user@domain
. Specify an address of record in the form
to work around this issue. For more information regarding Locating SIP Servers, please refer to
IETF RFC3263.
There is an alternative to the graphical version of Linphone, which is useful for testing purposes over a network. The command-
line version of linphone is called “linphonec”.
22.6.1 Configuring Linphone
The SIP configuration screen for Linphone is accessed from the
Connection -> Parameters
menu item on the Linphone
main window. This may differ in appearance depending on the version of Linphone installed, but should look similar to Figure
22.1.
Figure 22.1: The configuration screen for Linphone
Once the settings above have been applied, Linphone can be used with the example SIP services. This is discussed in the follow
sections.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 143
Komentáře k této Příručce