Cloud CM-IPMP Průvodce řešením problémů Strana 160

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 201
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 159
Figure 23.3: Call Attempt
(
initial-event-select variable="AddressProfile"
). So when a “Connection Authorize Call Attempt” event arrives at
the JCC Resource Adaptor, a new root SBB will be created for that service if the Address (user B address) is present in the
Address Profile Table of the Service.
The JCC Resource Adaptor creates an activity for the initial event. The Activity object associated with this activity is the
JccConnection object. The JCC Resource Adaptor enqueues the event to the SLEE Endpoint.
23.2.3 Service Logic
After verification, a new Call Forwarding SBB entity is created to execute the service logic for this call. The SBB receives a
Connection Authorize Call Attempt event and executes the onCallDelivery method.
As can be seen in the deployment descriptor above, the SBB must defines an event (<event-name> CallDelivery </event-name>)
which matches with an event type (<event-type-name> javax.csapi.cc.jcc.JccConnectionEvent.
CONNECTION_AUTHORIZE_CALL_ATTEMPT </event-type-name>). The SBB will execute the method
onEventName
every time it receives that event.
public void onCallDelivery (JccConnection connection, ActivityContextInterface aci) {
// Source code
}
If the service (Call Forwarding SBB) wants to receive more JCC events for this Activity, it will need to attach to the Activity
Context Interface associated with this activity (not in this example).
OnCallDelivery Method
The OnCallDelivery method determines the logic of Call Forwarding service.
The SBB must find out if the call must be redirected. It needs to access to user subscription information data in Call Forwarding
Profile. The SBB requests the Profile data indexed by the address of user B, included in JCC message. At this part, it is certain
that user B exists in service Profile, because the SBB has been created based on initial event select variable = Address Profile.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 151
Zobrazit stránku 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 200 201

Komentáře k této Příručce

Žádné komentáře