MODULE ISUPDEF IDENT "ISUPDEF-1-X"; {++ { Facility: { SS7/ISUP Q.763 (ISDN User Part) { { Abstract: { An interface module defined ISUP message set and structures, constants. { { Author: { Ruslan R. Laishev { { Creation Date: 14-JUN-2001 { { Modification History: {-- /* /**++ /** /** ISUP: Message type /** /**-- /* CONSTANT ( IAM, /* Initial Address Message SBA, /* Subsequent Address Message INR, /* Information Request INF, /* Information COT, /* Continuity ACM, /* Address Complete CON, /* Connect FOT, /* Forward Transfer ANM, /* Answer , /* Reserved , /* Reserved REL, /* Release SUS, /* Suspend RES, /* Resume , /* Reserved RLC, /* Release Complete CCR, /* Continuity Check Request RSC, /* Reset Circuit BLO, /* Blocking UBL, /* Unblocking BLA, /* Blocking Acknowledgement UBA, /* Unblocking Acknowledgement GRA, /* Circuit Group Reset Acknowledgement CGB, /* Circuit Group Blocking CGU, /* Circuit Group Unblocking CGBA, /* Circuit Group Blocking Acknowledgement CGUA, /* Circuit Group Unblocking Acknowledgement CMR, /* Call Modification Request CMC, /* Call Modification Completed CMRJ, /* Call Modification Reject FRJ, /* Facility Reject FAA, /* Facility Accepted FAR, /* Facility Request , /* Reserved , /* Reserved LPA, /* Loop Back Acknowledgement , /* Reserved , /* Reserved DRS, /* Delayed Release PAM, /* Pass Along GRS, /* Circuit Group Reset CQM, /* Circuit Group Query CQR, /* Circuit Group Query Response CPG, /* Call Progress USR, /* User to User Information UCIC, /* Unequipped Circuit Identification Code CFN, /* Confusion OVLD, /* Overload CHGI, /* Charge information NRM, /* Network Resource Management FAC, /* Facility UPT, /* User Part Test UPA, /* User Part Available IDRQ, /* Identification Request IDRS, /* Identification Response SEGM /* Segmentation ) EQUALS 1 INCREMENT 1 PREFIX ISUP_MC$; CONSTANT ( CRA, CRM, CVR, CVT, EXM ) EQUALS 233 INCREMENT 1 PREFIX ISUP_MC$; /* /**++ /** /** ISUP: Mandatory Parameter designation /** /**-- /* CONSTANT ( EOP, /* End of optional parameters CLRF, /* Call reference TMR, /* Transmission medium requirement ATP, /* Access transport CDPN, /* Called party number SSN, /* Subsequent number NCI, /* Nature of connection indicators FCI, /* Forward call indicators OFCI, /* Optional forward call indicators CPC, /* Calling party's category CGPN, /* Calling party number RDGN, /* Redirecting number RDNN, /* Redirection number CONR, /* Connection request INRI, /* Information request indicators INFI, /* Information indicators COTI, /* Continuity indicators BCI, /* Backward call indicators CAUS, /* Cause indicators RDI, /* Redirecting information EVNI, /* Event information , /* Reserved CGI, /* Circuit group supervision message type indicator RNS, /* Range and status CMI, /* Call modification indicators FACI, /* Facility indicator FAII, /* Facility information indicator CUGI, /* Closed user group interlock code INDEX, /* , /* Reserved USI, /* User service information ISPC, /* Signalling point code , /* Reserved UUI, /* User to user information CONN, /* Connected number SRIS, /* Suspend / Resume indicators TNS, /* Transit network selection EVNT, /* Reserved CISTI, /* Circuit state indicator ACL, /* Automatic congestion level OCDN, /* Original called number OBCI, /* Optional backward call indicators UUIND /* User to user indicators ) EQUALS 0 INCREMENT 1 PREFIX ISUP_PD$; CONSTANT ( GENADR, /* Generic Address GENDIG, /* Generic Digits , EGRESS, /* Egress JUR, /* Jurisdiction CIDC, /* Carrier Id Code BGROUP /* Business Group ) EQUALS 192 INCREMENT 1 PREFIX ISUP_PD$; CONSTANT ( NOTI, /* Notification indicator SVACT, /* Service Activation TRNSRQ, /* Transaction Request SPR, /* Special Processing Req CGCI, /* Cct Grp Char Inds CVRI, /* Cct Val Response Ind OTGN, /* O/G Trunk Group Number CIN, /* Circuit Id Name CLLI, /* Common Lang Loc Id OLI, /* Originating Line Info CHGN, /* Charge Number SVCD, /* Service Code Indicator SPR_, /* Special Processing Req CSEL /* Carrier Selection Info ) EQUALS 225 INCREMENT 1 PREFIX ISUP_PD$; CONSTANT UREC EQUALS -1 PREFIX ISUP_PD$; /* /**++ /** /** ISUP: Parameter's values /** /**-- /* CONSTANT ( /* Calling Party Category UNK, /* Operator - Unknown FR, /* Operator - French ENG, /* Operator - English GER, /* Operator - German RUS, /* Operator - Russian SPA, /* Operator - Spanish ORD, /* Ordinary calling subscriber PRIO, /* Calling subscriber with priority DATA, /* Data call TEST, /* Test call NVT, /* Non-voice terminal PAY /* Payphone ) EQUALS 0 INCREMENT 1 PREFIX ISUP_PD_CPC$; CONSTANT ( P2, /* Subscriber with precedence level 2 P3, /* Subscriber with precedence level 3 P4, /* Subscriber with precedence level 4 P5 /* Subscriber with precedence level 5 ) EQUALS 251 INCREMENT 1 PREFIX ISUP_PD_CPC$; /* /**++ /** /** ITU-U ISUP Message header /** /**-- /* AGGREGATE isupmsg_hdr STRUCTURE PREFIX isupmsg_hdr$; sind BITFIELD LENGTH 4 MASK; /* Service Indicator ssf BITFIELD LENGTH 4 MASK; /* Subservice Field dpc BITFIELD LENGTH 14 MASK; /* Destination Point Code opc BITFIELD LENGTH 14 MASK; /* Originating Point Code sls BITFIELD LENGTH 4 MASK; /* Signaling Link Selection cic BITFIELD LENGTH 12 MASK; /* Circuit Identefication Code spare1 BITFIELD LENGTH 4; msgtype BYTE UNSIGNED; /* Message Type /* msgbody BYTE UNSIGNED DIMENSION 1; /* Message Body placeholder END isupmsg_hdr; /* /**++ /** /** ITU-U ISUP Optional Parameter Srtucture /** /**-- /* AGGREGATE isupmsg_opar STRUCTURE PREFIX isupmsg_opar$; cod BYTE UNSIGNED; /* Optional Parameter Code len BYTE UNSIGNED; /* Optional Parameter Length par BYTE UNSIGNED DIMENSION 1; /* Optional Parameter Body placeholder END isupmsg_opar; /* /**++ /** /** ITU-U ISUP Initial Address Message structure /** /**-- /* AGGREGATE isupmsg_iam STRUCTURE PREFIX isupmsg_iam$; hdr isupmsg_hdr; /* ISUP message header nci BYTE UNSIGNED; /* Nature of Connection Indicators fci WORD UNSIGNED; /* Forward Call Indicator cpc BYTE UNSIGNED; /* Calling Party Category trm BYTE UNSIGNED; /* Transmission Medium off_man BYTE UNSIGNED; /* Offset of Mandatory Var. Parameter off_opt BYTE UNSIGNED; /* Offset of Start of Optional Parameter cpnlen BYTE UNSIGNED; /* Lemgth Indicator of Calling Party No. cpn BYTE UNSIGNED DIMENSION 1; /* Calling Party Number placeholder END isupmsg_iam; /* /**++ /** /** ITU-U ISUP Address Complete Message structure (answer to IAM) /** /**-- /* AGGREGATE isupmsg_acm STRUCTURE PREFIX isupmsg_acm$; hdr isupmsg_hdr; /* ISUP message header bci WORD UNSIGNED; /* Backward Call Indicator off_opt BYTE UNSIGNED; /* Offset of Start of Optional Parameter opar isupmsg_opar; /* Optional Parameter placeholder END isupmsg_acm; /* /**++ /** /** ITU-U ISUP Answer Message structure /** /**-- /* AGGREGATE isupmsg_anm STRUCTURE PREFIX isupmsg_anm$; hdr isupmsg_hdr; /* ISUP message header off_opt BYTE UNSIGNED; /* Offset of Start of Optional Parameter opar isupmsg_opar; /* Optional Parameter placeholder END isupmsg_anm; /* /**++ /** /** ITU-U ISUP Release Message structure /** /**-- /* AGGREGATE isupmsg_rel STRUCTURE PREFIX isupmsg_rel$; hdr isupmsg_hdr; /* ISUP message header off_man BYTE UNSIGNED; /* Offset of Mandatory Var. Parameter off_opt BYTE UNSIGNED; /* Offset of Start of Optional Parameter causlen BYTE UNSIGNED; /* Length Indicator of Cause Indicators cause BYTE UNSIGNED DIMENSION 1; /* Release Cause Indicators END isupmsg_rel; /* /**++ /** /** ITU-U ISUP Release Complete Message structure /** /**-- /* AGGREGATE isupmsg_rlc STRUCTURE PREFIX isupmsg_rlc$; hdr isupmsg_hdr; /* ISUP message header END isupmsg_rlc; /* /**++ /** /** Routines prototypes declaration /** /**-- /* ENTRY isup$decode ALIAS ISUP$DECODE PARAMETER ( ADDRESS NAMED msg IN TYPENAME ISUPMSG_HDR, ADDRESS NAMED avp OUT TYPENAME AVP ) RETURNS LONGWORD TYPENAME CONDVALU; END_MODULE ISUPDEF;