[svn-commits] mattf: trunk r171 - in /trunk: isup.c isup.h libss7.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 16 14:52:56 CDT 2008


Author: mattf
Date: Fri May 16 14:52:55 2008
New Revision: 171

URL: http://svn.digium.com/view/libss7?view=rev&rev=171
Log:
Add called_party_status_ind field to event_acm

Modified:
    trunk/isup.c
    trunk/isup.h
    trunk/libss7.h

Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?view=diff&rev=171&r1=170&r2=171
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Fri May 16 14:52:55 2008
@@ -605,6 +605,7 @@
 
 static FUNC_RECV(backward_call_ind_receive)
 {
+	c->called_party_status_ind = (parm[0] >> 2) & 0x3;
 	return 2;
 }
 
@@ -2000,6 +2001,7 @@
 	{ISUP_PARM_LOCAL_SERVICE_PROVIDER_IDENTIFICATION, "Local Service Provider ID", lspi_dump, lspi_receive, lspi_transmit},
 	{ISUP_PARM_FACILITY_IND, "Facility Indicator", facility_ind_dump, facility_ind_receive, facility_ind_transmit},
 	{ISUP_PARM_REDIRECTING_NUMBER, "Redirecting Number", redirecting_number_dump, redirecting_number_receive, redirecting_number_transmit},
+	{ISUP_PARM_ACCESS_DELIVERY_INFO, "Access Delivery Information", },
 };
 
 static char * param2str(int parm)
@@ -2787,6 +2789,7 @@
 			e->acm.call_ref_pc = c->call_ref_pc;
 			e->acm.call = c;
 			e->acm.opc = opc; /* keep OPC information */
+			e->acm.called_party_status_ind = c->called_party_status_ind;
 			return 0;
 		case ISUP_CON:
 			e->e = ISUP_EVENT_CON;

Modified: trunk/isup.h
URL: http://svn.digium.com/view/libss7/trunk/isup.h?view=diff&rev=171&r1=170&r2=171
==============================================================================
--- trunk/isup.h (original)
+++ trunk/isup.h Fri May 16 14:52:55 2008
@@ -115,6 +115,7 @@
 #define ISUP_PARM_LOCAL_SERVICE_PROVIDER_IDENTIFICATION 0xe4
 #define ISUP_PARM_FACILITY_IND 0x18
 #define ISUP_PARM_REDIRECTING_NUMBER 0x0b 
+#define ISUP_PARM_ACCESS_DELIVERY_INFO 0x2e
 
 /* ISUP Parameter Pseudo-type */
 struct isup_parm_opt {
@@ -192,6 +193,8 @@
 	struct isup_call *next;
 	/* set DPC according to CIC's DPC, not linkset */
 	unsigned int dpc;
+	/* Backward Call Indicator variables */
+	unsigned char called_party_status_ind;
 };
 
 int isup_receive(struct ss7 *ss7, struct mtp2 *sl, struct routing_label *rl, unsigned char *sif, int len);

Modified: trunk/libss7.h
URL: http://svn.digium.com/view/libss7/trunk/libss7.h?view=diff&rev=171&r1=170&r2=171
==============================================================================
--- trunk/libss7.h (original)
+++ trunk/libss7.h Fri May 16 14:52:55 2008
@@ -193,6 +193,8 @@
 	unsigned int call_ref_pc;
 	unsigned int opc;
 	struct isup_call *call;
+	/* Backward call indicator */
+	unsigned char called_party_status_ind;
 } ss7_event_acm;
 
 typedef struct {




More information about the svn-commits mailing list