Abstract

ETSI OSA APIs Phase 4.   Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1.  ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

Status
Published
Publication Date
02-Jul-2008
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
11-Jun-2008
Due Date
16-Aug-2008
Completion Date
03-Jul-2008

Buy Documents

Standard

ETSI ES 204 915-8 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)

English language (45 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-8 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)

English language (45 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-8 V1.1.1:2008

English language (45 pages)
Preview
Preview
e-Library read for
×1 day

SIST ES 204 915-8 V1.1.1:2008 is the SIST publication of the ETSI Open Service Access (OSA) Application Programming Interface (API), Part 8: Data Session Control SCF (Parlay 6). It specifies how applications use an open standardized interface to create, monitor, supervise, charge, and release data sessions, with interfaces described in UML, IDL, WSDL, and Java API form for application developers and network service implementers.

What does SIST ES 204 915-8 V1.1.1:2008 specify?

SIST ES 204 915-8 V1.1.1:2008 specifies the Data Session Control Service Capability Feature (SCF) within the OSA API. It focuses on the service and application interfaces used to control a data session on a per-session basis, including event notifications, supervision, release, and charging-related functions.

The document is organized into clauses for scope, references, definitions and abbreviations, the SCF overview, sequence diagrams, class diagrams, service interface specifications, interface classes, state transition diagrams, service properties, and data definitions. It also includes annexes that provide language-specific interface descriptions, a Java API realization, and background material for 3GPP and 3GPP2 use.

AnnexWhat it covers
Annex A, normativeOMG IDL description of the Data Session Control SCF
Annex B, informativeW3C WSDL description of the Data Session Control SCF
Annex C, informativeJava™ API description of the Data Session Control SCF
Annex D, informativeContents of 3GPP OSA R7 Data Session Control
Annex E, informativeData Session Control for 3GPP2 cdma2000 networks
Annex F, informativeRecord of changes

What are the key requirements of SIST ES 204 915-8 V1.1.1:2008?

SIST ES 204 915-8 V1.1.1:2008 defines a two-part session model: an IpDataSessionControlManager manages notifications and a Data Session, and an IpDataSession controls the session itself. One Data Session Manager controls one or more sessions, but a session is controlled by only one manager. In practice, this means the application must separate notification handling from session control actions.

Session control and lifecycle

Clause 8 states that the Data Session Control SCF models a data connection or session, including cases such as a PDP context in GPRS. The document explicitly treats terminal location as handled by the underlying network, so it is outside the session model. For implementers, this means the API is about session setup, supervision, and release, not about terminal mobility handling.

The IpDataSession interface has a minimum set of methods that must be implemented: connectReq(), release(), deassignDataSession(), and continueProcessing(). connectReq() starts establishment toward a destination address, release() ends the session, deassignDataSession() removes the application’s control while leaving the session running, and continueProcessing() resumes after an interruption. These are the core actions an application uses to drive session state.

Notification handling

The manager side offers two notification paths. createNotifications() is for application-requested event criteria, while enableNotifications() is for notifications provisioned from within the network. destroyNotification(), changeNotification(), getNotifications(), and disableNotifications() manage those requests as defined for the manager interface.

The event model uses monitor modes: interrupt, notify, and do not monitor. In interrupt mode, the SCF intercepts the event and pauses establishment until the application acts; in notify mode, the application is informed and establishment continues. This distinction matters because interrupt mode gives the application control of the session, while notify mode only reports the event.

The document also states that overlapping notification requests can be refused with P_INVALID_CRITERIA, and repeated requests with the same criteria may share an assignment ID while adding callback references. Unsupported service methods return P_METHOD_NOT_SUPPORTED, while unsupported application methods remain callable without an exception. This is important for interoperability because clients must handle partial support cleanly.

Charging and supervision

The IpDataSession interface includes superviseDataSessionReq(), setDataSessionChargePlan(), and setAdviceOfCharge(). Supervision lets the application set a granted volume and define what happens when that volume is reached, while charge-plan methods let the application influence charging information and the end-user advice of charge. In practice, these methods are the link between session control and billing behavior.

The data definitions show that supervision can request release, response, or information behavior when volume limits are reached. The report types and fault types also support cases such as disconnection, timeout on release, and timeout on interrupt. That gives implementers a structured way to handle end-of-session reporting and abnormal termination.

Interface and callback rules

Clause 7 defines the interface format and callback mechanism. Service interfaces use Ip<name> naming, application callback interfaces use IpApp<name>, and asynchronous requests use Req with matching Res or Err callbacks where applicable. IpService provides setCallback() and setCallbackWithSessionID() so the service can call back into the application.

These callback rules matter because the service keeps the most recent valid callback reference and falls back to earlier ones if needed. For session-based interactions, setCallbackWithSessionID() ties callbacks to a specific TpSessionID. That prevents confusion when several sessions are active at the same time.

What terms does SIST ES 204 915-8 V1.1.1:2008 define?

SIST ES 204 915-8 V1.1.1:2008 uses the definitions from ES 204 915-1 and adds a focused set of Data Session Control terms and abbreviations.

  • Open Service Access (OSA) - the architecture that lets application developers use network functionality through an open standardized interface.
  • Application Programming Interface (API) - the programming interface described by the standard for service access.
  • Service Capability Feature (SCF) - a service capability defined through interfaces, methods, and data types.
  • Unified Modelling Language (UML) - the object modelling notation used for diagrams, state models, and interface descriptions.
  • Interface Definition Language (IDL) - the language-neutral interface description used in Annex A.
  • Web Services Description Language (WSDL) - the web service description format used in Annex B.
  • Advice of Charge (AoC) - charging information sent to the end-user terminal.
  • Quality of Service (QoS) - the session quality class reported or negotiated during session handling.

Who uses SIST ES 204 915-8 V1.1.1:2008?

SIST ES 204 915-8 V1.1.1:2008 is used by application developers who need to start, monitor, and release data sessions through a telecom service API. It is also used by service platform and gateway implementers who provide the IpDataSession and IpDataSessionControlManager interfaces.

Operators and network integrators use it when they provision event notifications, control charging behavior, or connect application logic to network-triggered session events. Billing and charging teams use the charging-related data definitions and methods, especially where session volume or advice of charge information must be exposed to the application or end user.

What changed in SIST ES 204 915-8 V1.1.1:2008 from the previous edition?

SIST ES 204 915-8 V1.1.1:2008 is identified as the Parlay 6.0 version of the Data Session Control SCF and is equivalent to 3GPP TS 29.198-8 V7.0.0 (Release 7). The record of changes notes that IpDataSessionControlManager.createNotification() had already been deprecated and was deleted at the start of Parlay 6.0.

Which standards are used with SIST ES 204 915-8 V1.1.1:2008?

SIST ES 204 915-8 V1.1.1:2008 references ETSI ES 204 915-1 for the overview, shared terms, and abbreviations. It also depends on the common data definitions in ETSI ES 204 915-2, which are used wherever this part refers to data types not defined here.

The data definition for TpDataSessionReleaseCause uses the value and location coding from ITU-T Recommendation Q.850. The document is also aligned with 3GPP TS 29.198-8 V7.0.0, and Annex D ties the content to 3GPP OSA Release 7.

What does the SIST ES 204 915-8 V1.1.1:2008 document contain?

SIST ES 204 915-8 V1.1.1:2008 contains sequence diagrams for network-controlled notifications, enabling notifications, and address translation with charging. It also includes a class diagram showing the relationships between IpAppDataSession, IpAppDataSessionControlManager, IpDataSession, IpDataSessionControlManager, IpInterface, and IpService.

The document provides detailed method descriptions, state transition diagrams for IpDataSession, and service properties that constrain notification ranges, monitor modes, address plans, and charge-plan permissions. It also defines the data types used for event criteria, reports, errors, supervision, release causes, and charge plans.

Annex A supplies the normative OMG IDL file, Annex B supplies W3C WSDL, and Annex C supplies Java™ API realizations for J2SE™ and J2EE™. Annex F records interface, method, data definition, property, and exception changes for the Parlay 6.0 version.

Buy Documents

Standard

ETSI ES 204 915-8 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)

