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 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being:
• Data Definitions.
• IDL Description of the data types.
• WSDL Description of the data types.
• Reference to the Java™ API description of the data types.

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-2 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 2: Common Data Definitions (Parlay 6)

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

ETSI ES 204 915-2 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 2: Common Data Definitions (Parlay 6)

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

SIST ES 204 915-2 V1.1.1:2008

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

SIST ES 204 915-2 V1.1.1:2008 is the Part 2 standard for Open Service Access (OSA) Application Programming Interface (API) common data definitions, also called Parlay 6. It defines the shared data types used across the OSA APIs and gives their IDL, WSDL, and Java™ API representations. It is written for application developers and implementers who need the common data model behind OSA interfaces.

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

SIST ES 204 915-2 V1.1.1:2008 specifies the common data definitions used across the OSA API family. In practice, that means it is the shared type library that other OSA parts rely on when they define operations, parameters, and exceptions.

The document is organized into a short front matter, clause 1 to clause 5, and six annexes. Clause 4 introduces the common data definitions, while clause 5 expands the system data types, address types, price-related types, and exception classes.

AnnexWhat it covers
Annex ANormative OMG IDL description of the common data definitions
Annex BInformative W3C WSDL description of the common data definitions
Annex CInformative Java™ API description of the common data definitions
Annex DNormative exception hierarchy
Annex EInformative common data definitions for 3GPP2 cdma2000 networks
Annex FInformative record of changes

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

The standard fixes the shared data model that OSA implementations must use for interoperability. Its main value is consistency: when different OSA parts exchange the same type, they use the same structure and meaning.

Common system data types

Clause 5.1 defines the basic types that the APIs assume the client operating system can provide, such as Boolean, signed and unsigned integers, floating-point types, strings, octet sets, and version identifiers. This matters because service interfaces can rely on these types instead of redefining them in every part of the API.

Several types have special meaning:

  • TpAssignmentID identifies an assignment within one object instance and can be used to control previously enabled functionality.
  • TpSessionID identifies a session within an SCF instance, so one object can manage multiple calls or call legs without confusion.
  • TpVersion uses a fixed string pattern to identify the framework or SCF version.

Attribute handling

Clause 5.1 also defines TpAttribute, TpAttributeValue, and related types for simple, structured, and XML attribute values. The attribute model uses tagged choices, so software can carry different kinds of attribute content in a controlled way. In practice, this gives developers one consistent way to pass typed metadata instead of inventing separate structures for each service.

Data structures and collections

Clause 5.2 explains the main data shapes used throughout the API: sequences, tagged choices, numbered sets, references, and numbered lists. The distinction between ordered and unordered collections matters in implementation and testing, because TpOctetSet is an ordered list, while TpUnorderedOctetSet is explicitly unordered. The document also notes that sets do not contain duplicates, while lists may.

Exceptions

Clause 5.4 defines common exception handling. TpCommonExceptions carries an exception type and extra information, and clause 5.4.3 gives shared exception constants such as resource, policy, state, task, and callback-related conditions. Clause 5.4.4 lists exceptions available to all methods on all interfaces, which helps implementers design uniform error handling and helps integrators know what failure cases to expect.

Date, time, and duration

Clause 5.5 defines TpDate, TpTime, and TpDateAndTime using ISO 8601-style string formats, plus TpDuration and TpTimeInterval. This is important for systems that log events, schedule actions, or compare time windows, because it fixes how dates and times are encoded and how special duration values are represented.

Address handling

Clause 5.6 is one of the most practical parts of the standard. TpAddress and TpAddressRange define structured addresses and address ranges for plans such as IP, E.164, URL, SMTP, X.400, SIP, and others. TpAddressRange supports wildcards, and the document also describes when regular expressions can be used for matching.

For day-to-day implementation work, this means the gateway can compare user addresses, ranges, and plans in a defined way instead of relying on ad hoc string matching. The clause also defines address presentation, screening, and address error codes, which are useful when validating user-facing identifiers.

Charging and QoS

Clause 5.7 covers price-related data such as TpPrice, advice-of-charge structures, charging advice elements, and language strings. These definitions matter for charging displays, tariff changes, and time-based charging data. Clause 5.8 adds TpDataSessionQosClass, which defines the conversational, streaming, interactive, and background QoS classes shared across call control and data session control.

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

OSA is the open service access architecture that lets applications use network functionality through an open standardized interface.

API means the interface used by application software to call network services and exchange data with OSA functions.

IDL is the OMG IDL representation used in Annex A to define the common data types in a language-neutral form.

WSDL is the W3C service description format used in Annex B to describe the same common data definitions for web service-style use.

TpCommonExceptions is the shared exception structure that carries an exception type and supporting information for OSA methods.

TpAddress is the structured address type that combines an address plan, address string, presentation state, screening state, and related fields.

TpSessionID is the session identifier used to distinguish multiple sessions handled by one OSA service instance.

QoS means Quality of Service, and the document uses it in TpDataSessionQosClass to classify traffic handling behavior.

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

OSA application developers use this standard when they build applications that consume network services through the OSA API. It tells them how shared values such as addresses, dates, session IDs, and exceptions are encoded.

API implementers and platform developers use it when mapping the OSA model into OMG IDL, WSDL, or Java™. That is the work needed to make different implementations behave the same way across language bindings and interface layers.

Quality managers, integrators, and testers use it to verify that two implementations interpret the same common data in the same way. The address, exception, and time definitions are especially useful in interoperability and conformance testing.

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

This edition is identified as ES 204 915-2 version 1.1.1 for Parlay 6.0, and the foreword states that the document is based on ES 203 915 and the new requirements for OSA Phase 4. The foreword also states that it is equivalent to 3GPP TS 29.198-2 V7.0.0 (Release 7).

Annex F records changes to data definitions and exceptions for ES 204 915-2 version 1.1.1. It organizes the change record into new, modified, and removed items, so readers can track evolution of the API model across releases.

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

ETSI ES 204 915-1, Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6), is the companion part referenced by clause 2. It supplies the terms and definitions, abbreviations, and referenced provisions that apply to this part.

The foreword also states that this document is equivalent to 3GPP TS 29.198-2 V7.0.0 (Release 7). That helps readers place the standard in the 3GPP/ETSI OSA family.

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

SIST ES 204 915-2 V1.1.1:2008 contains type definitions, collection patterns, exception classes, address formats, charging-related structures, and QoS classifications. Clause 5 gives the core data structures and includes example representations that show how the types can be mapped into programming languages.

