[svn-commits] mattf: trunk r11 - in /trunk: isup.c libss7.h
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Aug 11 17:59:55 MST 2006
Author: mattf
Date: Fri Aug 11 19:59:55 2006
New Revision: 11
URL: http://svn.digium.com/view/libss7?rev=11&view=rev
Log:
Rest of continuity check and continuty check request events
Modified:
trunk/isup.c
trunk/libss7.h
Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?rev=11&r1=10&r2=11&view=diff
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri Aug 11 19:59:55 2006
@@ -935,6 +935,15 @@
e->rlc.cic = c->cic;
isup_free_call(ss7, c);
return 0;
+ case ISUP_COT:
+ e->e = ISUP_EVENT_COT;
+ e->cot.cic = c->cic;
+ e->cot.passed = c->cot_check_passed;
+ return 0;
+ case ISUP_CCR:
+ e->e = ISUP_EVENT_CCR;
+ e->ccr.cic = c->cic;
+ return 0;
default:
ss7_error(ss7, "!! Unable to handle message type %s\n", message2str(mh->type));
return -1;
Modified: trunk/libss7.h
URL: http://svn.digium.com/view/libss7/trunk/libss7.h?rev=11&r1=10&r2=11&view=diff
==============================================================================
--- trunk/libss7.h (original)
+++ trunk/libss7.h Fri Aug 11 19:59:55 2006
@@ -15,6 +15,8 @@
#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
/* Different SS7 types */
#define SS7_ITU (1 << 0)
@@ -86,6 +88,17 @@
typedef struct {
int e;
+ int cic;
+ int passed;
+} ss7_event_cot;
+
+typedef struct {
+ int e;
+ int cic;
+} ss7_event_ccr;
+
+typedef struct {
+ int e;
unsigned int data;
} ss7_event_generic;
@@ -100,6 +113,8 @@
ss7_event_anm anm;
ss7_event_acm acm;
ss7_event_con con;
+ ss7_event_cot cot;
+ ss7_event_ccr ccr;
} ss7_event;
void ss7_set_message(void (*func)(struct ss7 *ss7, char *message));
More information about the svn-commits
mailing list