English language (45 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-8 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 8: Data Session Control SCF (Parlay 6)

English language (45 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-8 V1.1.1:2008

English language (45 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

BSI Group

BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

UKAS United Kingdom Verified

NYCE

Mexican standards and certification body.

EMA Mexico Verified

Sponsored listings

Frequently Asked Questions

SIST ES 204 915-8 V1.1.1:2008 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Open Service Access (OSA) - Application Programming Interface (API) - Part 8: Data Session Control SCF (Parlay 6)". This standard covers: ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All aspects of the Data Session Control SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

SIST ES 204 915-8 V1.1.1:2008 is classified under the following ICS (International Classification for Standards) categories: 35.100.01 - Open systems interconnection in general. The ICS classification helps identify the subject area and facilitates finding related standards.

SIST ES 204 915-8 V1.1.1:2008 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)


Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
ETSI Standard
Open Service Access (OSA);
Application Programming Interface (API);
Part 8: Data Session Control SCF
(Parlay 6)
�
2 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)

Reference
DES/TISPAN-01032-8-OSA
Keywords
API, IDL, OSA, UML
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.

© European Telecommunications Standards Institute 2008.
© The Parlay Group 2008.
All rights reserved.
TM TM TM TM
DECT , PLUGTESTS , UMTS , TIPHON , the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered
for the benefit of its Members.
TM
3GPP is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners.
ETSI
3 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
Contents
Intellectual Property Rights.6
Foreword.6
1 Scope.7
2 References.7
3 Definitions and abbreviations.7
3.1 Definitions.7
3.2 Abbreviations.7
4 Data Session Control SCF.8
4.1 General requirements on support of methods.9
5 Sequence Diagrams.9
5.1 Network Controlled Notifications .9
5.2 Enable Data Session Notification.10
5.3 Address Translation With Charging.11
6 Class Diagrams.12
7 The Service Interface Specifications.13
7.1 Interface Specification Format .13
7.1.1 Interface Class.13
7.1.2 Method descriptions.13
7.1.3 Parameter descriptions.13
7.1.4 State Model.13
7.2 Base Interface.13
7.2.1 Interface Class IpInterface .13
7.3 Service Interfaces.14
7.3.1 Overview.14
7.4 Generic Service Interface .14
7.4.1 Interface Class IpService .14
7.4.1.1 Method setCallback().14
7.4.1.2 Method setCallbackWithSessionID().14
8 Data Session Control Interface Classes.15
8.1 Interface Class IpAppDataSession .15
8.1.1 Method connectRes().16
8.1.2 Method connectErr().16
8.1.3 Method superviseDataSessionRes().16
8.1.4 Method superviseDataSessionErr().17
8.1.5 Method dataSessionFaultDetected().17
8.2 Interface Class IpAppDataSessionControlManager .17
8.2.1 Method dataSessionAborted().18
8.2.2 Method reportNotification().18
8.2.3 Method dataSessionNotificationContinued().18
8.2.4 Method dataSessionNotificationInterrupted().19
8.2.5 Method abortMultipleDataSessions().19
8.3 Interface Class IpDataSession .19
8.3.1 Method connectReq().20
8.3.2 Method release().20
8.3.3 Method superviseDataSessionReq().20
8.3.4 Method setDataSessionChargePlan().21
8.3.5 Method setAdviceOfCharge().21
8.3.6 Method deassignDataSession().21
8.3.7 Method continueProcessing().22
8.4 Interface Class IpDataSessionControlManager.22
8.4.1 Method destroyNotification().23
ETSI
4 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.4.2 Method changeNotification().23
8.4.3 Method enableNotifications().23
8.4.4 Method disableNotifications().24
8.4.5 Method getNotifications().24
8.4.6 Method createNotifications().24
9 State Transition Diagrams.25
9.1 State Transition Diagrams for IpDataSession.25
9.1.1 Network Released State .26
9.1.2 Finished State.26
9.1.3 Application Released State.26
9.1.4 Active State.27
9.1.5 Setup State.27
9.1.6 Established State.27
10 Data Session Control Service Properties.27
11 Data Definitions.28
11.1 Data Session Control Data Definitions.28
11.1.1 IpAppDataSession.28
11.1.2 IpAppDataSessionRef.28
11.1.3 IpAppDataSessionControlManager.28
11.1.4 IpAppDataSessionControlManagerRef.28
11.1.5 IpDataSession.29
11.1.6 IpDataSessionRef.29
11.1.7 IpDataSessionControlManager.29
11.1.8 IpDataSessionControlManagerRef.29
11.2 Event Notification data definitions.29
11.2.1 TpDataSessionEventName.29
11.2.2 TpDataSessionMonitorMode.29
11.2.3 TpDataSessionEventCriteria.30
11.2.4 TpDataSessionEventInfo.30
11.2.5 TpDataSessionChargePlan.30
11.2.6 TpDataSessionChargeOrder.31
11.2.7 TpDataSessionChargeOrderCategory.31
11.2.8 TpChargePerVolume.32
11.2.9 TpDataSessionIdentifier.32
11.2.10 TpDataSessionError.32
11.2.11 TpDataSessionAdditionalErrorInfo.32
11.2.12 TpDataSessionErrorType.32
11.2.13 TpDataSessionFault.33
11.2.14 TpDataSessionReleaseCause.33
11.2.15 TpDataSessionSuperviseVolume.33
11.2.16 TpDataSessionSuperviseReport.33
11.2.17 TpDataSessionSuperviseTreatment.34
11.2.18 TpDataSessionReport.34
11.2.19 TpDataSessionAdditionalReportInfo.34
11.2.20 TpDataSessionReportRequest.34
11.2.21 TpDataSessionReportRequestSet.34
11.2.22 TpDataSessionReportType.35
11.2.23 TpDataSessionEventCriteriaResult.35
11.2.24 TpDataSessionEventCriteriaResultSet.35
Annex A (normative): OMG IDL Description of Data Session Control SCF.36
Annex B (informative): W3C WSDL Description of Data Session Control SCF .37
Annex C (informative): Java™ API Description of the Data Session Control SCF.38
Annex D (informative): Contents of 3GPP OSA R7 Data Session Control.39
Annex E (informative): Description of Data Session Control for 3GPP2 cdma2000 networks .40
E.1 General Exceptions.40
ETSI
5 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
E.2 Specific Exceptions.40
E.2.1 Clause 1: Scope .40
E.2.2 Clause 2: References .40
E.2.3 Clause 3: Definitions and abbreviations.40
E.2.4 Clause 4: Data Session Control SCF .40
E.2.5 Clause 5: Sequence Diagrams .40
E.2.6 Clause 6: Class Diagrams.40
E.2.7 Clause 7: The Service Interface Specifications .40
E.2.8 Clause 8: Data Session Control Interface Classes .41
E.2.9 Clause 9: State Transition Diagrams .41
E.2.10 Clause 10: Data Session Control Service Properties .41
E.2.11 Clause 11: Data Definitions.41
E.2.12 Annex A (normative): OMG IDL Description of Data Session Control SCF .41
E.2.13 Annex B (informative): W3C WSDL Description of Data Session Control SCF .41
Annex F (informative): Record of changes .42
F.1 Interfaces.42
F.1.1 New.42
F.1.2 Deprecated.42
F.1.3 Removed.42
F.2 Methods.42
F.2.1 New.42
F.2.2 Deprecated.42
F.2.3 Modified.43
F.2.4 Removed.43
F.3 Data Definitions.43
F.3.1 New.43
F.3.2 Modified.43
F.3.3 Removed.43
F.4 Service Properties.43
F.4.1 New.43
F.4.2 Deprecated.44
F.4.3 Modified.44
F.4.4 Removed.44
F.5 Exceptions.44
F.5.1 New.44
F.5.2 Modified.44
F.5.3 Removed.44
F.6 Others.44
History .45

ETSI
6 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (http://webapp.etsi.org/IPR/home.asp).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Telecommunications and Internet
converged Services and Protocols for Advanced Networking (TISPAN), and is now submitted for the ETSI standards
Membership Approval Procedure.
The present document is part 8 of a multi-part deliverable covering Open Service Access (OSA); Application
Programming Interface (API), as identified below. The API specification (ES 204 915) is structured in the following
parts:
Part 1: "Overview";
Part 2: "Common Data Definitions";
Part 3: "Framework";
Part 4: "Call Control";
Part 5: "User Interaction SCF";
Part 6: "Mobility SCF";
Part 7: "Terminal Capabilities SCF";
Part 8: "Data Session Control SCF";
Part 9: "Generic Messaging SCF";
Part 10: "Connectivity Manager SCF";
Part 11: "Account Management SCF";
Part 12: "Charging SCF";
Part 13: "Policy Management SCF";
Part 14: "Presence and Availability Management SCF";
Part 15: "Multi-Media Messaging SCF";
Part 16: "Service Broker SCF".
The present document has been defined jointly between ETSI, The Parlay Group (http://www.parlay.org) and the 3GPP,
in co-operation with a number of JAIN™ Community (http://www.java.sun.com/products/jain) member companies.
The present document forms part of the Parlay 6.0 set of specifications.
The present document is equivalent to 3GPP TS 29.198-8 V7.0.0 (Release 7).
ETSI
7 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open
Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality
through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All
aspects of the Data Session Control SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the
Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute
provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview
(Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply.
ETSI
8 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues;
2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session
1 n
Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it
comprises a PDP context in GPRS.

Figure 1: Data Session control interfaces usage relationship
The Data Session Control service capability features are described in terms of the methods in the Data Session Control
interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods
belong.
Table 1: Overview of Data Session Control interfaces and their methods
Data Session Manager Data Session
createNotifications connectReq
destroyNotification connectRes
dataSessionNotificationInterrupted connectErr
dataSessionNotificationContinued release
reportNotification superviseDataSessionReq
dataSessionAborted superviseDataSessionRes
getNotifications superviseDataSessionErr
changeNotification dataSessionFaultDetected
enableNotifications setAdviceofCharge
disableNotifications setDataSessionChargePlan

The session manager interface provides the management functions to the data session service capability features. The
application programmer can use this interface to enable or disable data session-related event notifications.
The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF).
The order is as follows:
• The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
• The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
• The Interface specification clause describes in detail each of the interfaces shown within the Class diagram
part.
• The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions
are well-defined; either methods specified in the Interface specification or events occurring in the underlying
networks cause state transitions.
• The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods
within the classes. Note that some data types are used in other methods and classes and are therefore defined
within the Common Data types part ES 204 915-2.
ETSI
9 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall
support or implement the functionality described for that method, for at least one valid set of values for the parameters
of that method.
Where a method is not supported by an implementation of a Service interface, the exception
P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.
Where a method is not supported by an implementation of an Application interface, a call to that method shall be
possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the
application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager
1: new ( )
2: enableNotifications( )
3: reportNotification(  )
4: 'forward event'
5: reportNotification(  )
6: 'forward event'
7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle
callbacks.
ETSI
10 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the
application is ready to receive notifications that are created in the network. For illustrative purposes we assume
notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface.
4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface.
6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes
disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send
any notifications to the application that are created in the network. The application will still receive
notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion
1: createNotifications( )
ETSI
11 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on
1: createNotifications( )
2: reportNotification()
3: 'translate address'
4: setCallback( )
5: superviseDataSessionReq(  )
6: connectReq(  )
7: superviseDataSessionRes()
8: superviseDataSessionReq(  )
9: superviseDataSessionRes()
10: ConnectRes( )
ETSI
12 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
6 Class Diagrams
Data Session Control Class Diagram:
<>
IpInterface
(from csapi)
<> <>
IpAppDataSessionControlManager IpAppDataSession
(from dsc) (from dsc)
dataSessionAborted() connectRes()
101 0.nn
reportNotification() connectErr()
dataSessionNotificationContinued() superviseDataSessionRes()
dataSessionNotificationInterrupted() superviseDataSessionErr()
abortMultipleDataSessions() dataSessionFaultDetected()
<>
<>
<>
<>
IpDataSession
IpDataSessionControlManager
(from dsc)
(from dsc)
connectReq()
destroyNotification()
release()
changeNotification()
11 00.n.n
superviseDataSessionReq()
enableNotifications()
setDataSessionChargePlan()
disableNotifications()
setAdviceOfCharge()
getNotifications()
deassignDataSession()
createNotifications()
continueProcessing()
<>
IpService
(from csapi)
setCallback()
setCallbackWithSessionID()
Figure 2: Package Overview
ETSI
13 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified
Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is
described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters
and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with
name Ip. The callback interfaces to the applications are denoted by classes with name IpApp. For the
interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name
IpSvc, while the Framework interfaces are denoted by classes with name IpFw.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API.
Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by
asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle
responses and reports, the application or service developer must implement the relevant IpApp or IpSvc
interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have
a value when the method is called. Those described as 'out' are those that contain the return result of the method when
the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not
provide any additional methods.
<>
IpInterface
ETSI
14 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user
interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that
must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface;
All service interfaces inherit from the following interface.
<>
IpService
setCallback (appInterface : in IpInterfaceRef) : void
setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the
application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this
method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent
callback interface provided by the application using this method. In the event that a callback reference fails or is no
longer available, the next most recent callback reference available shall be used.
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
Raises
TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions
associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an
interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple
callback references being specified. The SCS shall use the most recent callback interface provided by the application
using this method. In the event that a callback reference fails or is no longer available, the next most recent callback
reference available shall be used.
ETSI
15 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
sessionID : in TpSessionID
Specifies the session for which the service can invoke the application's callback interface.
Raises
TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session.
This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach
mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the
model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for
data session establishment, can continue the establishment or can continue and change the destination as requested by
the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An
IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas
the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports.
<>
IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in
TpAssignmentID) : void
connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in
TpAssignmentID) : void
superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport,
usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void
superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void
dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void

ETSI
16 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful,
and indicates the response of the destination party (e.g. connected, disconnected).
Parameters
dataSessionID : in TpSessionID
Specifies the session ID of the data session.
eventReport : in TpDataSessionReport
Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring
mode, negotiated quality of service and event specific information such as release cause.
assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was
unsuccessful, e.g. an error detected in the network or the data session was abandoned.
Parameters
dataSessionID : in TpSessionID
Specifies the session ID.
errorIndication : in TpDataSessionError
Specifies the error which led to the original request failing.
assignmentID : in TpAssignmentID
8.1.3 Method superviseDataSessionRes()
This asynchronous method reports a data session supervision event to the application. In addition, it may also be used to
notify the application of a newly negotiated set of Quality of Service parameters during the active life of the data
session.
Parameters
dataSessionID : in TpSessionID
Specifies the data session.
report : in TpDataSessionSuperviseReport
Specifies the situation, which triggered the sending of the data session supervision response.
usedVolume : in TpDataSessionSuperviseVolume
Specifies the used volume for the data session supervision (in the same unit as specified in the request).
qualityOfService : in TpDataSessionQosClass
Specifies the newly negotiated Quality of Service parameters for the data session.
ETSI
17 Final draft ETSI ES 204 915-8 V1.1.1 (2008-02)
8.1.4 Method superviseDataSessionErr()
This asynchronous method reports a data session supervision error to the application.
Parameters
dataSessionID : i
...


ETSI Standard
Open Service Access (OSA);
Application Programming Interface (API);
Part 8: Data Session Control SCF
(Parlay 6)
�
2 ETSI ES 204 915-8 V1.1.1 (2008-05)

Reference
DES/TISPAN-01032-8-OSA
Keywords
API, IDL, OSA, UML
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.

© European Telecommunications Standards Institute 2008.
© The Parlay Group 2008.
All rights reserved.
TM TM TM TM
DECT , PLUGTESTS , UMTS , TIPHON , the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered
for the benefit of its Members.
TM
3GPP is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners.
ETSI
3 ETSI ES 204 915-8 V1.1.1 (2008-05)
Contents
Intellectual Property Rights.6
Foreword.6
1 Scope.7
2 References.7
3 Definitions and abbreviations.7
3.1 Definitions.7
3.2 Abbreviations.7
4 Data Session Control SCF.8
4.1 General requirements on support of methods.9
5 Sequence Diagrams.9
5.1 Network Controlled Notifications .9
5.2 Enable Data Session Notification.10
5.3 Address Translation With Charging.11
6 Class Diagrams.12
7 The Service Interface Specifications.13
7.1 Interface Specification Format .13
7.1.1 Interface Class.13
7.1.2 Method descriptions.13
7.1.3 Parameter descriptions.13
7.1.4 State Model.13
7.2 Base Interface.13
7.2.1 Interface Class IpInterface .13
7.3 Service Interfaces.14
7.3.1 Overview.14
7.4 Generic Service Interface .14
7.4.1 Interface Class IpService .14
7.4.1.1 Method setCallback().14
7.4.1.2 Method setCallbackWithSessionID().14
8 Data Session Control Interface Classes.15
8.1 Interface Class IpAppDataSession .15
8.1.1 Method connectRes().16
8.1.2 Method connectErr().16
8.1.3 Method superviseDataSessionRes().16
8.1.4 Method superviseDataSessionErr().17
8.1.5 Method dataSessionFaultDetected().17
8.2 Interface Class IpAppDataSessionControlManager .17
8.2.1 Method dataSessionAborted().18
8.2.2 Method reportNotification().18
8.2.3 Method dataSessionNotificationContinued().18
8.2.4 Method dataSessionNotificationInterrupted().19
8.2.5 Method abortMultipleDataSessions().19
8.3 Interface Class IpDataSession .19
8.3.1 Method connectReq().20
8.3.2 Method release().20
8.3.3 Method superviseDataSessionReq().20
8.3.4 Method setDataSessionChargePlan().21
8.3.5 Method setAdviceOfCharge().21
8.3.6 Method deassignDataSession().21
8.3.7 Method continueProcessing().22
8.4 Interface Class IpDataSessionControlManager.22
8.4.1 Method destroyNotification().23
ETSI
4 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.4.2 Method changeNotification().23
8.4.3 Method enableNotifications().23
8.4.4 Method disableNotifications().24
8.4.5 Method getNotifications().24
8.4.6 Method createNotifications().24
9 State Transition Diagrams.25
9.1 State Transition Diagrams for IpDataSession.25
9.1.1 Network Released State .26
9.1.2 Finished State.26
9.1.3 Application Released State.26
9.1.4 Active State.27
9.1.5 Setup State.27
9.1.6 Established State.27
10 Data Session Control Service Properties.27
11 Data Definitions.28
11.1 Data Session Control Data Definitions.28
11.1.1 IpAppDataSession.28
11.1.2 IpAppDataSessionRef.28
11.1.3 IpAppDataSessionControlManager.28
11.1.4 IpAppDataSessionControlManagerRef.28
11.1.5 IpDataSession.29
11.1.6 IpDataSessionRef.29
11.1.7 IpDataSessionControlManager.29
11.1.8 IpDataSessionControlManagerRef.29
11.2 Event Notification data definitions.29
11.2.1 TpDataSessionEventName.29
11.2.2 TpDataSessionMonitorMode.29
11.2.3 TpDataSessionEventCriteria.30
11.2.4 TpDataSessionEventInfo.30
11.2.5 TpDataSessionChargePlan.30
11.2.6 TpDataSessionChargeOrder.31
11.2.7 TpDataSessionChargeOrderCategory.31
11.2.8 TpChargePerVolume.32
11.2.9 TpDataSessionIdentifier.32
11.2.10 TpDataSessionError.32
11.2.11 TpDataSessionAdditionalErrorInfo.32
11.2.12 TpDataSessionErrorType.32
11.2.13 TpDataSessionFault.33
11.2.14 TpDataSessionReleaseCause.33
11.2.15 TpDataSessionSuperviseVolume.33
11.2.16 TpDataSessionSuperviseReport.33
11.2.17 TpDataSessionSuperviseTreatment.34
11.2.18 TpDataSessionReport.34
11.2.19 TpDataSessionAdditionalReportInfo.34
11.2.20 TpDataSessionReportRequest.34
11.2.21 TpDataSessionReportRequestSet.34
11.2.22 TpDataSessionReportType.35
11.2.23 TpDataSessionEventCriteriaResult.35
11.2.24 TpDataSessionEventCriteriaResultSet.35
Annex A (normative): OMG IDL Description of Data Session Control SCF.36
Annex B (informative): W3C WSDL Description of Data Session Control SCF .37
Annex C (informative): Java™ API Description of the Data Session Control SCF.38
Annex D (informative): Contents of 3GPP OSA R7 Data Session Control.39
Annex E (informative): Description of Data Session Control for 3GPP2 cdma2000 networks .40
E.1 General Exceptions.40
ETSI
5 ETSI ES 204 915-8 V1.1.1 (2008-05)
E.2 Specific Exceptions.40
E.2.1 Clause 1: Scope .40
E.2.2 Clause 2: References .40
E.2.3 Clause 3: Definitions and abbreviations.40
E.2.4 Clause 4: Data Session Control SCF .40
E.2.5 Clause 5: Sequence Diagrams .40
E.2.6 Clause 6: Class Diagrams.40
E.2.7 Clause 7: The Service Interface Specifications .40
E.2.8 Clause 8: Data Session Control Interface Classes .41
E.2.9 Clause 9: State Transition Diagrams .41
E.2.10 Clause 10: Data Session Control Service Properties .41
E.2.11 Clause 11: Data Definitions.41
E.2.12 Annex A (normative): OMG IDL Description of Data Session Control SCF .41
E.2.13 Annex B (informative): W3C WSDL Description of Data Session Control SCF .41
Annex F (informative): Record of changes .42
F.1 Interfaces.42
F.1.1 New.42
F.1.2 Deprecated.42
F.1.3 Removed.42
F.2 Methods.42
F.2.1 New.42
F.2.2 Deprecated.42
F.2.3 Modified.43
F.2.4 Removed.43
F.3 Data Definitions.43
F.3.1 New.43
F.3.2 Modified.43
F.3.3 Removed.43
F.4 Service Properties.43
F.4.1 New.43
F.4.2 Deprecated.44
F.4.3 Modified.44
F.4.4 Removed.44
F.5 Exceptions.44
F.5.1 New.44
F.5.2 Modified.44
F.5.3 Removed.44
F.6 Others.44
History .45

ETSI
6 ETSI ES 204 915-8 V1.1.1 (2008-05)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (http://webapp.etsi.org/IPR/home.asp).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Telecommunications and Internet
converged Services and Protocols for Advanced Networking (TISPAN).
The present document is part 8 of a multi-part deliverable covering Open Service Access (OSA); Application
Programming Interface (API), as identified below. The API specification (ES 204 915) is structured in the following
parts:
Part 1: "Overview";
Part 2: "Common Data Definitions";
Part 3: "Framework";
Part 4: "Call Control";
Part 5: "User Interaction SCF";
Part 6: "Mobility SCF";
Part 7: "Terminal Capabilities SCF";
Part 8: "Data Session Control SCF";
Part 9: "Generic Messaging SCF";
Part 10: "Connectivity Manager SCF";
Part 11: "Account Management SCF";
Part 12: "Charging SCF";
Part 13: "Policy Management SCF";
Part 14: "Presence and Availability Management SCF";
Part 15: "Multi-Media Messaging SCF";
Part 16: "Service Broker SCF".
The present document has been defined jointly between ETSI, The Parlay Group (http://www.parlay.org) and the 3GPP,
in co-operation with a number of JAIN™ Community (http://www.java.sun.com/products/jain) member companies.
The present document forms part of the Parlay 6.0 set of specifications.
The present document is equivalent to 3GPP TS 29.198-8 V7.0.0 (Release 7).
ETSI
7 ETSI ES 204 915-8 V1.1.1 (2008-05)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open
Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality
through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All
aspects of the Data Session Control SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the
Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute
provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview
(Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply.
ETSI
8 ETSI ES 204 915-8 V1.1.1 (2008-05)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues;
2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session
1 n
Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it
comprises a PDP context in GPRS.

Figure 1: Data Session control interfaces usage relationship
The Data Session Control service capability features are described in terms of the methods in the Data Session Control
interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods
belong.
Table 1: Overview of Data Session Control interfaces and their methods
Data Session Manager Data Session
createNotifications connectReq
destroyNotification connectRes
dataSessionNotificationInterrupted connectErr
dataSessionNotificationContinued release
reportNotification superviseDataSessionReq
dataSessionAborted superviseDataSessionRes
getNotifications superviseDataSessionErr
changeNotification dataSessionFaultDetected
enableNotifications setAdviceofCharge
disableNotifications setDataSessionChargePlan

The session manager interface provides the management functions to the data session service capability features. The
application programmer can use this interface to enable or disable data session-related event notifications.
The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF).
The order is as follows:
• The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
• The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
• The Interface specification clause describes in detail each of the interfaces shown within the Class diagram
part.
• The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions
are well-defined; either methods specified in the Interface specification or events occurring in the underlying
networks cause state transitions.
• The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods
within the classes. Note that some data types are used in other methods and classes and are therefore defined
within the Common Data types part ES 204 915-2.
ETSI
9 ETSI ES 204 915-8 V1.1.1 (2008-05)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall
support or implement the functionality described for that method, for at least one valid set of values for the parameters
of that method.
Where a method is not supported by an implementation of a Service interface, the exception
P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.
Where a method is not supported by an implementation of an Application interface, a call to that method shall be
possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the
application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager
1: new ( )
2: enableNotifications( )
3: reportNotification(  )
4: 'forward event'
5: reportNotification(  )
6: 'forward event'
7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle
callbacks.
ETSI
10 ETSI ES 204 915-8 V1.1.1 (2008-05)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the
application is ready to receive notifications that are created in the network. For illustrative purposes we assume
notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface.
4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface.
6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes
disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send
any notifications to the application that are created in the network. The application will still receive
notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion
1: createNotifications( )
ETSI
11 ETSI ES 204 915-8 V1.1.1 (2008-05)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on
1: createNotifications( )
2: reportNotification()
3: 'translate address'
4: setCallback( )
5: superviseDataSessionReq(  )
6: connectReq(  )
7: superviseDataSessionRes()
8: superviseDataSessionReq(  )
9: superviseDataSessionRes()
10: ConnectRes( )
ETSI
12 ETSI ES 204 915-8 V1.1.1 (2008-05)
6 Class Diagrams
Data Session Control Class Diagram:
<>
IpInterface
(from csapi)
<> <>
IpAppDataSessionControlManager IpAppDataSession
(from dsc) (from dsc)
dataSessionAborted() connectRes()
101 0.nn
reportNotification() connectErr()
dataSessionNotificationContinued() superviseDataSessionRes()
dataSessionNotificationInterrupted() superviseDataSessionErr()
abortMultipleDataSessions() dataSessionFaultDetected()
<>
<>
<>
<>
IpDataSession
IpDataSessionControlManager
(from dsc)
(from dsc)
connectReq()
destroyNotification()
release()
changeNotification()
11 00.n.n
superviseDataSessionReq()
enableNotifications()
setDataSessionChargePlan()
disableNotifications()
setAdviceOfCharge()
getNotifications()
deassignDataSession()
createNotifications()
continueProcessing()
<>
IpService
(from csapi)
setCallback()
setCallbackWithSessionID()
Figure 2: Package Overview
ETSI
13 ETSI ES 204 915-8 V1.1.1 (2008-05)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified
Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is
described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters
and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with
name Ip. The callback interfaces to the applications are denoted by classes with name IpApp. For the
interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name
IpSvc, while the Framework interfaces are denoted by classes with name IpFw.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API.
Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by
asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle
responses and reports, the application or service developer must implement the relevant IpApp or IpSvc
interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have
a value when the method is called. Those described as 'out' are those that contain the return result of the method when
the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not
provide any additional methods.
<>
IpInterface
ETSI
14 ETSI ES 204 915-8 V1.1.1 (2008-05)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user
interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that
must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface;
All service interfaces inherit from the following interface.
<>
IpService
setCallback (appInterface : in IpInterfaceRef) : void
setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the
application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this
method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent
callback interface provided by the application using this method. In the event that a callback reference fails or is no
longer available, the next most recent callback reference available shall be used.
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
Raises
TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions
associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an
interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple
callback references being specified. The SCS shall use the most recent callback interface provided by the application
using this method. In the event that a callback reference fails or is no longer available, the next most recent callback
reference available shall be used.
ETSI
15 ETSI ES 204 915-8 V1.1.1 (2008-05)
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
sessionID : in TpSessionID
Specifies the session for which the service can invoke the application's callback interface.
Raises
TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session.
This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach
mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the
model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for
data session establishment, can continue the establishment or can continue and change the destination as requested by
the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An
IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas
the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports.
<>
IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in
TpAssignmentID) : void
connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in
TpAssignmentID) : void
superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport,
usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void
superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void
dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void

ETSI
16 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful,
and indicates the response of the destination party (e.g. connected, disconnected).
Parameters
dataSessionID : in TpSessionID
Specifies the session ID of the data session.
eventReport : in TpDataSessionReport
Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring
mode, negotiated quality of service and event specific information such as release cause.
assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was
unsuccessful, e.g. an error detected in the network or the data session was abandoned.
Parameters
dataSessionID : in TpSessionID
Specifies the session ID.
errorIndication : in TpDataSessionError
Specifies the error which led to the original request failing.
assignmentID : in TpAssignmentID
8.1.3 Method superviseDataSessionRes()
This asynchronous method reports a data session supervision event to the application. In addition, it may also be used to
notify the application of a newly negotiated set of Quality of Service parameters during the active life of the data
session.
Parameters
dataSessionID : in TpSessionID
Specifies the data session.
report : in TpDataSessionSuperviseReport
Specifies the situation, which triggered the sending of the data session supervision response.
usedVolume : in TpDataSessionSuperviseVolume
Specifies the used volume for the data session supervision (in the same unit as specified in the request).
qualityOfService : in TpDataSessionQosClass
Specifies the newly negotiated Quality of Service parameters for the data session.
ETSI
17 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.4 Method superviseDataSessionErr()
This asynchronous method reports a data session supervision error to the application.
Parameters
dataSessionID : in TpSessionID
Specifies the data session ID.
errorIndication : in TpDataSessionError
Specifies the error which led to the original request failing.
8.1.5 Method dataSessionFaultDetected()
This method indicates to the application that a fault in the network has been detected
...


SLOVENSKI STANDARD
01-september-2008
Odprti dostop do storitve (OSA) - Aplikacijski programski vmesnik (API) - 8. del:
Lastnost storitvene zmožnosti (SCF) pri krmiljenju podatkovne seje (Parlay 6)
Open Service Access (OSA) - Application Programming Interface (API) - Part 8: Data
Session Control SCF (Parlay 6)
Ta slovenski standard je istoveten z: ES 204 915-8 Version 1.1.1
ICS:
35.100.01 Medsebojno povezovanje Open systems
odprtih sistemov na splošno interconnection in general
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

ETSI Standard
Open Service Access (OSA);
Application Programming Interface (API);
Part 8: Data Session Control SCF
(Parlay 6)
�
2 ETSI ES 204 915-8 V1.1.1 (2008-05)

Reference
DES/TISPAN-01032-8-OSA
Keywords
API, IDL, OSA, UML
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.

© European Telecommunications Standards Institute 2008.
© The Parlay Group 2008.
All rights reserved.
TM TM TM TM
DECT , PLUGTESTS , UMTS , TIPHON , the TIPHON logo and the ETSI logo are Trade Marks of ETSI registered
for the benefit of its Members.
TM
3GPP is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners.
ETSI
3 ETSI ES 204 915-8 V1.1.1 (2008-05)
Contents
Intellectual Property Rights.6
Foreword.6
1 Scope.7
2 References.7
3 Definitions and abbreviations.7
3.1 Definitions.7
3.2 Abbreviations.7
4 Data Session Control SCF.8
4.1 General requirements on support of methods.9
5 Sequence Diagrams.9
5.1 Network Controlled Notifications .9
5.2 Enable Data Session Notification.10
5.3 Address Translation With Charging.11
6 Class Diagrams.12
7 The Service Interface Specifications.13
7.1 Interface Specification Format .13
7.1.1 Interface Class.13
7.1.2 Method descriptions.13
7.1.3 Parameter descriptions.13
7.1.4 State Model.13
7.2 Base Interface.13
7.2.1 Interface Class IpInterface .13
7.3 Service Interfaces.14
7.3.1 Overview.14
7.4 Generic Service Interface .14
7.4.1 Interface Class IpService .14
7.4.1.1 Method setCallback().14
7.4.1.2 Method setCallbackWithSessionID().14
8 Data Session Control Interface Classes.15
8.1 Interface Class IpAppDataSession .15
8.1.1 Method connectRes().16
8.1.2 Method connectErr().16
8.1.3 Method superviseDataSessionRes().16
8.1.4 Method superviseDataSessionErr().17
8.1.5 Method dataSessionFaultDetected().17
8.2 Interface Class IpAppDataSessionControlManager .17
8.2.1 Method dataSessionAborted().18
8.2.2 Method reportNotification().18
8.2.3 Method dataSessionNotificationContinued().18
8.2.4 Method dataSessionNotificationInterrupted().19
8.2.5 Method abortMultipleDataSessions().19
8.3 Interface Class IpDataSession .19
8.3.1 Method connectReq().20
8.3.2 Method release().20
8.3.3 Method superviseDataSessionReq().20
8.3.4 Method setDataSessionChargePlan().21
8.3.5 Method setAdviceOfCharge().21
8.3.6 Method deassignDataSession().21
8.3.7 Method continueProcessing().22
8.4 Interface Class IpDataSessionControlManager.22
8.4.1 Method destroyNotification().23
ETSI
4 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.4.2 Method changeNotification().23
8.4.3 Method enableNotifications().23
8.4.4 Method disableNotifications().24
8.4.5 Method getNotifications().24
8.4.6 Method createNotifications().24
9 State Transition Diagrams.25
9.1 State Transition Diagrams for IpDataSession.25
9.1.1 Network Released State .26
9.1.2 Finished State.26
9.1.3 Application Released State.26
9.1.4 Active State.27
9.1.5 Setup State.27
9.1.6 Established State.27
10 Data Session Control Service Properties.27
11 Data Definitions.28
11.1 Data Session Control Data Definitions.28
11.1.1 IpAppDataSession.28
11.1.2 IpAppDataSessionRef.28
11.1.3 IpAppDataSessionControlManager.28
11.1.4 IpAppDataSessionControlManagerRef.28
11.1.5 IpDataSession.29
11.1.6 IpDataSessionRef.29
11.1.7 IpDataSessionControlManager.29
11.1.8 IpDataSessionControlManagerRef.29
11.2 Event Notification data definitions.29
11.2.1 TpDataSessionEventName.29
11.2.2 TpDataSessionMonitorMode.29
11.2.3 TpDataSessionEventCriteria.30
11.2.4 TpDataSessionEventInfo.30
11.2.5 TpDataSessionChargePlan.30
11.2.6 TpDataSessionChargeOrder.31
11.2.7 TpDataSessionChargeOrderCategory.31
11.2.8 TpChargePerVolume.32
11.2.9 TpDataSessionIdentifier.32
11.2.10 TpDataSessionError.32
11.2.11 TpDataSessionAdditionalErrorInfo.32
11.2.12 TpDataSessionErrorType.32
11.2.13 TpDataSessionFault.33
11.2.14 TpDataSessionReleaseCause.33
11.2.15 TpDataSessionSuperviseVolume.33
11.2.16 TpDataSessionSuperviseReport.33
11.2.17 TpDataSessionSuperviseTreatment.34
11.2.18 TpDataSessionReport.34
11.2.19 TpDataSessionAdditionalReportInfo.34
11.2.20 TpDataSessionReportRequest.34
11.2.21 TpDataSessionReportRequestSet.34
11.2.22 TpDataSessionReportType.35
11.2.23 TpDataSessionEventCriteriaResult.35
11.2.24 TpDataSessionEventCriteriaResultSet.35
Annex A (normative): OMG IDL Description of Data Session Control SCF.36
Annex B (informative): W3C WSDL Description of Data Session Control SCF .37
Annex C (informative): Java™ API Description of the Data Session Control SCF.38
Annex D (informative): Contents of 3GPP OSA R7 Data Session Control.39
Annex E (informative): Description of Data Session Control for 3GPP2 cdma2000 networks .40
E.1 General Exceptions.40
ETSI
5 ETSI ES 204 915-8 V1.1.1 (2008-05)
E.2 Specific Exceptions.40
E.2.1 Clause 1: Scope .40
E.2.2 Clause 2: References .40
E.2.3 Clause 3: Definitions and abbreviations.40
E.2.4 Clause 4: Data Session Control SCF .40
E.2.5 Clause 5: Sequence Diagrams .40
E.2.6 Clause 6: Class Diagrams.40
E.2.7 Clause 7: The Service Interface Specifications .40
E.2.8 Clause 8: Data Session Control Interface Classes .41
E.2.9 Clause 9: State Transition Diagrams .41
E.2.10 Clause 10: Data Session Control Service Properties .41
E.2.11 Clause 11: Data Definitions.41
E.2.12 Annex A (normative): OMG IDL Description of Data Session Control SCF .41
E.2.13 Annex B (informative): W3C WSDL Description of Data Session Control SCF .41
Annex F (informative): Record of changes .42
F.1 Interfaces.42
F.1.1 New.42
F.1.2 Deprecated.42
F.1.3 Removed.42
F.2 Methods.42
F.2.1 New.42
F.2.2 Deprecated.42
F.2.3 Modified.43
F.2.4 Removed.43
F.3 Data Definitions.43
F.3.1 New.43
F.3.2 Modified.43
F.3.3 Removed.43
F.4 Service Properties.43
F.4.1 New.43
F.4.2 Deprecated.44
F.4.3 Modified.44
F.4.4 Removed.44
F.5 Exceptions.44
F.5.1 New.44
F.5.2 Modified.44
F.5.3 Removed.44
F.6 Others.44
History .45

ETSI
6 ETSI ES 204 915-8 V1.1.1 (2008-05)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (http://webapp.etsi.org/IPR/home.asp).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This ETSI Standard (ES) has been produced by ETSI Technical Committee Telecommunications and Internet
converged Services and Protocols for Advanced Networking (TISPAN).
The present document is part 8 of a multi-part deliverable covering Open Service Access (OSA); Application
Programming Interface (API), as identified below. The API specification (ES 204 915) is structured in the following
parts:
Part 1: "Overview";
Part 2: "Common Data Definitions";
Part 3: "Framework";
Part 4: "Call Control";
Part 5: "User Interaction SCF";
Part 6: "Mobility SCF";
Part 7: "Terminal Capabilities SCF";
Part 8: "Data Session Control SCF";
Part 9: "Generic Messaging SCF";
Part 10: "Connectivity Manager SCF";
Part 11: "Account Management SCF";
Part 12: "Charging SCF";
Part 13: "Policy Management SCF";
Part 14: "Presence and Availability Management SCF";
Part 15: "Multi-Media Messaging SCF";
Part 16: "Service Broker SCF".
The present document has been defined jointly between ETSI, The Parlay Group (http://www.parlay.org) and the 3GPP,
in co-operation with a number of JAIN™ Community (http://www.java.sun.com/products/jain) member companies.
The present document forms part of the Parlay 6.0 set of specifications.
The present document is equivalent to 3GPP TS 29.198-8 V7.0.0 (Release 7).
ETSI
7 ETSI ES 204 915-8 V1.1.1 (2008-05)
1 Scope
The present document is part 8 of the Stage 3 specification for an Application Programming Interface (API) for Open
Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality
through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Data Session Control Service Capability Feature (SCF) aspects of the interface. All
aspects of the Data Session Control SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the
Unified Modelling Language (UML).
2 References
The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute
provisions of the present document.
ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview
(Parlay 6)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in ES 204 915-1 apply.
ETSI
8 ETSI ES 204 915-8 V1.1.1 (2008-05)
4 Data Session Control SCF
The Data Session control network service capability feature consists of two interfaces:
1) Data Session manager, containing management functions for data session related issues;
2) Data Session, containing methods to control a session.
A session can be controlled by one Data Session Manager only. Data Session Manager can control several sessions.
Data Session Data Session
1 n
Manager
NOTE: The term "data session" is used in a broad sense to describe a data connection/session. For example, it
comprises a PDP context in GPRS.

Figure 1: Data Session control interfaces usage relationship
The Data Session Control service capability features are described in terms of the methods in the Data Session Control
interfaces. Table 1 gives an overview of the Data Session Control methods and to which interfaces these methods
belong.
Table 1: Overview of Data Session Control interfaces and their methods
Data Session Manager Data Session
createNotifications connectReq
destroyNotification connectRes
dataSessionNotificationInterrupted connectErr
dataSessionNotificationContinued release
reportNotification superviseDataSessionReq
dataSessionAborted superviseDataSessionRes
getNotifications superviseDataSessionErr
changeNotification dataSessionFaultDetected
enableNotifications setAdviceofCharge
disableNotifications setDataSessionChargePlan

The session manager interface provides the management functions to the data session service capability features. The
application programmer can use this interface to enable or disable data session-related event notifications.
The following clauses describe each aspect of the Data Session Control Service Capability Feature (SCF).
The order is as follows:
• The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
• The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
• The Interface specification clause describes in detail each of the interfaces shown within the Class diagram
part.
• The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions
are well-defined; either methods specified in the Interface specification or events occurring in the underlying
networks cause state transitions.
• The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods
within the classes. Note that some data types are used in other methods and classes and are therefore defined
within the Common Data types part ES 204 915-2.
ETSI
9 ETSI ES 204 915-8 V1.1.1 (2008-05)
4.1 General requirements on support of methods
An implementation of this API which supports or implements a method described in the present document, shall
support or implement the functionality described for that method, for at least one valid set of values for the parameters
of that method.
Where a method is not supported by an implementation of a Service interface, the exception
P_METHOD_NOT_SUPPORTED shall be returned to any call of that method.
Where a method is not supported by an implementation of an Application interface, a call to that method shall be
possible, and no exception shall be returned.
5 Sequence Diagrams
5.1 Network Controlled Notifications
The following sequence diagram shows how an application can receive notifications that have not been created by the
application, but are provisioned from within the network.
AppLogic : :
IpAppDataSessionControlManager IpDataSessionControlManager
1: new ( )
2: enableNotifications( )
3: reportNotification(  )
4: 'forward event'
5: reportNotification(  )
6: 'forward event'
7: disableNotifications( )
1: The application is started. The application creates a new IpAppDataSessionControlManager to handle
callbacks.
ETSI
10 ETSI ES 204 915-8 V1.1.1 (2008-05)
2: The enableNotifications method is invoked on the IpDataSessionControlManager interface to indicate that the
application is ready to receive notifications that are created in the network. For illustrative purposes we assume
notifications of type "B" are created in the network.
3: When a network created trigger occurs the application is notified on the callback interface.
4: The event is forwarded to the application.
5: When a network created trigger occurs the application is notified on the callback interface.
6: The event is forwarded to the application.
7: When the application does not want to receive notifications created in the network anymore, it invokes
disableNotifications on the IpDataSessionControlManager interface. From now on the gateway will not send
any notifications to the application that are created in the network. The application will still receive
notifications that it has created itself until the application removes them.
5.2 Enable Data Session Notification
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDataSes sion
1: createNotifications( )
ETSI
11 ETSI ES 204 915-8 V1.1.1 (2008-05)
5.3 Address Translation With Charging
Application Data Session Manager : Data Session :
IpDataSessionControlManager IpDat aSessi on
1: createNotifications( )
2: reportNotification()
3: 'translate address'
4: setCallback( )
5: superviseDataSessionReq(  )
6: connectReq(  )
7: superviseDataSessionRes()
8: superviseDataSessionReq(  )
9: superviseDataSessionRes()
10: ConnectRes( )
ETSI
12 ETSI ES 204 915-8 V1.1.1 (2008-05)
6 Class Diagrams
Data Session Control Class Diagram:
<>
IpInterface
(from csapi)
<> <>
IpAppDataSessionControlManager IpAppDataSession
(from dsc) (from dsc)
dataSessionAborted() connectRes()
101 0.nn
reportNotification() connectErr()
dataSessionNotificationContinued() superviseDataSessionRes()
dataSessionNotificationInterrupted() superviseDataSessionErr()
abortMultipleDataSessions() dataSessionFaultDetected()
<>
<>
<>
<>
IpDataSession
IpDataSessionControlManager
(from dsc)
(from dsc)
connectReq()
destroyNotification()
release()
changeNotification()
11 00.n.n
superviseDataSessionReq()
enableNotifications()
setDataSessionChargePlan()
disableNotifications()
setAdviceOfCharge()
getNotifications()
deassignDataSession()
createNotifications()
continueProcessing()
<>
IpService
(from csapi)
setCallback()
setCallbackWithSessionID()
Figure 2: Package Overview
ETSI
13 ETSI ES 204 915-8 V1.1.1 (2008-05)
7 The Service Interface Specifications
7.1 Interface Specification Format
This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified
Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is
described below.
7.1.1 Interface Class
This shows a UML interface class description of the methods supported by that interface, and the relevant parameters
and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with
name Ip. The callback interfaces to the applications are denoted by classes with name IpApp. For the
interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name
IpSvc, while the Framework interfaces are denoted by classes with name IpFw.
7.1.2 Method descriptions
Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API.
Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by
asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle
responses and reports, the application or service developer must implement the relevant IpApp or IpSvc
interfaces to provide the callback mechanism.
7.1.3 Parameter descriptions
Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have
a value when the method is called. Those described as 'out' are those that contain the return result of the method when
the method returns.
7.1.4 State Model
If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.
7.2 Base Interface
7.2.1 Interface Class IpInterface
All application, framework and service interfaces inherit from the following interface. This API Base Interface does not
provide any additional methods.
<>
IpInterface
ETSI
14 ETSI ES 204 915-8 V1.1.1 (2008-05)
7.3 Service Interfaces
7.3.1 Overview
The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user
interaction, messaging, mobility and connectivity management.
The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that
must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'.
7.4 Generic Service Interface
7.4.1 Interface Class IpService
Inherits from: IpInterface;
All service interfaces inherit from the following interface.
<>
IpService
setCallback (appInterface : in IpInterfaceRef) : void
setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()
This method specifies the reference address of the callback interface that a service uses to invoke methods on the
application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this
method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent
callback interface provided by the application using this method. In the event that a callback reference fails or is no
longer available, the next most recent callback reference available shall be used.
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
Raises
TpCommonExceptions, P_INVALID_INTERFACE_TYPE
7.4.1.2 Method setCallbackWithSessionID()
This method specifies the reference address of the application's callback interface that a service uses for interactions
associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an
interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple
callback references being specified. The SCS shall use the most recent callback interface provided by the application
using this method. In the event that a callback reference fails or is no longer available, the next most recent callback
reference available shall be used.
ETSI
15 ETSI ES 204 915-8 V1.1.1 (2008-05)
Parameters
appInterface : in IpInterfaceRef
Specifies a reference to the application interface, which is used for callbacks.
sessionID : in TpSessionID
Specifies the session for which the service can invoke the application's callback interface.
Raises
TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE
8 Data Session Control Interface Classes
The Data Session Control provides a means to control per data session basis the establishment of a new data session.
This means especially in the GPRS context that the establishment of a PDP session is modelled not the attach/detach
mode. Change of terminal location is assumed to be managed by the underlying network and is therefore not part of the
model. The underlying assumption is that a terminal initiates a data session and the application can reject the request for
data session establishment, can continue the establishment or can continue and change the destination as requested by
the terminal.
The modelling is similar to the Generic Call Control but assumes a simpler underlying state model. An
IpDataSessionControlManager object and an IpDataSession object are the interfaces used by the application, whereas
the IpAppDataSessionControlManager and the IpAppDataSession interfaces are implemented by the application.
8.1 Interface Class IpAppDataSession
Inherits from: IpInterface.
The application side of the data session interface is used to handle data session request responses and state reports.
<>
IpAppDataSession
connectRes (dataSessionID : in TpSessionID, eventReport : in TpDataSessionReport, assignmentID : in
TpAssignmentID) : void
connectErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError, assignmentID : in
TpAssignmentID) : void
superviseDataSessionRes (dataSessionID : in TpSessionID, report : in TpDataSessionSuperviseReport,
usedVolume : in TpDataSessionSuperviseVolume, qualityOfService : in TpDataSessionQosClass) : void
superviseDataSessionErr (dataSessionID : in TpSessionID, errorIndication : in TpDataSessionError) : void
dataSessionFaultDetected (dataSessionID : in TpSessionID, fault : in TpDataSessionFault) : void

ETSI
16 ETSI ES 204 915-8 V1.1.1 (2008-05)
8.1.1 Method connectRes()
This asynchronous method indicates that the request to connect a data session with the destination party was successful,
and indicates the response of the destination party (e.g. connected, disconnected).
Parameters
dataSessionID : in TpSessionID
Specifies the session ID of the data session.
eventReport : in TpDataSessionReport
Specifies the result of the request to connect the data session. It includes the network event, date and time, monitoring
mode, negotiated quality of service and event specific information such as release cause.
assignmentID : in TpAssignmentID
8.1.2 Method connectErr()
This asynchronous method indicates that the request to connect a data session with the destination party was
unsuccessful, e.g. an error detected in the network or the data session was abandoned.
Parameters
dataSessionID : in TpSessionID
Specifies the session ID.
errorIndication : in TpDataSessionError
Specifies the error which led to the original request failing.
assignmentI
...