Annex A provides the OMG IDL realization in a ZIP archive, while Annex B and Annex C provide W3C WSDL and Java™ API realizations. Annex D lays out the exception hierarchy with diagrams, which helps implementers decide whether to catch abstract or detailed exceptions.

Annex E adapts the common data definitions for 3GPP2 cdma2000 networks and notes specific scope adjustments for that environment. Annex F is a change record for data definitions, exceptions, and other items, which is useful when comparing releases or reviewing implementation impact.

Buy Documents

Standard

ETSI ES 204 915-2 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 2: Common Data Definitions (Parlay 6)

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

ETSI ES 204 915-2 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 2: Common Data Definitions (Parlay 6)

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

SIST ES 204 915-2 V1.1.1:2008

English language (40 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-2 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 2: Common Data Definitions (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 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being: • Data Definitions. • IDL Description of the data types. • WSDL Description of the data types. • Reference to the Java™ API description of the data types.

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 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being: • Data Definitions. • IDL Description of the data types. • WSDL Description of the data types. • Reference to the Java™ API description of the data types.

SIST ES 204 915-2 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-2 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)

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 4 Common data definitions
  • 8 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5 Common system data definitions
  • 5.1 Standard data types
  • 9 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 10 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 11 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 12 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 13 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.2 Other Data Sorts
  • 14 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.3 Interface Related Data Definitions
  • 5.4 Exception Classes
  • 15 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 16 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.5 Date and Time Related Data Definitions
  • 17 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 18 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.6 Address Related Data Definitions
  • 19 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 20 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 21 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 22 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.7 Price-related Data Definitions
  • 23 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 5.8 Data Types Common Across Call Control and Data Session
  • 24 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 25 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 26 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 27 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 28 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 29 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 30 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 31 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 32 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 33 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 34 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 35 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 36 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 37 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 38 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 39 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)
  • 40 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

1 Scope

The present document is part 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being:

  • Data Definitions.
  • IDL Description of the data types.
  • WSDL Description of the data types.
  • Reference to the Java™ API description of the data types.

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.

4 Common data definitions

The following clauses describe each aspect of the Common data definitions. The order is as follows:

  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes.
  • IDL description of the data types (normative annex).
  • WSDL description of the data types (informative annex).
  • Reference to the Java™ API description of the data types (informative annex). ETSI

8 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5 Common system data definitions

These data definitions are assumed to be provided by the client operating system.

5.1 Standard data types

The APIs assume that the following data types can be supported.

5.1.1 TpBoolean

Defines a Boolean data type.

5.1.2 TpInt32 Defines a signed 32-bit integer.

5.1.3 TpFloat

Defines a single precision real number.

5.1.4 TpLongString

Defines a Byte string, comprising length and data. The length must be at least a 32-bit integer.

5.1.5 TpOctet

Defines an 8-bit quantity that is not translated during transmission.

5.1.6 TpOctetSet

Defines a Numbered List of Data elements of TpOctet. Note that this is an ordered list.

5.1.7 TpString

Defines a Byte string, comprising length and data. The length must be at least a 16-bit integer.

5.1.8 TpAssignmentID

Defines an assignment ID with a value that is unique to an instance of an implementation of a given interface (i.e. an object), irrespective of the method invoked on it. This ID may be used, for example, to identify single or multiple event notifications enabled by an object; or by a requesting object to modify or stop functionality (e.g. event notifications, call load control) associated with a previously supplied assignment ID. The assignment ID is identical to a TpInt32 type.

5.1.9 TpSessionID

Defines a session ID with a value that is at least unique within the context of a specific instance of an SCF. An instance of an SCF is a single service manager instance plus the associated subordinate instances. For example, a single MultiPartyCallControlManager instance plus all associated MultiPartyCall and MultiPartyCallLeg instances. The session ID is used to identify different sessions (e.g. different call or call leg sessions) of an interface capable of handling multiple sessions.

EXAMPLE 1: myCallObject may implement the IpCall interface. If so, myCallObject may handle multiple call sessions, and each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance.

ETSI

9 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

EXAMPLE 2: myCallAndCallLegObject may implement the IpCall and IpCallLeg interfaces. If so, myCallAndCallLegObject may handle multiple call sessions and multiple call leg sessions. Each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance. Similarly, each call leg session will be identified by a call leg session ID value (e.g. 1, 2, 3, 4, 5, 6) that is also unique within the context of the SCF instance. Because call session IDs and call leg session IDs are different data types, overlapping values are permitted and their uniqueness still remains.

The session ID is identical to a TpInt32 type.

5.1.10 TpSessionIDSet

Defines a Numbered Set of Data Elements of TpSessionID.

5.1.11 TpAny

Defines a type that can hold any type. This is not restricted to only the primitive types.

5.1.12 TpAttribute

This is a Sequence of Data Elements containing the attribute name and value. Sequence Element Name Sequence Element Type Notes AttributeName TpString The name of the attribute.

AttributeValue TpAttributeValue The typed value(s) for the attribute.

5.1.13 TpAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type

TpAttributeTagInfo

Tag Element Value Choice Element Type Choice Element Name P_SIMPLE_TYPE TpSimpleAttributeValue SimpleValue P_STRUCTURED_TYPE TpStructuredAttributeValue StructuredValue P_XML_TYPE TpXMLString XMLValue

5.1.14 TpAttributeList

This is a Numbered List of Data Elements of type TpAttribute.

5.1.15 TpAttributeSet

This is a Numbered Set of Data Elements of type TpAttribute.

5.1.16 TpInt64 Defines a signed 64-bit integer.

5.1.17 TpVersion

This data type is identical to TpString. It is used to uniquely identify the implemented version of the framework or an SCF. The syntax for this datatype is defined as:

P_<publishing body>_<version number> ETSI

10 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

Where:

<publishing body> is one of the strings listed in the table below. Character String Value Description PARLAY Specification released by The Parlay Group.

ETSI Specification released by ETSI.

3GPP Specification released by 3GPP.

<version number> consists of numbers separated by underscores (e.g. 3_1). It is recommended that not more than the two most significant numbers (major and minor version) of the version are used. Examples of version strings are:

Character String Value Description P_PARLAY_3_1 Parlay v3.1.

P_ETSI_2_0 ETSI v2.0.

P_3GPP_4_3 3GPP Release 4.3.

Note that different version strings can be aliases of each other all pointing to the same SCF/Framework version.

5.1.18 TpStringSet

Defines a Numbered Set of Data Elements of type TpString.

5.1.19 TpStringList

Defines a Numbered List of Data Elements of type TpString.

