1、INTERNATIONAL TELECOMMUNICATION UNION ITU=T TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU Q.773 (06197) SERIES Q: SWITCHING AND SIGNALLING Specifications of Signalling System No. 7 - Transaction capabilities application part Transaction capabilities formats and encoding ITU-T Recommendation Q.773
2、(Previously CClTT Recommendation) ITU-T Q-SERIES RECOMMENDATIONS SWITCHING AND SIGNALLING SIGNALLING IN THE INTERNATIONAL MANUAL SERVICE INTERNATIONAL AUTOMATIC AND SEMI-AUTOMATIC WORKING FUNCTIONS AND INFORMATION FLOWS FOR SERVICES IN THE ISDN CLAUSES APPLICABLE TO ITU-T STANDARD SYSTEMS SPECIFICAT
3、IONS OF SIGNALLING SYSTEMS No. 4 AND No. 5 SPECIFICATIONS OF SIGNALLING SYSTEM No. 6 SPECIFICATIONS OF SIGNALLING SYSTEM RI SPECIFICATIONS OF SIGNALLING SYSTEM R2 DIGITAL EXCHANGES INTERWORKING OF SIGNALLING SYSTEMS SPECIFICATIONS OF SIGNALLING SYSTEM No. 7 General Message transfer part (MTP) Signal
4、ling connection control part (SCCP) Telephone user part (TUP) ISDN supplementary services Data user part Signalling System No. 7 management Q.1-Q.3 Q.4-Q.59 Q.60-Q.99 Q. 100-Q.119 Q. 120-Q.249 Q.250-Q.309 Q.310-Q.399 Q.400-Q.499 Q.500-Q.599 Q.600-Q.699 Q.700-Q.849 Q.700 Q.701-Q.709 Q.711-Q.719 Q.720
5、-(2.729 Q.730-Q.739 Q.740-Q.749 Q.750-Q.759 Q3 interface DIGITAL SUBSCRIBER SIGNALLING SYSTEM No. 1 General Data link layer Network layer User-network management Stage 3 description for supplementary services using DSS 1 PUBLIC LAND MOBILE NETWORK INTERWORKING WITH SATELLITE MOBILE SYSTEMS INTELLIGE
6、NT NETWORK BROADBAND ISDN Q.800-Q.849 Q.850-Q.999 Q.850-Q.919 Q.920-Q.929 Q.930-Q.939 Q.940-Q.949 Q.950-Q.999 Q.1000-Q.1099 Q.1100-Q.1199 Q.1200-Q.1999 Q.2000-Q.2999 I For further details, please refer to ITU-T List of Recommendations. ITU-T RECOMMENDATION Q.773 TRANSACTION CAPABILITIES FORMATS AND
7、ENCODING Summary This Recommendation has been revised for some corrections to the ASN.1 and tabular descriptions of TC messages and parameters. It also provides, in Annex A, a description of the TC using the ASN.1 notation defined in Recommendations 4.680 to 4.683 and some definitions from Recommend
8、ation X.880. Source ITU-T Recommendation 4.773 was revised by ITU-T Study Group 11 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 5th of June 1997. FOREWORD ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommuni
9、cations. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis. The approval of
10、 Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. l. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with IS0 and IEC. NOTE In this Recommendation, the expr
11、ession “Administration“ is used for conciseness to indicate both a telecommunication administration and a recognized operating agency. INTELLECTUAL PROPERTY RIGHTS The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed I
12、ntellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, the ITU ha
13、d not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. O ITU 1998 All rig
14、hts reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU. 11 Recommendation Q.773 (06/97) CONTENTS Page Introduction Description conventions . Abstra
15、ct syntax description TC-Messages Dialogue portion . 3.2.1 Structured dialogue . 3.2.2 Unstructured dialogue . Message representation . Encoding rules 4.1.1 Specification of encoding rules . 4.1.2 Overview of encoding rules 4.1.3 Transmission order Message encoding 4.2.1 Transaction Portion . 4.2.2
16、Component Portion . 4.2.3 Dialogue Portion . Annex A . 1 1 11 12 12 17 22 30 . Recommendation 4.773 (06/97) 111 Recommendation Q.773 TRANSACTION CAPABILITIES FORMATS AND ENCODING (Melbourne 1988; revised in 1993 and 1997) 1 Introduction This Recommendation provides the format and encoding of Transac
17、tion Capabilities (TC) messages. These encoding rules are described in 4.1 and are based on a consistent subset of the encoding rules specified in Recommendation X.209 as contained in the Blue Book. 2 Description conventions This Recommendation uses the Abstract Syntax Notation One (ASN.l) defined i
18、n Recommendation X.208 and the description method of other Q.700-Series Recommendations (tabular method). In the case of misalignment between the tabular and the ASN. 1 description, the latter takes precedence over the tabular representation. 3 Abstract syntax description 3.1 TC-Messages The followi
19、ng module defines the type of TC messages: TCAPMessages ccitt recommendation q 773 modules (2) messages (1) version2 (2) DEFINITIONS := BEGIN EXPORTS OPERATION, ERROR, Component, InvokeId Type; - Transaction Portion fields MessageType := CHOICE unidirectional begin end continue abort Unidirectional
20、:= SEQUENCE Begin := SEQUENCE End := SEQUENCE APPLICATION 11 IMPLICIT Unidirectional, APPLICATION 21 IMPLICIT Begin, APPLICATION 41 IMPLICIT End, APPLICATION 51 IMPLICIT Continue, APPLICATION 71 IMPLICIT Abort dialoguePortion components otid dialoguePortion components dtid dialoguePortion components
21、 DialoguePortion OPTIONAL, ComponentPortion OrigTransactionID, DialoguePortion OPTIONAL ComponentPortion OPTIONAL DestTransactionID, DialoguePortion OPTIONAL, ComponentPortion OPTIONAL Recommendation 4.773 (06/97) 1 Continue : := SEQUENCE Abort := SEQUENCE otid OrigTransactionID, dtid DestTransactio
22、nID, dialoguePortion DialoguePortion OPTIONAL, components ComponentPortion OPTIONAL dtid DestTransactionID, reason CHOICE p-abortcause P-Abortcause, u-abortcause DialoguePortion 1 OPTIONAL 1 - NOTE - When the Abort Message is generated by the Transaction sublayer, a p-Abort Cause must be -present. T
23、he u-abortcause may be generated by the component sublayer in which case it is an ABRT - APDU, or by the TC-User in which case it could be either an ABRTAPDU or data in some user-defined - abstract syntax. DialoguePortion := APPLICATION 111 EXTERNAL - The dialogue portion carries the dialogue contro
24、l PDUs as value of the external data type. - The direct reference should be set to ccitt recommendation q 773 as (I) dialogue-as (I) version (I) ) - ifstructured dialogue is used and to ccitt recommendation q 773 as (1) unidialogue-as (2) version (I) ) - if unstructured dialogue is used or any user
25、defined abstract syntax name when only user information - is curried (e.g. when user information is sent in a 1988 Abort message). OrigTransactionID := APPLICATION S IMPLICIT OCTET STRING (SIZE (1 4) ) DestTransactionID := APPLICATION 91 IMPLICIT OCTET STRING (SIZE (14) ) P-Abortcause := APPLICATION
26、 101 IMPLICIT INTEGER unrecognizedMessageType (O), unrecognizedTransactionID (l), badlyFormattedTransactionPortion (2), incorrectTransactionPortion (3), resourceLimitation (4) - COMPONENT PORTION. The last field in the transaction portion of the TCAP message is the Component Portion. - The Component
27、 Portion may be absent. ComponentPortion := APPLICATION 121 IMPLICIT SEQUENCE SIZE (lMAX) OF Component - Component PortionJields - COMPONENT TYPE. Recommendation X229 defines four Application Protocol Data Units (APDUs). - TCAP adds returnResultNotLast to allow for the segmentation of a result. Comp
28、onent := CHOICE invoke l IMPLICIT Invoke, returnResultLast 121 IMPLICIT ReturnResult, returnError 3 IMPLICIT ReturnError, reject 4 IMPLICIT Reject, returnResultNotLast 7 IMPLICIT ReturnResult - The Components are sequences of data elements. Invoke := SEQUENCE invokeID linkedID operationcode paramete
29、r InvokeIdType, O IMPLICIT InvokeIdType OPTIONAL, OPERATION, ANY DEFINED BY operationcode OPTIONAL 2 Recommendation Q.773 (06/97) - ANY is filled by the single ASN. I data type following the keyword PARAMETER or the keyword ARGUMENT - in the type definition of aparticular operation. ReturnResult :=
30、SEQUENCE invokeID InvokeIdType, result SEQUENCE operationcode OPERATION, parameter ANY DEFINED BY operationcode OPTIONAL 1 - ANY is filled by the single ASN. I data type following the keyword RESULT in the type definition - of a particular operation. ReturnError := SEQUENCE invokeID InvokeIdType, er
31、rorcode ERROR, parameter ANY DEFINED BY errorcode OPTIONAL - ANY is filled by the single ASN. I data ype following the keyword PARAMETER in the type definition - of aparticular error. Reject := SEQUENCE invokeID CHOICE derivable InvokeIdType, not-derivable NULL , generalproblem O IMPLICIT Generalpro
32、blem, invokeProblem l IMPLICIT InvokeProblem, returnResultProblem 2 IMPLICIT ReturnResultProblem, returnErrorProblem 3 IMPLICIT ReturnErrorProblem problem CHOICE InvokeIdType := INTEGER (-128127) - OPERATIONS - Operations are speced with the OPERATION MACRO. - When an operation is specijed, the vali
33、dparameter set, results, and errors for that operation are indicated. - Default values and optional parameters are permitted. OPERATION MACRO BEGIN TYPE NOTATION VALUE NOTATION Parameter ArgKeyword Result Errors LinkedOperations ResultType ErrorNames ErrorList Error = . .= : := . .= . .= . .= = . .=
34、 : := . .= . .= . .= Parameter Result Errors LinkedOperations value (VALUE CHOICE IocalValue INTEGER, globalValue OBJECT IDENTIFIER ) ArgKeyword NamedType I empty “ARGUMENT“ I “PARAMETER“ “RESULT“ ResultType I empty “ERRORS“ “ErrorNames“ I empty “LINKED“ “LinkedOperationNames“)“ I empty NamedType I
35、empty ErrorList I empty Error I ErrorList “,“ Error value (ERROR) - shall reference an error value I type - shall reference an error type - ifno error value is specijed Recommendation Q.773 (06/97) 3 LinkedOperationNames := OperationList I empty OperationList - . “ Operation I OperationList “,“ Oper
36、ation Operation . .= value (OPERATION) - shall reference un operation value - no operation value is spec$ed I type - shall reference un operation type if NamedType = identifier type I type END - ERRORS - Errors are specljed with the ERROR MACRO. - When un error is spec fie4 the vulidpurameters for t
37、hat error are indicated. - Default values and optional parameters are permitted. ERROR MACRO . .- - BEGIN . TYPE NOTATION . .= Parameter VALUE NOTATION := value (VALUE CHOICE Parameter := NamedType := END - PROBLEMS Generalproblem InvokeProblem ReturnResultProblem ReturnErrorProblem IocalValue INTEG
38、ER, globalValue OBJECT IDENTIFIER ) “PARAMETER“ NamedType I empty identifier type I type . .= *. . .= . .= . .= INTEGER INTEGER INTEGER INTEGER unrecognizedComponent (O), mistypedComponent (l), badlyStructuredComponent (2) duplicateInvokeID (O), unrecognizedoperation (l), mistypedparameter (2), reso
39、urceLimitation (3), initiatingRelease (4), UnrecognizedLinkedID (5), 1inkedResponseUnexpected (6), unexpectedLinkedOperation (7) unrecognizedInvokeID (O), returnResultUnexpected (l), mistypedparameter (2) unrecognizedInvokeID (O), returnErrorUnexpected (l), unrecognizedError (2), unexpectedError (3)
40、, mistypedparameter (4) END - TCAPMessuges 3.2 Dialogue portion 3.2.1 Structured dialogue The following module defines the type DialoguePDU whose values form the abstract syntax for the Dialogue APDUs used for the structured dialogue. 4 Recommendation Q.773 (06197) DialoguePDUs ccitt recommendation
41、q 773 modules (2) dialoguePDUs(2) versionl (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) versionl (1) DialoguePDU := CHOICE dialogueRequest AAR
42、Q-apdu, dialogueResponse AARE-apdu, dialogueAbort ABRT-apdu AARQ-apdu := APPLICATION O protocol-version application-context-name user-information AARE-apdu := APPLICATION 11 protocol-version application-context-name result result-source-diagnostic user-information - RLRQ PDU is currently not used. -
43、 It is included for completeness only. RLRQ-apdu := APPLICATION 21 reason user-information - RLRE PDU is currently not used. - It is included for completeness only RLRE-apdu := APPLICATION 31 reason user-information ABRT-apdu := APPLICATION 41 abort-source user-information ABRT-source := INTEGER Ass
44、ociate-result := INTEGER IMPLICIT SEQUENCE O IMPLICIT BIT STRING versionl (O) l OBJECT IDENTIFIER, 1301 IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL DEFAULT versionl , IMPLICIT SEQUENCE O IMPLICIT BIT STRING versionl (O) 1) OBJECT IDENTIFIER, 2 Associate-result, 3 Associate-source-diagnostic, 30 IMPLICIT
45、SEQUENCE OF EXTERNAL DEFAULT versionl , OPTIONAL IMPLICIT SEQUENCE O IMPLICIT Release-request-reason OPTIONAL, 30 IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL IMPLICIT SEQUENCE O IMPLICIT Release-response-reason OPTIONAL, 30 IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL IMPLICIT SEQUENCE O IMPLICIT ABRT-source,
46、30 IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL dialogue-service-user (O), dialogue-service-provider (1) accepted (O), reject-permanent (1) Recommendation Q.773 (06197) 5 Associate-source-diagnostic := CHOICE dialogue-service-user 11 INTEGER null (O), no-reason-given (l), application-context-name-not-supp
47、orted (2) , null (O), no-reason-given (l), no-common-dialogue-portion (2) 1 dialogue-service-provider 121 INTEGER - Release-request-reason is currently not used. - It is included for completeness only. Release-request-reason := INTEGER normal (O), urgent (l), user-defined (30) 1 - Release-response-r
48、eason is currently not used. - It is included for completeness onb. Release-response-reason := INTEGER normal (O), not-finished (l), user-defined (30) ) END - DiaIoguePDUs 3.2.2 Unstructured dialogue The following module defines the type UnidialoguePDU whose values form the abstract syntax for the dialogue APDUs used for the unstructured dialogue. UnidialoguePDUs ccitt recommendation q 773 modules (2) unidialoguePDUs (3) versionl (1) DEFINITIONS := BEGIN EXPORTS uniDialogue-as-id, UniDialoguePDU; -Abstract syntax name for unstructured dialogue APDUs uniDialogue-as-id OBJECT I