
Provider
Call
Connection Connection
Address Address
Figure 23.1: Object model of a two-party call
• Connection: represents the dynamic relationship between a Call and an Address.
The purpose of a Connection object is to describe the relationship between a Call object and an Address object. A
Connection object exists if the Address is a part of the telephone call. Connection objects are immutable in terms of
their Call and Address references. In other words, the Call and Address object references do not change throughout the
lifetime of the Connection object instance. The same Connection object may not be used in another telephone call.
23.2.1 Resource Adaptor
The JCC Resource Adaptor provides the interface between a JCC implementation and the Rhino SLEE. The JCC RA receives
events from the JCC implementation and maps these events to activities and events as required by the SLEE programming
model. This adaptation follows the JCC resource adaptor recommendations in the JAIN SLEE specification.
The JCC RA also includes a graphical interface that may be used to create and terminate calls in order to drive the JCC
applications. Note that the graphical user interface is run from within the SLEE; running graphical utilities from inside the
SLEE is an implementation strategy for this example only and is not recommended in a production system.
23.2.2 Call Forwarding Service
The Call Forwarding Service is a service that forwards numbers made to a particular terminating party to another terminating
party. The Call Forwarding Service reads information from the SLEE Profile Facility to determine whether or not to forward a
given call, and if it is to forward a call what address the call should be forwarded to.
The service is implemented as the JCC Call Forwarding SBB, which contains the service logic. The SBB stores its state using
JAIN SLEE Profiles.
The SBB reacts to events using the ‘onCallDelivery’ event handler. It accesses the stored state using the profile CMP method
‘getCallForwardingProfile’.
The service works as follows:
1. The Call ForwardingService is listening for either the Authorize Call Attempt event or the JCC Call Delivery event,
implemented as a JccConnectionEvent.CONNECTION_AUTHORIZE_CALL_ATTEMPT or JccConnectionEvent
.CONNECTION_CALL_DELIVERY
Open Cloud Rhino 1.4.3 Administration Manual v1.1 149
Comentarios a estos manuales