5.1.20 TpAttributeTagInfo

TpAttributeTagInfo is an enumerated type used as a discriminator for the TpAttributeValue structure, and can contain the following values.

Name Value Description P_SIMPLE_TYPE 0 Simple type P_STRUCTURED_TYPE 1 Structured type P_XML_TYPE 2 XML type

ETSI

11 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5.1.21 TpSimpleAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type TpSimpleAttributeTypeInfo

Tag Element Value Choice Element Type Choice Element Name P_BOOLEAN TpBoolean BooleanValue P_OCTET TpOctet OctetValue P_CHAR TpChar CharValue P_WCHAR TpWChar WCharValue P_STRING TpString StringValue P_WSTRING TpWString WStringValue P_INT16 TpInt16 Int16Value P_UNSIGNED_INT16 TpUnsignedInt16 UnsignedInt16Value P_INT32 TpInt32 Int32Value P_UNSIGNED_INT32 TpUnsignedInt32 UnsignedInt32Value P_INT64 TpInt64 Int64Value P_UNSIGNED_INT64 TpUnsignedInt64 UnsignedInt64Value P_FLOAT TpFloat FloatValue P_DOUBLE TpDouble DoubleValue

5.1.22 TpSimpleAttributeTypeInfo

TpSimpleAttributeTypeInfo is an enumerated type used as a discriminator for the TpSimpleAttributeValue structure, and can contain the following values.

Name Value Description P_BOOLEAN 0 Attribute type is type TpBoolean.

P_OCTET 1 Attribute type is type TpOctet.

P_CHAR 2 Attribute type is type TpChar.

P_WCHAR 3 Attribute type is type TpWChar.

P_STRING 4 Attribute type is type TpString.

P_WSTRING 5 Attribute type is type TpWString.

P_INT16 6 Attribute type is type TpInt16.

P_UNSIGNED_INT16 7 Attribute type is type TpUnsignedInt16.

P_INT32 8 Attribute type is type TpInt32.

P_UNSIGNED_INT32 9 Attribute type is type TpUnsignedInt32.

P_INT64 10 Attribute type is type TpInt64.

P_UNSIGNED_INT64 11 Attribute type is type TpUnsignedInt64.

P_FLOAT 12 Attribute type is type TpFloat.

P_DOUBLE 13 Attribute type is type TpDouble.

5.1.23 TpStructuredAttributeType

This data type is identical to a TpString, and is defined as a string of characters that uniquely identifies the type of a structured data type. Network operator specific capabilities may also be used, but should be preceded by the string "SP_". The pattern of values is defined, where module names and class names map to a fully specified class name. Character String Value Description P_module1/module2/module3/className An object of the specified, fully qualified class.

ETSI

12 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5.1.24 TpStructuredAttributeValue

This is a Sequence of Data Elements containing the structured attribute type tag and the value to be interpreted using that type.

Sequence Element Name Sequence Element Type Notes Type TpStructuredAttributeType The type for the value.

Value TpAny The structured values for the attribute.

5.1.25 TpChar

This type is an 8-bit quantity that may undergo conversion when transmitted by the communication system.

5.1.26 TpWChar

This type is a quantity that may undergo conversion when transmitted by the communication system. The size of this type is implementation-dependent.

5.1.27 TpWString

Defines a TpWChar string, comprising length and data. The length shall be at least a 16-bit integer. 5.1.28 TpInt16 Defines a signed 16-bit integer.

5.1.29 TpUnsignedInt16 Defines an unsigned 16-bit integer.

5.1.30 TpUnsignedInt32 Defines an unsigned 32-bit integer.

5.1.31 TpUnsignedInt64 Defines an unsigned 64-bit integer.

5.1.32 TpDouble

Defines a double precision real number.

5.1.33 TpXMLString

This data type is TpString containing well-formed XML and may contain a reference to/include a DTD or Schema.

5.1.34 TpUnorderedOctetSet

Defines a Numbered Set of Data elements of TpOctet. Note that this is an un-ordered set. Note that this type should not be removed from the present document, even if unused by any part of the OSA specifications. It is included to ensure that TpOctetSet is correctly used as a Numbered List of Data Elements, and not a Numbered Set.

ETSI

13 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5.2 Other Data Sorts

The APIs assumes that the following data syntaxes can be supported.

5.2.1 Sequence of Data Elements

This describes a sequence of data types. This may be defined as a structure (for example, in C++) or simply a sequence of data elements within a structure.

EXAMPLE: The TpAddress data type may be defined in C++ as:

typedef struct { TpAddressPlan Plan; TpString AddrString; TpString Name; TpAddressPresentation Presentation; TpAddressScreening Screening; TpString SubAddressString; } TpAddress;

5.2.2 Tagged Choice of Data Elements

This describes a data type which actually evaluates to one of a choice of a number of data elements. This data element contains two parts: a tag data type (the tag part) which is used to identify the chosen data type, and the chosen data type itself (the union part). This form of data type is also referred to as a tagged union. This data type can be implemented (for example, in C++) as a structure containing an integer for the tag part, and a union for the union part.

This data type is implementation specific. Please refer to the appropriate IDL documents (and the resulting language mappings) to see how this data type is implemented.

EXAMPLE: The TpCallError data type may be defined in C++ as:

typedef struct { TpCallErrorType Tag; union { TpCallErrorInfoUndefined Undefined; TpCallErrorInfoRoutingAborted RoutingAborted; TpCallErrorInfoCallAbandoned CallAbandoned; TpCallErrorInfoInvalidAddress InvalidAddress; TpCallErrorInfoInvalidState InvalidState; TpCallErrorInfoInvalidCriteria InvalidCriteria; } callErrorInfo; } TpCallError;

5.2.3 Numbered Set of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an unordered set of data elements (the data part). Set data types do not contain duplicate data elements.

Note that TpOctetSet is a Numbered List of Data Elements, not a Numbered Set. EXAMPLE: The TpAddressSet data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpAddress Set[Number]; } TpAddressSet;

ETSI

14 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5.2.4 Reference

This describes a reference (or pointer) to a data type. When one interface inherits directly from another interface, a reference to the inheriting interface can be used when the base interface reference is required. For example, the references to Multi-Media Call Control interfaces can be used in Multi-Party Call Control methods that have been inherited by Multi-Media Call Control from Multi-Party Call Control interfaces.

5.2.5 Numbered List of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an ordered set of data elements (the data part). List data types can contain duplicate data elements. EXAMPLE: The TpStringList data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpString List[Number]; } TpStringList;

5.3 Interface Related Data Definitions

