--******************************************************************************************************************** -- Created: 14-SEP-1999 11:33:04 by OpenVMS SDL EV1-50 -- Source: 17-AUG-1999 16:16:51 PADO_3:[ANSI_V31P_AVMS.KIT]SS7_TCAP_K_COMMON_.S --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package SS7_TCAP_K_COMMON is -- module SS7_TCAP_K_COMMON_ ---------------------------------------------------------------------------- -------------------------------------------- -- COMMON CCITT/ANSI CONSTANTS -------------------------------------------- -- -- Symbols used to define the kind of the address to be modified in -- ss7_tcap_modify_party_address primitive. -- SS7_K_TCAP_CALLED_PA : constant := 1; SS7_K_TCAP_CALLING_PA : constant := 2; -- -- Symbols used to define the component class. -- SS7_K_TCAP_CLASS_1 : constant := 1; SS7_K_TCAP_CLASS_2 : constant := 2; SS7_K_TCAP_CLASS_3 : constant := 3; SS7_K_TCAP_CLASS_4 : constant := 4; -- -- Symbols used to define the type of dialogue termination. -- SS7_K_TCAP_BASIC_END : constant := 1; SS7_K_TCAP_PREARRANGED_END : constant := 2; -- -- Symbols used to define the TCAP option selected during indications enabling -- SS7_K_TCAP_BASIC_BEHAVIOUR : constant := 0; SS7_K_TCAP_ADVANCED_BEHAVIOUR : constant := 1; SS7_K_TCAP_BLUE_BOOK : constant := 0; SS7_K_TCAP_WHITE_BOOK : constant := 1; SS7_K_TCAP_ANSI_88 : constant := 0; SS7_K_TCAP_ANSI_96 : constant := 1; SS7_K_TCAP_ANSI_88_OR_96 : constant := 2; -- -- Symbols used to define the TCAP API's parameters format. -- SS7_K_TCAP_SET : constant := 0; SS7_K_TCAP_SEQUENCE : constant := 1; SS7_K_TCAP_NO_SET_SEQ : constant := 2; -- -- Symbols used to define a ANSI TC query or conversation message -- with or without permission. These symbols are meaningless for -- CCITT. -- SS7_K_TCAP_WITH_PERM : constant := 0; SS7_K_TCAP_WITHOUT_PERM : constant := 1; -- -- Symbols used to define the source of a reject. -- SS7_K_TCAP_RJCT_LOCAL : constant := 1; SS7_K_TCAP_RJCT_REMOTE : constant := 2; SS7_K_TCAP_RJCT_USER : constant := 3; SS7_K_TCAP_RJCT_LOCAL_NOT_SENT : constant := 4; -- -- Symbols used to define the item code of the indication -- routines item list (when enabling the indications). -- --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --!!! !!! --!!! NOTE : These constants and those with the same name, !!! --!!! but postfixed _CCITT or _ANSI MUST have the same values !!! --!!! !!! --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SS7_K_TCAP_BEGIN : constant := 1; SS7_K_TCAP_CONTINUE : constant := 2; SS7_K_TCAP_END : constant := 3; SS7_K_TCAP_ABORT : constant := 4; SS7_K_TCAP_INVOKE : constant := 5; SS7_K_TCAP_RESULT : constant := 6; SS7_K_TCAP_ERROR : constant := 7; SS7_K_TCAP_REJECT : constant := 8; SS7_K_TCAP_CANCEL : constant := 9; SS7_K_TCAP_UNIDIRECTIONAL : constant := 10; SS7_K_TCAP_NOTICE : constant := 11; SS7_K_TCAP_USER_DISTRIB_IND : constant := 12; -------------------------------------------- -- CCITT CONSTANTS -------------------------------------------- -- -- Symbols used to define the item code of the indication -- routines item list (when enabling the indications). -- --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --!!! !!! --!!! NOTE : These constants and those with the same name, !!! --!!! but not postfixed MUST have the same values !!! --!!! !!! --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SS7_K_TCAP_BEGIN_CCITT : constant := 1; SS7_K_TCAP_CONTINUE_CCITT : constant := 2; SS7_K_TCAP_END_CCITT : constant := 3; SS7_K_TCAP_ABORT_CCITT : constant := 4; SS7_K_TCAP_INVOKE_CCITT : constant := 5; SS7_K_TCAP_RESULT_CCITT : constant := 6; SS7_K_TCAP_ERROR_CCITT : constant := 7; SS7_K_TCAP_REJECT_CCITT : constant := 8; SS7_K_TCAP_CANCEL_CCITT : constant := 9; SS7_K_TCAP_UNIDIRECTIONAL_CCITT : constant := 10; SS7_K_TCAP_NOTICE_CCITT : constant := 11; SS7_K_TCAP_USER_DISTRIB_IND_CCITT : constant := 12; -- -- Symbols used to define the operatin code -- SS7_K_TCAP_LOCAL_CCITT : constant := 2; SS7_K_TCAP_GLOBAL_CCITT : constant := 6; -- -- Symbols used to define the source of an abort. -- SS7_K_TCAP_ABORT_LOCAL_CCITT : constant := 1; SS7_K_TCAP_ABORT_REMOTE_CCITT : constant := 2; SS7_K_TCAP_ABORT_USER_CCITT : constant := 3; -- -- Symbols used to specify the reason of an abort. -- SS7_K_TCAP_UNKNOWN_MSGTYPE_CCITT : constant := 0; SS7_K_TCAP_UNKNOWN_TRANSID_CCITT : constant := 1; SS7_K_TCAP_BADFORMAT_CCITT : constant := 2; SS7_K_TCAP_BADTRANS_CCITT : constant := 3; SS7_K_TCAP_RESLIMIT_CCITT : constant := 4; -- added for TCAP White Book: SS7_K_TCAP_ABNORMAL_DP_CCITT : constant := 5; -- added for TCAP White Book: -- Symbols used to specify the reason of a TC-U-abort. SS7_K_TCAP_USER_DEFINED_CCITT : constant := 0; SS7_K_TCAP_CTX_NOT_SUPPORTED_CCITT : constant := 1; -- -- Symbols used to define the problem type for a rejected component. -- SS7_K_TCAP_GENERAL_PROBLEM_CCITT : constant := 128; SS7_K_TCAP_INVOKE_PROBLEM_CCITT : constant := 129; SS7_K_TCAP_RESULT_PROBLEM_CCITT : constant := 130; SS7_K_TCAP_ERROR_PROBLEM_CCITT : constant := 131; -- -- Symbols used to define the problem code for a reject component of code GENERAL -- SS7_K_TCAP_RG_UNREC_COMP_CCITT : constant := 0; SS7_K_TCAP_RG_MISTYPED_COMP_CCITT : constant := 1; SS7_K_TCAP_RG_BAD_STRUC_COMP_CCITT : constant := 2; -- -- Symbols used to define the problem code for a reject component of code INVOKE -- SS7_K_TCAP_RI_DUP_INV_ID_CCITT : constant := 0; SS7_K_TCAP_RI_UNREC_OP_CCITT : constant := 1; SS7_K_TCAP_RI_MISTYPED_PARAM_CCITT : constant := 2; SS7_K_TCAP_RI_RESS_LIMIT_CCITT : constant := 3; SS7_K_TCAP_RI_INIT_RELEASE_CCITT : constant := 4; SS7_K_TCAP_RI_UNREC_LK_ID_CCITT : constant := 5; SS7_K_TCAP_RI_UNEXP_LK_RSP_CCITT : constant := 6; SS7_K_TCAP_RI_UNEXP_LK_OP_CCITT : constant := 7; -- -- Symbols used to define the problem code for a reject component of code RESULT -- SS7_K_TCAP_RR_UNREC_INV_ID_CCITT : constant := 0; SS7_K_TCAP_RR_UNEXP_RETRES_CCITT : constant := 1; SS7_K_TCAP_RR_MISTYPED_PARAM_CCITT : constant := 2; -- -- Symbols used to define the problem code for a reject component of code ERROR -- SS7_K_TCAP_RE_UNREC_INV_ID_CCITT : constant := 0; SS7_K_TCAP_RE_UNEXP_RETERR_CCITT : constant := 1; SS7_K_TCAP_RE_UNREC_ERROR_CCITT : constant := 2; SS7_K_TCAP_RE_UNEXP_ERROR_CCITT : constant := 3; SS7_K_TCAP_RE_MISTYPED_PARAM_CCITT : constant := 4; -------------------------------------------- -- ANSI CONSTANTS -------------------------------------------- -- -- Symbols used to define the item code of the indication -- routines item list (when enabling the indications). -- Note: The constant TCAP_DUMMY_ABORT_ANSI is here just to ensure -- the compatibility with previous version -- --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --!!! !!! --!!! NOTE : These constants and those with the same name, !!! --!!! but not postfixed MUST have the same values !!! --!!! !!! --!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SS7_K_TCAP_BEGIN_ANSI : constant := 1; SS7_K_TCAP_CONTINUE_ANSI : constant := 2; SS7_K_TCAP_END_ANSI : constant := 3; SS7_K_TCAP_DUMMY_ABORT_ANSI : constant := 4; SS7_K_TCAP_INVOKE_ANSI : constant := 5; SS7_K_TCAP_RESULT_ANSI : constant := 6; SS7_K_TCAP_ERROR_ANSI : constant := 7; SS7_K_TCAP_REJECT_ANSI : constant := 8; SS7_K_TCAP_CANCEL_ANSI : constant := 9; SS7_K_TCAP_UNIDIRECTIONAL_ANSI : constant := 10; SS7_K_TCAP_NOTICE_ANSI : constant := 11; SS7_K_TCAP_USER_DISTRIB_IND_ANSI : constant := 12; -- -- Symbols used to define a local or remote operation. -- SS7_K_TCAP_NATIONAL_OPERATION_ANSI : constant := 208; SS7_K_TCAP_PRIVATE_OPERATION_ANSI : constant := 209; -- -- Symbols used to define a local or remote error. -- SS7_K_TCAP_NATIONAL_ERROR_ANSI : constant := 211; SS7_K_TCAP_PRIVATE_ERROR_ANSI : constant := 212; -- -- Symbols used to define the source of an abort. -- SS7_K_TCAP_ABORT_LOCAL_ANSI : constant := 1; SS7_K_TCAP_ABORT_REMOTE_ANSI : constant := 2; SS7_K_TCAP_ABORT_USER_ANSI : constant := 3; -- -- Symbols used to specify the reason of an abort. -- SS7_K_TCAP_UNREC_PKGTYPE_ANSI : constant := 1; SS7_K_TCAP_INCORRECT_TRANS_ANSI : constant := 2; SS7_K_TCAP_BADSTRUCT_TRANS_ANSI : constant := 3; SS7_K_TCAP_BAD_RESPTRANSID_ANSI : constant := 4; SS7_K_TCAP_PERMTOREL_PB_ANSI : constant := 5; SS7_K_TCAP_RES_UNAVAILABLE_ANSI : constant := 6; SS7_K_TCAP_UNREC_DIALPORTID_ANSI : constant := 7; SS7_K_TCAP_BADSTRUCT_DIALPORT_ANSI : constant := 8; SS7_K_TCAP_MISSING_DIALPORT_ANSI : constant := 9; SS7_K_TCAP_INCONS_DIALPORT_ANSI : constant := 10; -- -- Flags used by the ANSI 96 Dialog portion to -- Distinguish if the inserted parameter will be -- an integer or an object defined by the user. -- -- -- Flag for the application context name field. -- SS7_K_TCAP_INT_ACN : constant := 0; SS7_K_TCAP_OBJ_ACN : constant := 1; -- -- Flag for the security contect field. -- SS7_K_TCAP_INT_SECU : constant := 0; SS7_K_TCAP_OBJ_SECU : constant := 1; -- -- Symbols used to define the problem type for a rejected component. -- SS7_K_TCAP_GENERAL_PROBLEM_ANSI : constant := 1; SS7_K_TCAP_INVOKE_PROBLEM_ANSI : constant := 2; SS7_K_TCAP_RESULT_PROBLEM_ANSI : constant := 3; SS7_K_TCAP_ERROR_PROBLEM_ANSI : constant := 4; SS7_K_TCAP_TRANS_PORTION_PB_ANSI : constant := 5; -- -- Symbols used to define the problem code for a reject component of code GENERAL -- SS7_K_TCAP_RG_UNREC_COMP_ANSI : constant := 1; SS7_K_TCAP_RG_INCOR_COMP_ANSI : constant := 2; SS7_K_TCAP_RG_BAD_STRUCT_COMP_ANSI : constant := 3; SS7_K_TCAP_RG_INCOR_COMP_COD_ANSI : constant := 4; -- -- Symbols used to define the problem code for a reject component of code INVOKE -- SS7_K_TCAP_RI_DUP_INV_ID_ANSI : constant := 1; SS7_K_TCAP_RI_UNREC_OP_ANSI : constant := 2; SS7_K_TCAP_RI_INCOR_PARAM_ANSI : constant := 3; SS7_K_TCAP_RI_UNREC_COR_ID_ANSI : constant := 4; -- -- Symbols used to define the problem code for a reject component of code RESULT -- SS7_K_TCAP_RR_UNREC_COR_ID_ANSI : constant := 1; SS7_K_TCAP_RR_UNEXP_RETRES_ANSI : constant := 2; SS7_K_TCAP_RR_INCOR_PARAM_ANSI : constant := 3; -- -- Symbols used to define the problem code for a reject component of code ERROR -- SS7_K_TCAP_RE_UNREC_COR_ID_ANSI : constant := 1; SS7_K_TCAP_RE_UNEXP_RETERR_ANSI : constant := 2; SS7_K_TCAP_RE_UNREC_ERROR_ANSI : constant := 3; SS7_K_TCAP_RE_UNEXP_ERROR_ANSI : constant := 4; SS7_K_TCAP_RE_INCOR_PARAM_ANSI : constant := 5; -- -- Symbols used to specify the reason of a reject with transaction portion problem, -- which in fact simulate an abort. -- SS7_K_TCAP_RT_UNREC_PKG_TYPE_ANSI : constant := 1; SS7_K_TCAP_RT_INCOR_TP_ANSI : constant := 2; SS7_K_TCAP_RT_BAD_STRUCT_TP_ANSI : constant := 3; SS7_K_TCAP_RT_UNREC_TRANS_ID_ANSI : constant := 4; SS7_K_TCAP_RT_PERM_RELEAS_PB_ANSI : constant := 5; SS7_K_TCAP_RT_RESOUR_UNAVAIL_ANSI : constant := 6; -- -- Symbols used to specify the capability set in case of INAP -- SS7_K_SRF_CS_CS1 : constant := 1; SS7_K_SRF : constant := 2; end SS7_TCAP_K_COMMON;