[asterisk-commits] mattf: branch mattf/asterisk-ss7 r38621 - /team/mattf/asterisk-ss7/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jul 31 15:01:27 MST 2006


Author: mattf
Date: Mon Jul 31 17:01:26 2006
New Revision: 38621

URL: http://svn.digium.com/view/asterisk?rev=38621&view=rev
Log:
Update event names so that there are not potential namespace conflicts in the future.

Modified:
    team/mattf/asterisk-ss7/channels/chan_zap.c

Modified: team/mattf/asterisk-ss7/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/mattf/asterisk-ss7/channels/chan_zap.c?rev=38621&r1=38620&r2=38621&view=diff
==============================================================================
--- team/mattf/asterisk-ss7/channels/chan_zap.c (original)
+++ team/mattf/asterisk-ss7/channels/chan_zap.c Mon Jul 31 17:01:26 2006
@@ -8106,14 +8106,14 @@
 			case MTP2_LINK_UP:
 				ast_log(LOG_DEBUG, "MTP2 link up\n");
 				break;
-			case SS7_EVENT_GRS:
+			case ISUP_EVENT_GRS:
 				ast_log(LOG_DEBUG, "Got Reset for cics %d to %d: Acknowledging\n", e->grs.startcic, e->grs.endcic);
 				isup_gra(ss7, e->grs.startcic, e->grs.endcic);
 				break;
-			case SS7_EVENT_GRA:
+			case ISUP_EVENT_GRA:
 				ast_log(LOG_DEBUG, "Got GRA from cic %d to %d.\n", e->gra.startcic, e->gra.endcic);
 				break;
-			case SS7_EVENT_IAM:
+			case ISUP_EVENT_IAM:
 				ast_log(LOG_DEBUG, "Got IAM for cic %d and number %s\n", e->iam.cic, e->iam.called_party_num);
 				chanpos = ss7_find_cic(linkset, e->iam.cic);
 				if (chanpos < 0) {
@@ -8184,7 +8184,7 @@
 
 				ast_mutex_unlock(&p->lock);
 				break;
-			case SS7_EVENT_REL:
+			case ISUP_EVENT_REL:
 				chanpos = ss7_find_cic(linkset, e->rel.cic);
 				if (chanpos < 0) {
 					ast_log(LOG_WARNING, "REL on unconfigured CIC %d\n", e->rel.cic);
@@ -8203,7 +8203,7 @@
 
 				ast_mutex_unlock(&p->lock);
 				break;
-			case SS7_EVENT_ACM:
+			case ISUP_EVENT_ACM:
 				ast_log(LOG_DEBUG, "Got ACM for cic %d\n", e->acm.cic);
 				chanpos = ss7_find_cic(linkset, e->acm.cic);
 				if (chanpos < 0) {
@@ -8224,7 +8224,7 @@
 					ast_mutex_unlock(&p->lock);
 				}
 				break;
-			case SS7_EVENT_ANM:
+			case ISUP_EVENT_ANM:
 				ast_log(LOG_DEBUG, "Got ANM for cic %d\n", e->anm.cic);
 				chanpos = ss7_find_cic(linkset, e->anm.cic);
 				if (chanpos < 0) {
@@ -8239,7 +8239,7 @@
 					ast_mutex_unlock(&p->lock);
 				}
 				break;
-			case SS7_EVENT_RLC:
+			case ISUP_EVENT_RLC:
 				printf("Got RLC for cic %d\n", e->rlc.cic);
 				chanpos = ss7_find_cic(linkset, e->rlc.cic);
 				if (chanpos < 0) {



More information about the asterisk-commits mailing list