5.3.1 IpInterface

Defines the address of a generic interface instance.

5.3.2 IpInterfaceRef

Defines a Reference to type IpInterface.

5.4 Exception Classes

5.4.1 Underlying Technology Exceptions

All methods contain a signature showing, amongst other things, the explicit exceptions that they may throw. In addition to these exceptions, all methods can throw a number of implicit exceptions. These exceptions do not need to be included within the method signatures and are given below.

These exceptions would be thrown by the underlying technology (e.g. CORBA, Java™) as a result of problems encountered, for example, with the way the API method is invoked. They are a minimum set of exceptions that must be throwable by the underlying technology. Depending upon the underlying technology, additional method exceptions may also be thrown.

Description Invalid Parameter: A method has been passed an invalid parameter argument. Invalid Parameter Value: A method parameter has been passed a value that is out of range. Parameter Missing: A method has not been passed a mandatory parameter argument.

5.4.2 TpCommonExceptions

Defines the structure of the exception class which is applicable to all methods. Structure Element Name Structure Element Type Structure Element Description ExceptionType TpInt32 Carries a constant from the list in the table below. ExtraInformation TpString Carries extra information to help identify the source of the exception, e.g. a parameter name.

ETSI

15 Final draft ETSI ES 204 915-2 V1.1.1 (2008-02)

5.4.3 Constants associated with TpCommonExceptions

Name Value Description P_RESOURCES_UNAVAILABLE 000Dh The required resources in the network are not available. P_TASK_REFUSED 000Eh The requested method has been refused.

P_TASK_CANCELLED 000Fh The requested method has been cancelled. P_NO_CALLBACK_ADDRESS_SET 0011h The requested method is refused because no callback address has been set (this may be the result of a timing issue between setting the callback address and invoking the method).

P_POLICY_VIOLATION 0013h A policy has been breached and therefore the request has been rejected. All the input to the method may be valid as meeting the required input for the operation, but using that input in the execution of the service resulted in conditions that require the service not to complete.

P_METHOD_NOT_SUPPORTED 0016h The method is not allowed or supported within the context of the current service agreement.

P_INVALID_STATE 02E8h Unexpected sequence of methods, i.e. the sequence does not match the specified state diagrams.

5.4.4 Exceptions available to all methods on all interfaces

The following are the list of exception classes which are available to all interfaces of the API. Name Description P_APPLICATION_NOT_ACTIVATED An application is unauthorised to access information and request services with regards to users that have deactivated that particular application.

In case the request was for information related to multiple user identities the reference to user identities that are causing this exception will be returned in the extra information of the exception.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 4 Common data definitions
  • 8 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5 Common system data definitions
  • 5.1 Standard data types
  • 9 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 10 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 11 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 12 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.2 Other Data Sorts
  • 14 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.3 Interface Related Data Definitions
  • 5.4 Exception Classes
  • 15 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 16 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.5 Date and Time Related Data Definitions
  • 17 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 18 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.6 Address Related Data Definitions
  • 19 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 20 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 21 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 22 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.7 Price-related Data Definitions
  • 23 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.8 Data Types Common Across Call Control and Data Session
  • 24 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 28 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 30 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-2 V1.1.1 (2008-05)

1 Scope

The present document is part 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being:

  • Data Definitions.
  • IDL Description of the data types.
  • WSDL Description of the data types.
  • Reference to the Java™ API description of the data types.

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.

4 Common data definitions

The following clauses describe each aspect of the Common data definitions. The order is as follows:

  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes.
  • IDL description of the data types (normative annex).
  • WSDL description of the data types (informative annex).
  • Reference to the Java™ API description of the data types (informative annex). ETSI

8 ETSI ES 204 915-2 V1.1.1 (2008-05)

5 Common system data definitions

These data definitions are assumed to be provided by the client operating system.

5.1 Standard data types

The APIs assume that the following data types can be supported.

5.1.1 TpBoolean

Defines a Boolean data type.

5.1.2 TpInt32 Defines a signed 32-bit integer.

5.1.3 TpFloat

Defines a single precision real number.

5.1.4 TpLongString

Defines a Byte string, comprising length and data. The length must be at least a 32-bit integer.

5.1.5 TpOctet

Defines an 8-bit quantity that is not translated during transmission.

5.1.6 TpOctetSet

Defines a Numbered List of Data elements of TpOctet. Note that this is an ordered list.

5.1.7 TpString

Defines a Byte string, comprising length and data. The length must be at least a 16-bit integer.

5.1.8 TpAssignmentID

Defines an assignment ID with a value that is unique to an instance of an implementation of a given interface (i.e. an object), irrespective of the method invoked on it. This ID may be used, for example, to identify single or multiple event notifications enabled by an object; or by a requesting object to modify or stop functionality (e.g. event notifications, call load control) associated with a previously supplied assignment ID. The assignment ID is identical to a TpInt32 type.

5.1.9 TpSessionID

Defines a session ID with a value that is at least unique within the context of a specific instance of an SCF. An instance of an SCF is a single service manager instance plus the associated subordinate instances. For example, a single MultiPartyCallControlManager instance plus all associated MultiPartyCall and MultiPartyCallLeg instances. The session ID is used to identify different sessions (e.g. different call or call leg sessions) of an interface capable of handling multiple sessions.

EXAMPLE 1: myCallObject may implement the IpCall interface. If so, myCallObject may handle multiple call sessions, and each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance.

ETSI

9 ETSI ES 204 915-2 V1.1.1 (2008-05)

EXAMPLE 2: myCallAndCallLegObject may implement the IpCall and IpCallLeg interfaces. If so, myCallAndCallLegObject may handle multiple call sessions and multiple call leg sessions. Each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance. Similarly, each call leg session will be identified by a call leg session ID value (e.g. 1, 2, 3, 4, 5, 6) that is also unique within the context of the SCF instance. Because call session IDs and call leg session IDs are different data types, overlapping values are permitted and their uniqueness still remains.

The session ID is identical to a TpInt32 type.

5.1.10 TpSessionIDSet

Defines a Numbered Set of Data Elements of TpSessionID.

5.1.11 TpAny

Defines a type that can hold any type. This is not restricted to only the primitive types.

5.1.12 TpAttribute

This is a Sequence of Data Elements containing the attribute name and value. Sequence Element Name Sequence Element Type Notes AttributeName TpString The name of the attribute.

AttributeValue TpAttributeValue The typed value(s) for the attribute.

5.1.13 TpAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type

TpAttributeTagInfo

