aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-09-14 14:42:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-09-14 14:42:39 +0000
commitd7c62b2db5461dc8dbfb2af4679f3cdd7a3f3873 (patch)
tree9dfb1ce4d60b3f6fdbef99c750c8b50d8edd1560 /asn1
parent14f76023b3c55a590e1870d540142547d9821619 (diff)
Use the unmodified DialoguePDUs ASN1 file.
svn path=/trunk/; revision=26192
Diffstat (limited to 'asn1')
-rw-r--r--asn1/tcap/Makefile.common4
-rw-r--r--asn1/tcap/tcap.asn109
-rw-r--r--asn1/tcap/tcap.cnf8
3 files changed, 16 insertions, 105 deletions
diff --git a/asn1/tcap/Makefile.common b/asn1/tcap/Makefile.common
index b64d89b033..19dc0d4209 100644
--- a/asn1/tcap/Makefile.common
+++ b/asn1/tcap/Makefile.common
@@ -30,7 +30,8 @@ NEED_PACKET_PROTO_H = 1
EXT_ASN_FILE_LIST =
ASN_FILE_LIST = $(PROTOCOL_NAME).asn\
- UnidialoguePDUs.asn
+ UnidialoguePDUs.asn \
+ DialoguePDUs.asn
# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
# files do not exist for all protocols: Please add/remove as required.
@@ -44,7 +45,6 @@ EXTRA_DIST = \
SRC_FILES = \
$(EXTRA_DIST) \
$(EXT_ASN_FILE_LIST) \
- DialoguePDUs.asn \
TCAPMessages.asn \
TC-Notation-Extensions.asn
diff --git a/asn1/tcap/tcap.asn b/asn1/tcap/tcap.asn
index f16b6c7c30..0b7b542302 100644
--- a/asn1/tcap/tcap.asn
+++ b/asn1/tcap/tcap.asn
@@ -1,25 +1,12 @@
-- $Id$
-DialoguePDUs { ccitt recommendation q 773 modules (2) dialoguePDUs(2) version1 (1) }
-
-DEFINITIONS ::=
-
-BEGIN
-
-EXPORTS dialogue-as-id, DialoguePDU;
-
--- abstract syntax name for structured dialogue APDUs
-
-
-
-dialogue-as-id OBJECT IDENTIFIER ::= { ccitt recommendation q 773 as (1)
- dialogue-as (1) version1 (1) }
+TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
-DialoguePDU ::= CHOICE {
- dialogueRequest AARQ-apdu,
- dialogueResponse AARE-apdu,
- dialogueAbort ABRT-apdu }
+DEFINITIONS ::=
+BEGIN
+--EXPORTS OPERATION, ERROR, Component, InvokeId Type;
+-- WS stuff
ExternalPDU ::= [UNIVERSAL 8] IMPLICIT SEQUENCE
{
oid OBJECT IDENTIFIER,
@@ -28,91 +15,7 @@ ExternalPDU ::= [UNIVERSAL 8] IMPLICIT SEQUENCE
Dialog1 ::= OCTET STRING
-
-Applicationcontext ::= OBJECT IDENTIFIER
-
-AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
- protocol-versionrq [0] IMPLICIT BIT STRING { version1 (0) }
- DEFAULT { version1 },
- application-context-name [1] OBJECT IDENTIFIER,
- user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
-}
-
-AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
- protocol-versionre [0] IMPLICIT BIT STRING { version1 (0) }
- DEFAULT { version1 },
- application-context-name [1] OBJECT IDENTIFIER,
- result [2] Associate-result,
- result-source-diagnostic [3] Associate-source-diagnostic,
- user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
-}
-
--- RLRQ PDU is currently not used.
--- It is included for completeness only.
-
-RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
- reasonrq [0] IMPLICIT Release-request-reason OPTIONAL,
- user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
- }
-
--- RLRE PDU is currently not used.
--- It is included for completeness only
-
-RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
- reasonre [0] IMPLICIT Release-response-reason OPTIONAL,
- user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
- }
-
-ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
- abort-source [0] IMPLICIT ABRT-source,
- user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL
- }
-
-
-ABRT-source ::= INTEGER { dialogue-service-user (0),
- dialogue-service-provider (1) }
-
-Associate-result ::= INTEGER { accepted (0),
- reject-permanent (1) }
-
-
-Associate-source-diagnostic ::= CHOICE {
- dialogue-service-user [1] INTEGER {
- null (0),
- no-reason-given (1),
- application-context-name-not-supported (2) },
- dialogue-service-provider [2] INTEGER {
- null (0),
- no-reason-given (1),
- no-common-dialogue-portion (2) }
- }
-
--- Release-request-reason is currently not used.
--- It is included for completeness only.
-
-Release-request-reason ::= INTEGER { normal (0),
- urgent (1),
- user-defined (30)
- }
-
--- Release-response-reason is currently not used.
--- It is included for completeness only.
-
-Release-response-reason ::= INTEGER { normal (0),
- not-finished (1),
- user-defined (30) }
-END
-
-
-
-TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) version3(3)}
-
-DEFINITIONS ::=
-
-BEGIN
-
---EXPORTS OPERATION, ERROR, Component, InvokeId Type;
-
+-- End WS
-- Transaction Portion fields
TCMessage ::= CHOICE {
diff --git a/asn1/tcap/tcap.cnf b/asn1/tcap/tcap.cnf
index e2e75e8764..a03f2fe418 100644
--- a/asn1/tcap/tcap.cnf
+++ b/asn1/tcap/tcap.cnf
@@ -25,6 +25,10 @@ UniDialoguePDU B "0.0.17.773.1.2.1" "uniDialogue-as-id"
#.NO_EMIT
#.TYPE_RENAME
+AUDT-apdu/_untag/protocol-version AUDT_protocol_version
+AARQ-apdu/_untag/protocol-version AARQ_protocol_version
+AARE-apdu/_untag/protocol-version AARE_protocol_version
+
AARE-apdu/_untag/application-context-name AARE_application_context_name
AARQ-apdu/_untag/application-context-name AARQ_application_context_name
AUDT-apdu/_untag/application-context-name AUDT_application_context_name
@@ -35,6 +39,10 @@ ABRT-apdu/_untag/user-information ABRT_user_information
AUDT-apdu/_untag/user-information AUDT_user_information
#.FIELD_RENAME
+AUDT-apdu/_untag/protocol-version audt_protocol_version
+AARQ-apdu/_untag/protocol-version aarq_protocol_version
+AARE-apdu/_untag/protocol-version aare_protocol_version
+
AARQ-apdu/_untag/application-context-name aarq_application_context_name
AARE-apdu/_untag/application-context-name aare_application_context_name
AUDT-apdu/_untag/application-context-name audt_application_context_name