blob: 8665f967d090688edd8fe74d88c3ce86ee22ac1e [file]
---
Author: Gábor Bettesch
Version: 155 17-CNL 113 435, Rev. C
Date: 2012-10-12
---
= DSS1 ETSI Protocol Modules for TTCN-3 Toolset with TITAN, Function Specification
:author: Gábor Bettesch
:revnumber: 155 17-CNL 113 435, Rev. C
:revdate: 2012-10-12
:toc:
== How to Read This Document
This is the Function Specification for the set of DSS1 ETSI protocol modules. DSS1 ETSI protocol modules are developed for the TTCN-3 Toolset with TITAN.
== Scope
The purpose of this document is to specify the content of the DSS1 ETSI protocol modules.
= General
Protocol modules implement the message structures of the related protocol in a formalized way, using the standard specification language TTCN-3. This allows defining of test data (templates) in the TTCN-3 language <<_3, [3]>> and correctly encoding/decoding messages when executing test suites using the TITAN TTCN-3 test environment.
Protocol modules are using TITANs RAW encoding attributes <<_4, [4]>> and hence are usable with the TITAN test toolset only.
= Functional Specification
== Protocol Version Implemented
This set of protocol modules implements protocol messages and constants of the DSS1 ETSI protocol, version 03/93 (see <<_1, [1]>>) with the modifications specified in <<modifications-deviations-related-to-the-protocol-specification, Modifications/Deviations Related to the Protocol Specification>>
In addition, the functional protocol specified in <<_5, [5]>> and in <<_6, [6]>> is implemented.
[[modifications-deviations-related-to-the-protocol-specification]]
== Modifications/Deviations Related to the Protocol Specification
=== Implemented Messages
The following messages are implemented from <<_1, [1]>>:
* `ALERTING`
* `CALL PROCEEDING`
* `CONGESTION CONTROL`
* `CONNECT`
* `CONNECT ACKNOWLEDGE`
* `DISCONNECT`
* `FACILITY`
* `HOLD`
* `HOLD ACKNOWLEDGE`
* `HOLD REJECT`
* `INFORMATION`
* `NOTIFY`
* `PROGRESS`
* `REGISTER`
* `RELEASE`
* `RELEASE COMPLETE`
* `RESTART`
* `RESTART ACKNOWLEDGE`
* `RESUME`
* `RESUME ACKNOWLEDGE`
* `RESUME REJECT`
* `RETRIEVE`
* `RETRIEVE ACKNOWLEDGE`
* `RETRIEVE REJECT`
* `SEGMENT`
* `SETUP`
* `SETUP ACKNOWLEDGE`
* `STATUS`
* `STATUS ENQUIRY`
* `SUSPEND`
* `SUSPEND ACKNOWLEDGE`
* `SUSPEND REJECT`
* `USER INFORMATION`
=== Functional Protocol
The implementation is based on files contained in annex "E" of <<_5, [5]>> and in <<_6, [6]>>
[[protocol-modifications-deviations]]
=== Protocol Modifications/Deviations
Protocol modules contain the following additions to <<_1, [1]>> (see <<_2, [2]>>):
* `NATIONAL REGISTER`
* `NATIONAL REGISTER ACKNOWLEDGE`
[[encoding-decoding-and-other-related-functions]]
== Encoding/Decoding and Other Related Functions
This product also contains encoding/decoding functions that assure correct encoding of messages when sent from TITAN and correct decoding of messages when received by TITAN. Implemented encoding/decoding functions. Via the backtrack decoder it is possible to avoid dynamic testcase error in case of trying to decode invalid message. In this case decoder function return a non-zero value:
[cols=3*,options=header]
|===
|Name
|Type of formal parameters
|Type of return value
|`enc_PDU_DSS1`
|PDU_DSS1
|octetstring
|`dec_PDU_DSS1`
|octetstring
|PDU_DSS1
|`enc_PDU_DSS1_fast`
|PDU_DSS1
|octetstring
|`dec_PDU_DSS1_backtrack`
|octetstring, PDU_DSS1
|integer
|`enc_Facility_IE`
|Facility_IE
|octetstring
|`dec_Facility_IE`
|octetstring
|Facility_IE
|`enc_Facility_IE_fast`
|Facility_IE, octetstring
|`dec_Facility_IE_backtrack`
|octetstring, Facility_IE
|integer
|===
== Limitations
Debug log generation is not supported when this revision of this product is used with TITAN version R7A (1.7pl0), because the encoder/decoder functions, automatically generated by TITAN version R7A (1.7pl0) doesn't contain logging functions. Newer versions of TITAN supports the debug logging within the automatically generated encoder/decoder functions that can be activated by allowing the `DEBUG_ENCDEC` (see <<_4, [4]>> in TITAN runtime configuration files.
= Terminology
No specific terminology is used.
= Abbreviations
DSS1:: Digital Subscriber Signaling System No. 1
ISDN:: Integrated Services Digital Network
TTCN-3:: Testing and Test Control Notation version 3
= References
[[_1]]
[1] ITU-T Q.931 (03/93) +
DIGITAL SUBSCRIBER SIGNALLING SYSTEM No. 1 (DSS 1) – ISDN USER-NETWORK INTERFACE LAYER 3 SPECIFICATION FOR BASIC CALL CONTROL
[[_2]]
[2] DSS1 LAYER 3 PROTOCOL SPECIFICATION, INFORMATION ELEMENTS FOR BOTH BASIC CALL AND SUPPLEMENTARY SERVICE CONTROL, ISDNE
[[_3]]
[3] ETSI ES 201 873-1 v.4.4.1 (2012) +
The Testing and Test Control Notation version 3. Part 1: Core Language
[[_4]]
[4] User Documentation for the TITAN TTCN-3 Test Executor
[[_5]]
[5] ETSI EN 300 196-1 V1.3.2 (2001-06) +
ISDN: Generic functional protocol for the support of supplementary services
[[_6]]
[6] DSS1 LAYER 7 PROTOCOL SPECIFICATION, FACILITY CONTROL OF SUPPLEMENTARY SERVICES (DSS1 L7 PROTOCOL), ISDN-E