Tag Element Value Choice Element Type Choice Element Name P_SIMPLE_TYPE TpSimpleAttributeValue SimpleValue P_STRUCTURED_TYPE TpStructuredAttributeValue StructuredValue P_XML_TYPE TpXMLString XMLValue

5.1.14 TpAttributeList

This is a Numbered List of Data Elements of type TpAttribute.

5.1.15 TpAttributeSet

This is a Numbered Set of Data Elements of type TpAttribute.

5.1.16 TpInt64 Defines a signed 64-bit integer.

5.1.17 TpVersion

This data type is identical to TpString. It is used to uniquely identify the implemented version of the framework or an SCF. The syntax for this datatype is defined as:

P_<publishing body>_<version number> ETSI

10 ETSI ES 204 915-2 V1.1.1 (2008-05)

Where:

<publishing body> is one of the strings listed in the table below. Character String Value Description PARLAY Specification released by The Parlay Group.

ETSI Specification released by ETSI.

3GPP Specification released by 3GPP.

<version number> consists of numbers separated by underscores (e.g. 3_1). It is recommended that not more than the two most significant numbers (major and minor version) of the version are used. Examples of version strings are:

Character String Value Description P_PARLAY_3_1 Parlay v3.1.

P_ETSI_2_0 ETSI v2.0.

P_3GPP_4_3 3GPP Release 4.3.

Note that different version strings can be aliases of each other all pointing to the same SCF/Framework version.

5.1.18 TpStringSet

Defines a Numbered Set of Data Elements of type TpString.

5.1.19 TpStringList

Defines a Numbered List of Data Elements of type TpString.

5.1.20 TpAttributeTagInfo

TpAttributeTagInfo is an enumerated type used as a discriminator for the TpAttributeValue structure, and can contain the following values.

Name Value Description P_SIMPLE_TYPE 0 Simple type P_STRUCTURED_TYPE 1 Structured type P_XML_TYPE 2 XML type

ETSI

11 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.1.21 TpSimpleAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type TpSimpleAttributeTypeInfo

Tag Element Value Choice Element Type Choice Element Name P_BOOLEAN TpBoolean BooleanValue P_OCTET TpOctet OctetValue P_CHAR TpChar CharValue P_WCHAR TpWChar WCharValue P_STRING TpString StringValue P_WSTRING TpWString WStringValue P_INT16 TpInt16 Int16Value P_UNSIGNED_INT16 TpUnsignedInt16 UnsignedInt16Value P_INT32 TpInt32 Int32Value P_UNSIGNED_INT32 TpUnsignedInt32 UnsignedInt32Value P_INT64 TpInt64 Int64Value P_UNSIGNED_INT64 TpUnsignedInt64 UnsignedInt64Value P_FLOAT TpFloat FloatValue P_DOUBLE TpDouble DoubleValue

5.1.22 TpSimpleAttributeTypeInfo

TpSimpleAttributeTypeInfo is an enumerated type used as a discriminator for the TpSimpleAttributeValue structure, and can contain the following values.

Name Value Description P_BOOLEAN 0 Attribute type is type TpBoolean.

P_OCTET 1 Attribute type is type TpOctet.

P_CHAR 2 Attribute type is type TpChar.

P_WCHAR 3 Attribute type is type TpWChar.

P_STRING 4 Attribute type is type TpString.

P_WSTRING 5 Attribute type is type TpWString.

P_INT16 6 Attribute type is type TpInt16.

P_UNSIGNED_INT16 7 Attribute type is type TpUnsignedInt16.

P_INT32 8 Attribute type is type TpInt32.

P_UNSIGNED_INT32 9 Attribute type is type TpUnsignedInt32.

P_INT64 10 Attribute type is type TpInt64.

P_UNSIGNED_INT64 11 Attribute type is type TpUnsignedInt64.

P_FLOAT 12 Attribute type is type TpFloat.

P_DOUBLE 13 Attribute type is type TpDouble.

5.1.23 TpStructuredAttributeType

This data type is identical to a TpString, and is defined as a string of characters that uniquely identifies the type of a structured data type. Network operator specific capabilities may also be used, but should be preceded by the string "SP_". The pattern of values is defined, where module names and class names map to a fully specified class name. Character String Value Description P_module1/module2/module3/className An object of the specified, fully qualified class.

ETSI

12 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.1.24 TpStructuredAttributeValue

This is a Sequence of Data Elements containing the structured attribute type tag and the value to be interpreted using that type.

Sequence Element Name Sequence Element Type Notes Type TpStructuredAttributeType The type for the value.

Value TpAny The structured values for the attribute.

5.1.25 TpChar

This type is an 8-bit quantity that may undergo conversion when transmitted by the communication system.

5.1.26 TpWChar

This type is a quantity that may undergo conversion when transmitted by the communication system. The size of this type is implementation-dependent.

5.1.27 TpWString

Defines a TpWChar string, comprising length and data. The length shall be at least a 16-bit integer. 5.1.28 TpInt16 Defines a signed 16-bit integer.

5.1.29 TpUnsignedInt16 Defines an unsigned 16-bit integer.

5.1.30 TpUnsignedInt32 Defines an unsigned 32-bit integer.

5.1.31 TpUnsignedInt64 Defines an unsigned 64-bit integer.

5.1.32 TpDouble

Defines a double precision real number.

5.1.33 TpXMLString

This data type is TpString containing well-formed XML and may contain a reference to/include a DTD or Schema.

5.1.34 TpUnorderedOctetSet

Defines a Numbered Set of Data elements of TpOctet. Note that this is an un-ordered set. Note that this type should not be removed from the present document, even if unused by any part of the OSA specifications. It is included to ensure that TpOctetSet is correctly used as a Numbered List of Data Elements, and not a Numbered Set.

ETSI

13 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.2 Other Data Sorts

The APIs assumes that the following data syntaxes can be supported.

5.2.1 Sequence of Data Elements

This describes a sequence of data types. This may be defined as a structure (for example, in C++) or simply a sequence of data elements within a structure.

EXAMPLE: The TpAddress data type may be defined in C++ as:

typedef struct { TpAddressPlan Plan; TpString AddrString; TpString Name; TpAddressPresentation Presentation; TpAddressScreening Screening; TpString SubAddressString; } TpAddress;

5.2.2 Tagged Choice of Data Elements

This describes a data type which actually evaluates to one of a choice of a number of data elements. This data element contains two parts: a tag data type (the tag part) which is used to identify the chosen data type, and the chosen data type itself (the union part). This form of data type is also referred to as a tagged union. This data type can be implemented (for example, in C++) as a structure containing an integer for the tag part, and a union for the union part.

