[libss7-commits] rmudgett: branch 1.0 r295 - in /branches/1.0: isup.h libss7.h
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Thu Sep 22 14:46:15 CDT 2011
Author: rmudgett
Date: Thu Sep 22 14:46:11 2011
New Revision: 295
URL: http://svnview.digium.com/svn/libss7?view=rev&rev=295
Log:
Add comments to SS7 events and ISUP message types.
Modified:
branches/1.0/isup.h
branches/1.0/libss7.h
Modified: branches/1.0/isup.h
URL: http://svnview.digium.com/svn/libss7/branches/1.0/isup.h?view=diff&rev=295&r1=294&r2=295
==============================================================================
--- branches/1.0/isup.h (original)
+++ branches/1.0/isup.h Thu Sep 22 14:46:11 2011
@@ -35,58 +35,58 @@
#include "ss7_internal.h"
/* ISUP messages */
-#define ISUP_IAM 0x01
-#define ISUP_SAM 0x02
-#define ISUP_INR 0x03
-#define ISUP_INF 0x04
-#define ISUP_COT 0x05
-#define ISUP_ACM 0x06
-#define ISUP_CON 0x07
-#define ISUP_FOT 0x08
-#define ISUP_ANM 0x09
-#define ISUP_REL 0x0c
-#define ISUP_SUS 0x0d
-#define ISUP_RES 0x0e
-#define ISUP_RLC 0x10
-#define ISUP_CCR 0x11
-#define ISUP_RSC 0x12
-#define ISUP_BLO 0x13
-#define ISUP_UBL 0x14
-#define ISUP_BLA 0x15
-#define ISUP_UBA 0x16
-#define ISUP_GRS 0x17
-#define ISUP_CGB 0x18
-#define ISUP_CGU 0x19
-#define ISUP_CGBA 0x1a
-#define ISUP_CGUA 0x1b
-#define ISUP_CMR 0x1c
-#define ISUP_CMC 0x1d
-#define ISUP_CMRJ 0x1e
-#define ISUP_FAR 0x1f
-#define ISUP_FAA 0x20
-#define ISUP_FRJ 0x21
-#define ISUP_FAD 0x22
-#define ISUP_FAI 0x23
-#define ISUP_LPA 0x24
-#define ISUP_CSVR 0x25
-#define ISUP_CSVS 0x26
-#define ISUP_DRS 0x27
-#define ISUP_PAM 0x28
-#define ISUP_GRA 0x29
-#define ISUP_CQM 0x2a
-#define ISUP_CQR 0x2b
-#define ISUP_CPG 0x2c
-#define ISUP_USR 0x2d
-#define ISUP_UCIC 0x2e
-#define ISUP_CFN 0x2f
-#define ISUP_OLM 0x30
-#define ISUP_CRG 0x31
-#define ISUP_FAC 0x33
-#define ISUP_CRA 0xe9
-#define ISUP_CRM 0xea
-#define ISUP_CVR 0xeb
-#define ISUP_CVT 0xec
-#define ISUP_EXM 0xed
+#define ISUP_IAM 0x01 /*!< Initial address */
+#define ISUP_SAM 0x02 /*!< Subsequent address */
+#define ISUP_INR 0x03 /*!< Information request (national use) */
+#define ISUP_INF 0x04 /*!< Information (national use) */
+#define ISUP_COT 0x05 /*!< Continuity */
+#define ISUP_ACM 0x06 /*!< Address complete */
+#define ISUP_CON 0x07 /*!< Connect */
+#define ISUP_FOT 0x08 /*!< Forward transfer */
+#define ISUP_ANM 0x09 /*!< Answer */
+#define ISUP_REL 0x0c /*!< Release */
+#define ISUP_SUS 0x0d /*!< Suspend */
+#define ISUP_RES 0x0e /*!< Resume */
+#define ISUP_RLC 0x10 /*!< Release complete */
+#define ISUP_CCR 0x11 /*!< Continuity check request */
+#define ISUP_RSC 0x12 /*!< Reset circuit */
+#define ISUP_BLO 0x13 /*!< Blocking */
+#define ISUP_UBL 0x14 /*!< Unblocking */
+#define ISUP_BLA 0x15 /*!< Blocking acknowledgement */
+#define ISUP_UBA 0x16 /*!< Unblocking acknowledgement */
+#define ISUP_GRS 0x17 /*!< Circuit group reset */
+#define ISUP_CGB 0x18 /*!< Circuit group blocking */
+#define ISUP_CGU 0x19 /*!< Circuit group unblocking */
+#define ISUP_CGBA 0x1a /*!< Circuit group blocking acknowledgement */
+#define ISUP_CGUA 0x1b /*!< Circuit group unblocking acknowledgement */
+#define ISUP_CMR 0x1c /*!< Reserved (used in 1988 version) */
+#define ISUP_CMC 0x1d /*!< Reserved (used in 1988 version) */
+#define ISUP_CMRJ 0x1e /*!< Reserved (used in 1988 version) */
+#define ISUP_FAR 0x1f /*!< Facility request */
+#define ISUP_FAA 0x20 /*!< Facility accepted */
+#define ISUP_FRJ 0x21 /*!< Facility reject */
+#define ISUP_FAD 0x22 /*!< Reserved (used in 1984 version) */
+#define ISUP_FAI 0x23 /*!< Reserved (used in 1984 version) */
+#define ISUP_LPA 0x24 /*!< Loop back acknowledgement (national use) */
+#define ISUP_CSVR 0x25 /*!< Reserved (used in 1984 version) */
+#define ISUP_CSVS 0x26 /*!< Reserved (used in 1984 version) */
+#define ISUP_DRS 0x27 /*!< Reserved (used in 1988 version) */
+#define ISUP_PAM 0x28 /*!< Pass-along (national use) */
+#define ISUP_GRA 0x29 /*!< Circuit group reset acknowledgement */
+#define ISUP_CQM 0x2a /*!< Circuit group query (national use) */
+#define ISUP_CQR 0x2b /*!< Circuit group query response (national use) */
+#define ISUP_CPG 0x2c /*!< Call progress */
+#define ISUP_USR 0x2d /*!< User-to-user information */
+#define ISUP_UCIC 0x2e /*!< Unequipped CIC (national use) */
+#define ISUP_CFN 0x2f /*!< Confusion */
+#define ISUP_OLM 0x30 /*!< Overload (national use) */
+#define ISUP_CRG 0x31 /*!< Charge information (national use) */
+#define ISUP_FAC 0x33 /*!< Facility */
+#define ISUP_CRA 0xe9 /*!< ??? */
+#define ISUP_CRM 0xea /*!< ??? */
+#define ISUP_CVR 0xeb /*!< ???Used??? */
+#define ISUP_CVT 0xec /*!< ???Used??? */
+#define ISUP_EXM 0xed /*!< ??? */
/* ISUP Parameters */
#define ISUP_PARM_SUSPEND_RESUME_IND 0x22
Modified: branches/1.0/libss7.h
URL: http://svnview.digium.com/svn/libss7/branches/1.0/libss7.h?view=diff&rev=295&r1=294&r2=295
==============================================================================
--- branches/1.0/libss7.h (original)
+++ branches/1.0/libss7.h Thu Sep 22 14:46:11 2011
@@ -33,40 +33,39 @@
#define _LIBSS7_H
/* Internal -- MTP2 events */
-#define SS7_EVENT_UP 1
-#define SS7_EVENT_DOWN 2
-#define MTP2_LINK_UP 3
-#define MTP2_LINK_DOWN 4
-#define ISUP_EVENT_IAM 5
-#define ISUP_EVENT_ACM 6
-#define ISUP_EVENT_ANM 7
-#define ISUP_EVENT_REL 8
-#define ISUP_EVENT_RLC 9
-/* Circuit group reset */
-#define ISUP_EVENT_GRS 10
-#define ISUP_EVENT_GRA 11
-#define ISUP_EVENT_CON 12
-#define ISUP_EVENT_COT 13
-#define ISUP_EVENT_CCR 14
-#define ISUP_EVENT_BLO 15
-#define ISUP_EVENT_UBL 16
-#define ISUP_EVENT_BLA 17
-#define ISUP_EVENT_UBA 18
-#define ISUP_EVENT_CGB 19
-#define ISUP_EVENT_CGU 20
-#define ISUP_EVENT_CGBA 19
-#define ISUP_EVENT_CGUA 20
-#define ISUP_EVENT_RSC 21
-#define ISUP_EVENT_CPG 22
-#define ISUP_EVENT_UCIC 23
-#define ISUP_EVENT_LPA 24
-#define ISUP_EVENT_CQM 25
-#define ISUP_EVENT_FAR 26
-#define ISUP_EVENT_FAA 27
-#define ISUP_EVENT_CVT 28
-#define ISUP_EVENT_CVR 29
-#define ISUP_EVENT_SUS 30
-#define ISUP_EVENT_RES 31
+#define SS7_EVENT_UP 1 /*!< SS7 link up */
+#define SS7_EVENT_DOWN 2 /*!< SS7 link down */
+#define MTP2_LINK_UP 3 /*!< MTP layer 2 up */
+#define MTP2_LINK_DOWN 4 /*!< MTP layer 2 down */
+#define ISUP_EVENT_IAM 5 /*!< Initial address */
+#define ISUP_EVENT_ACM 6 /*!< Address complete */
+#define ISUP_EVENT_ANM 7 /*!< Answer */
+#define ISUP_EVENT_REL 8 /*!< Release */
+#define ISUP_EVENT_RLC 9 /*!< Release complete */
+#define ISUP_EVENT_GRS 10 /*!< Circuit group reset */
+#define ISUP_EVENT_GRA 11 /*!< Circuit group reset acknowledgement */
+#define ISUP_EVENT_CON 12 /*!< Connect */
+#define ISUP_EVENT_COT 13 /*!< Continuity */
+#define ISUP_EVENT_CCR 14 /*!< Continuity check request */
+#define ISUP_EVENT_BLO 15 /*!< Blocking */
+#define ISUP_EVENT_UBL 16 /*!< Unblocking */
+#define ISUP_EVENT_BLA 17 /*!< Blocking acknowledgement */
+#define ISUP_EVENT_UBA 18 /*!< Unblocking acknowledgement */
+#define ISUP_EVENT_CGB 19 /*!< Circuit group blocking */
+#define ISUP_EVENT_CGU 20 /*!< Circuit group unblocking */
+#define ISUP_EVENT_CGBA 19 /*!< Circuit group blocking acknowledgement (Not used) */
+#define ISUP_EVENT_CGUA 20 /*!< Circuit group unblocking acknowledgement (Not used) */
+#define ISUP_EVENT_RSC 21 /*!< Reset circuit */
+#define ISUP_EVENT_CPG 22 /*!< Call progress */
+#define ISUP_EVENT_UCIC 23 /*!< Unequipped CIC (national use) */
+#define ISUP_EVENT_LPA 24 /*!< Loop back acknowledgement (national use) */
+#define ISUP_EVENT_CQM 25 /*!< Circuit group query (national use) */
+#define ISUP_EVENT_FAR 26 /*!< Facility request */
+#define ISUP_EVENT_FAA 27 /*!< Facility accepted */
+#define ISUP_EVENT_CVT 28 /*!< ???Used??? */
+#define ISUP_EVENT_CVR 29 /*!< Not used */
+#define ISUP_EVENT_SUS 30 /*!< Suspend */
+#define ISUP_EVENT_RES 31 /*!< Resume */
/* Different SS7 types */
#define SS7_ITU (1 << 0)
More information about the libss7-commits
mailing list