This data type is implementation specific. Please refer to the appropriate IDL documents (and the resulting language mappings) to see how this data type is implemented.

EXAMPLE: The TpCallError data type may be defined in C++ as:

typedef struct { TpCallErrorType Tag; union { TpCallErrorInfoUndefined Undefined; TpCallErrorInfoRoutingAborted RoutingAborted; TpCallErrorInfoCallAbandoned CallAbandoned; TpCallErrorInfoInvalidAddress InvalidAddress; TpCallErrorInfoInvalidState InvalidState; TpCallErrorInfoInvalidCriteria InvalidCriteria; } callErrorInfo; } TpCallError;

5.2.3 Numbered Set of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an unordered set of data elements (the data part). Set data types do not contain duplicate data elements.

Note that TpOctetSet is a Numbered List of Data Elements, not a Numbered Set. EXAMPLE: The TpAddressSet data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpAddress Set[Number]; } TpAddressSet;

ETSI

14 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.2.4 Reference

This describes a reference (or pointer) to a data type. When one interface inherits directly from another interface, a reference to the inheriting interface can be used when the base interface reference is required. For example, the references to Multi-Media Call Control interfaces can be used in Multi-Party Call Control methods that have been inherited by Multi-Media Call Control from Multi-Party Call Control interfaces.

5.2.5 Numbered List of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an ordered set of data elements (the data part). List data types can contain duplicate data elements. EXAMPLE: The TpStringList data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpString List[Number]; } TpStringList;

5.3 Interface Related Data Definitions

5.3.1 IpInterface

Defines the address of a generic interface instance.

5.3.2 IpInterfaceRef

Defines a Reference to type IpInterface.

5.4 Exception Classes

5.4.1 Underlying Technology Exceptions

All methods contain a signature showing, amongst other things, the explicit exceptions that they may throw. In addition to these exceptions, all methods can throw a number of implicit exceptions. These exceptions do not need to be included within the method signatures and are given below.

These exceptions would be thrown by the underlying technology (e.g. CORBA, Java™) as a result of problems encountered, for example, with the way the API method is invoked. They are a minimum set of exceptions that must be throwable by the underlying technology. Depending upon the underlying technology, additional method exceptions may also be thrown.

Description Invalid Parameter: A method has been passed an invalid parameter argument. Invalid Parameter Value: A method parameter has been passed a value that is out of range. Parameter Missing: A method has not been passed a mandatory parameter argument.

5.4.2 TpCommonExceptions

Defines the structure of the exception class which is applicable to all methods. Structure Element Name Structure Element Type Structure Element Description ExceptionType TpInt32 Carries a constant from the list in the table below. ExtraInformation TpString Carries extra information to help identify the source of the exception, e.g. a parameter name.

ETSI

15 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.4.3 Constants associated with TpCommonExceptions

Name Value Description P_RESOURCES_UNAVAILABLE 000Dh The required resources in the network are not available. P_TASK_REFUSED 000Eh The requested method has been refused.

P_TASK_CANCELLED 000Fh The requested method has been cancelled. P_NO_CALLBACK_ADDRESS_SET 0011h The requested method is refused because no callback address has been set (this may be the result of a timing issue between setting the callback address and invoking the method).

P_POLICY_VIOLATION 0013h A policy has been breached and therefore the request has been rejected. All the input to the method may be valid as meeting the required input for the operation, but using that input in the execution of the service resulted in conditions that require the service not to complete.

P_METHOD_NOT_SUPPORTED 0016h The method is not allowed or supported within the context of the current service agreement.

P_INVALID_STATE 02E8h Unexpected sequence of methods, i.e. the sequence does not match the specified state diagrams.

5.4.4 Exceptions available to all methods on all interfaces

The following are the list of exception classes which are available to all interfaces of the API. Name Description P_APPLICATION_NOT_ACTIVATED An application is unauthorised to access information and request services with regards to users that have deactivated that particular application.

In case the request was for information related to multiple user identities the reference to user identities that are causing this exception will be returned in the extra information of the exception.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 4 Common data definitions
  • 8 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5 Common system data definitions
  • 5.1 Standard data types
  • 9 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 10 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 11 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 12 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.2 Other Data Sorts
  • 14 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.3 Interface Related Data Definitions
  • 5.4 Exception Classes
  • 15 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 16 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.5 Date and Time Related Data Definitions
  • 17 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 18 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.6 Address Related Data Definitions
  • 19 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 20 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 21 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 22 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.7 Price-related Data Definitions
  • 23 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 5.8 Data Types Common Across Call Control and Data Session
  • 24 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 28 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 30 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-2 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-2 V1.1.1 (2008-05)

1 Scope

The present document is part 2 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 Common Data Definitions of the OSA. The Common Data Definitions contain data-types that are common across the rest of the OSA API. All aspects of the Common Data are defined here, these being:

  • Data Definitions.
  • IDL Description of the data types.
  • WSDL Description of the data types.
  • Reference to the Java™ API description of the data types.

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.

4 Common data definitions

The following clauses describe each aspect of the Common data definitions. The order is as follows:

  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes.
  • IDL description of the data types (normative annex).
  • WSDL description of the data types (informative annex).
  • Reference to the Java™ API description of the data types (informative annex). ETSI

SIST ES 204 915-2 V1.1.1:2008

8 ETSI ES 204 915-2 V1.1.1 (2008-05)

5 Common system data definitions

These data definitions are assumed to be provided by the client operating system.

5.1 Standard data types

The APIs assume that the following data types can be supported.

5.1.1 TpBoolean

Defines a Boolean data type.

5.1.2 TpInt32 Defines a signed 32-bit integer.

5.1.3 TpFloat

Defines a single precision real number.

5.1.4 TpLongString

Defines a Byte string, comprising length and data. The length must be at least a 32-bit integer.

5.1.5 TpOctet

Defines an 8-bit quantity that is not translated during transmission.

5.1.6 TpOctetSet

Defines a Numbered List of Data elements of TpOctet. Note that this is an ordered list.

5.1.7 TpString

Defines a Byte string, comprising length and data. The length must be at least a 16-bit integer.

5.1.8 TpAssignmentID

Defines an assignment ID with a value that is unique to an instance of an implementation of a given interface (i.e. an object), irrespective of the method invoked on it. This ID may be used, for example, to identify single or multiple event notifications enabled by an object; or by a requesting object to modify or stop functionality (e.g. event notifications, call load control) associated with a previously supplied assignment ID. The assignment ID is identical to a TpInt32 type.

5.1.9 TpSessionID

Defines a session ID with a value that is at least unique within the context of a specific instance of an SCF. An instance of an SCF is a single service manager instance plus the associated subordinate instances. For example, a single MultiPartyCallControlManager instance plus all associated MultiPartyCall and MultiPartyCallLeg instances. The session ID is used to identify different sessions (e.g. different call or call leg sessions) of an interface capable of handling multiple sessions.

EXAMPLE 1: myCallObject may implement the IpCall interface. If so, myCallObject may handle multiple call sessions, and each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance.

ETSI

SIST ES 204 915-2 V1.1.1:2008

9 ETSI ES 204 915-2 V1.1.1 (2008-05)

EXAMPLE 2: myCallAndCallLegObject may implement the IpCall and IpCallLeg interfaces. If so, myCallAndCallLegObject may handle multiple call sessions and multiple call leg sessions. Each call session will be identified by a call session ID value (e.g. 1, 2, 3) that is unique within the context of the SCF instance. Similarly, each call leg session will be identified by a call leg session ID value (e.g. 1, 2, 3, 4, 5, 6) that is also unique within the context of the SCF instance. Because call session IDs and call leg session IDs are different data types, overlapping values are permitted and their uniqueness still remains.

The session ID is identical to a TpInt32 type.

5.1.10 TpSessionIDSet

Defines a Numbered Set of Data Elements of TpSessionID.

5.1.11 TpAny

Defines a type that can hold any type. This is not restricted to only the primitive types.

5.1.12 TpAttribute

This is a Sequence of Data Elements containing the attribute name and value. Sequence Element Name Sequence Element Type Notes AttributeName TpString The name of the attribute.

AttributeValue TpAttributeValue The typed value(s) for the attribute.

5.1.13 TpAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type

TpAttributeTagInfo

Tag Element Value Choice Element Type Choice Element Name P_SIMPLE_TYPE TpSimpleAttributeValue SimpleValue P_STRUCTURED_TYPE TpStructuredAttributeValue StructuredValue P_XML_TYPE TpXMLString XMLValue

5.1.14 TpAttributeList

This is a Numbered List of Data Elements of type TpAttribute.

5.1.15 TpAttributeSet

This is a Numbered Set of Data Elements of type TpAttribute.

5.1.16 TpInt64 Defines a signed 64-bit integer.

5.1.17 TpVersion

This data type is identical to TpString. It is used to uniquely identify the implemented version of the framework or an SCF. The syntax for this datatype is defined as:

P_<publishing body>_<version number> ETSI

SIST ES 204 915-2 V1.1.1:2008

10 ETSI ES 204 915-2 V1.1.1 (2008-05)

Where:

<publishing body> is one of the strings listed in the table below. Character String Value Description PARLAY Specification released by The Parlay Group.

ETSI Specification released by ETSI.

3GPP Specification released by 3GPP.

<version number> consists of numbers separated by underscores (e.g. 3_1). It is recommended that not more than the two most significant numbers (major and minor version) of the version are used. Examples of version strings are:

Character String Value Description P_PARLAY_3_1 Parlay v3.1.

P_ETSI_2_0 ETSI v2.0.

P_3GPP_4_3 3GPP Release 4.3.

Note that different version strings can be aliases of each other all pointing to the same SCF/Framework version.

5.1.18 TpStringSet

Defines a Numbered Set of Data Elements of type TpString.

5.1.19 TpStringList

Defines a Numbered List of Data Elements of type TpString.

5.1.20 TpAttributeTagInfo

TpAttributeTagInfo is an enumerated type used as a discriminator for the TpAttributeValue structure, and can contain the following values.

Name Value Description P_SIMPLE_TYPE 0 Simple type P_STRUCTURED_TYPE 1 Structured type P_XML_TYPE 2 XML type

ETSI

SIST ES 204 915-2 V1.1.1:2008

11 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.1.21 TpSimpleAttributeValue

This is a tagged choice of data elements to hold attribute values of different complexity. Tag Element Type TpSimpleAttributeTypeInfo

Tag Element Value Choice Element Type Choice Element Name P_BOOLEAN TpBoolean BooleanValue P_OCTET TpOctet OctetValue P_CHAR TpChar CharValue P_WCHAR TpWChar WCharValue P_STRING TpString StringValue P_WSTRING TpWString WStringValue P_INT16 TpInt16 Int16Value P_UNSIGNED_INT16 TpUnsignedInt16 UnsignedInt16Value P_INT32 TpInt32 Int32Value P_UNSIGNED_INT32 TpUnsignedInt32 UnsignedInt32Value P_INT64 TpInt64 Int64Value P_UNSIGNED_INT64 TpUnsignedInt64 UnsignedInt64Value P_FLOAT TpFloat FloatValue P_DOUBLE TpDouble DoubleValue

5.1.22 TpSimpleAttributeTypeInfo

TpSimpleAttributeTypeInfo is an enumerated type used as a discriminator for the TpSimpleAttributeValue structure, and can contain the following values.

Name Value Description P_BOOLEAN 0 Attribute type is type TpBoolean.

P_OCTET 1 Attribute type is type TpOctet.

P_CHAR 2 Attribute type is type TpChar.

P_WCHAR 3 Attribute type is type TpWChar.

P_STRING 4 Attribute type is type TpString.

P_WSTRING 5 Attribute type is type TpWString.

P_INT16 6 Attribute type is type TpInt16.

P_UNSIGNED_INT16 7 Attribute type is type TpUnsignedInt16.

P_INT32 8 Attribute type is type TpInt32.

P_UNSIGNED_INT32 9 Attribute type is type TpUnsignedInt32.

P_INT64 10 Attribute type is type TpInt64.

P_UNSIGNED_INT64 11 Attribute type is type TpUnsignedInt64.

P_FLOAT 12 Attribute type is type TpFloat.

P_DOUBLE 13 Attribute type is type TpDouble.

5.1.23 TpStructuredAttributeType

This data type is identical to a TpString, and is defined as a string of characters that uniquely identifies the type of a structured data type. Network operator specific capabilities may also be used, but should be preceded by the string "SP_". The pattern of values is defined, where module names and class names map to a fully specified class name. Character String Value Description P_module1/module2/module3/className An object of the specified, fully qualified class.

ETSI

SIST ES 204 915-2 V1.1.1:2008

12 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.1.24 TpStructuredAttributeValue

This is a Sequence of Data Elements containing the structured attribute type tag and the value to be interpreted using that type.

Sequence Element Name Sequence Element Type Notes Type TpStructuredAttributeType The type for the value.

Value TpAny The structured values for the attribute.

5.1.25 TpChar

This type is an 8-bit quantity that may undergo conversion when transmitted by the communication system.

5.1.26 TpWChar

This type is a quantity that may undergo conversion when transmitted by the communication system. The size of this type is implementation-dependent.

5.1.27 TpWString

Defines a TpWChar string, comprising length and data. The length shall be at least a 16-bit integer. 5.1.28 TpInt16 Defines a signed 16-bit integer.

5.1.29 TpUnsignedInt16 Defines an unsigned 16-bit integer.

5.1.30 TpUnsignedInt32 Defines an unsigned 32-bit integer.

5.1.31 TpUnsignedInt64 Defines an unsigned 64-bit integer.

5.1.32 TpDouble

Defines a double precision real number.

5.1.33 TpXMLString

This data type is TpString containing well-formed XML and may contain a reference to/include a DTD or Schema.

5.1.34 TpUnorderedOctetSet

Defines a Numbered Set of Data elements of TpOctet. Note that this is an un-ordered set. Note that this type should not be removed from the present document, even if unused by any part of the OSA specifications. It is included to ensure that TpOctetSet is correctly used as a Numbered List of Data Elements, and not a Numbered Set.

ETSI

SIST ES 204 915-2 V1.1.1:2008

13 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.2 Other Data Sorts

The APIs assumes that the following data syntaxes can be supported.

5.2.1 Sequence of Data Elements

This describes a sequence of data types. This may be defined as a structure (for example, in C++) or simply a sequence of data elements within a structure.

EXAMPLE: The TpAddress data type may be defined in C++ as:

typedef struct { TpAddressPlan Plan; TpString AddrString; TpString Name; TpAddressPresentation Presentation; TpAddressScreening Screening; TpString SubAddressString; } TpAddress;

5.2.2 Tagged Choice of Data Elements

This describes a data type which actually evaluates to one of a choice of a number of data elements. This data element contains two parts: a tag data type (the tag part) which is used to identify the chosen data type, and the chosen data type itself (the union part). This form of data type is also referred to as a tagged union. This data type can be implemented (for example, in C++) as a structure containing an integer for the tag part, and a union for the union part.

This data type is implementation specific. Please refer to the appropriate IDL documents (and the resulting language mappings) to see how this data type is implemented.

EXAMPLE: The TpCallError data type may be defined in C++ as:

typedef struct { TpCallErrorType Tag; union { TpCallErrorInfoUndefined Undefined; TpCallErrorInfoRoutingAborted RoutingAborted; TpCallErrorInfoCallAbandoned CallAbandoned; TpCallErrorInfoInvalidAddress InvalidAddress; TpCallErrorInfoInvalidState InvalidState; TpCallErrorInfoInvalidCriteria InvalidCriteria; } callErrorInfo; } TpCallError;

5.2.3 Numbered Set of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an unordered set of data elements (the data part). Set data types do not contain duplicate data elements.

Note that TpOctetSet is a Numbered List of Data Elements, not a Numbered Set. EXAMPLE: The TpAddressSet data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpAddress Set[Number]; } TpAddressSet;

ETSI

SIST ES 204 915-2 V1.1.1:2008

14 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.2.4 Reference

This describes a reference (or pointer) to a data type. When one interface inherits directly from another interface, a reference to the inheriting interface can be used when the base interface reference is required. For example, the references to Multi-Media Call Control interfaces can be used in Multi-Party Call Control methods that have been inherited by Multi-Media Call Control from Multi-Party Call Control interfaces.

5.2.5 Numbered List of Data Elements

This describes a data type which comprises an integer which indicates the total number of data elements in the set (the number part), and an ordered set of data elements (the data part). List data types can contain duplicate data elements. EXAMPLE: The TpStringList data type may be defined in C++ as:

typedef struct { TpInt32 Number; TpString List[Number]; } TpStringList;

5.3 Interface Related Data Definitions

5.3.1 IpInterface

Defines the address of a generic interface instance.

5.3.2 IpInterfaceRef

Defines a Reference to type IpInterface.

5.4 Exception Classes

5.4.1 Underlying Technology Exceptions

All methods contain a signature showing, amongst other things, the explicit exceptions that they may throw. In addition to these exceptions, all methods can throw a number of implicit exceptions. These exceptions do not need to be included within the method signatures and are given below.

These exceptions would be thrown by the underlying technology (e.g. CORBA, Java™) as a result of problems encountered, for example, with the way the API method is invoked. They are a minimum set of exceptions that must be throwable by the underlying technology. Depending upon the underlying technology, additional method exceptions may also be thrown.

Description Invalid Parameter: A method has been passed an invalid parameter argument. Invalid Parameter Value: A method parameter has been passed a value that is out of range. Parameter Missing: A method has not been passed a mandatory parameter argument.

5.4.2 TpCommonExceptions

Defines the structure of the exception class which is applicable to all methods. Structure Element Name Structure Element Type Structure Element Description ExceptionType TpInt32 Carries a constant from the list in the table below. ExtraInformation TpString Carries extra information to help identify the source of the exception, e.g. a parameter name.

ETSI

SIST ES 204 915-2 V1.1.1:2008

15 ETSI ES 204 915-2 V1.1.1 (2008-05)

5.4.3 Constants associated with TpCommonExceptions

Name Value Description P_RESOURCES_UNAVAILABLE 000Dh The required resources in the network are not available. P_TASK_REFUSED 000Eh The requested method has been refused.

P_TASK_CANCELLED 000Fh The requested method has been cancelled. P_NO_CALLBACK_ADDRESS_SET 0011h The requested method is refused because no callback address has been set (this may be the result of a timing issue between setting the callback address and invoking the method).

P_POLICY_VIOLATION 0013h A policy has been breached and therefore the request has been rejected. All the input to the method may be valid as meeting the required input for the operation, but using that input in the execution of the service resulted in conditions that require the service not to complete.

P_METHOD_NOT_SUPPORTED 0016h The method is not allowed or supported within the context of the current service agreement.

P_INVALID_STATE 02E8h Unexpected sequence of methods, i.e. the sequence does not match the specified state diagrams.

5.4.4 Exceptions available to all methods on all interfaces

The following are the list of exception classes which are available to all interfaces of the API. Name Description P_APPLICATION_NOT_ACTIVATED An application is unauthorised to access information and request services with regards to users that have deactivated that particular application.

In case the request was for information related to multiple user identities the reference to user identities that are causing this exception will be returned in the extra information of the exception.

...