[Asterisk-cvs] libpri pri_facility.c,1.21,1.22 q931.c,1.138,1.139

anthm anthm
Fri Sep 16 13:17:40 CDT 2005


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv20248

Modified Files:
	pri_facility.c q931.c 
Log Message:
fixing compile errors! check the patch but if it's wrong it's better than not compiling at all

Index: pri_facility.c
===================================================================
RCS file: /usr/cvsroot/libpri/pri_facility.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- pri_facility.c	16 Sep 2005 17:02:44 -0000	1.21
+++ pri_facility.c	16 Sep 2005 17:15:57 -0000	1.22
@@ -1300,7 +1300,7 @@
 
 	if (pri->switchtype == PRI_SWITCH_QSIG) { /* For Q.SIG it does network and cpe operations */
 		/* FIXME: Presumably, it should only send on a redirect */
-		if (call->redirecting) 
+		if (call->redirectingnum) 
 			rose_diverting_leg_information2_encode(pri, call);
 		add_callername_facility_ies(pri, call, 1);
 	}

Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- q931.c	16 Sep 2005 17:02:44 -0000	1.138
+++ q931.c	16 Sep 2005 17:15:57 -0000	1.139
@@ -361,7 +361,7 @@
 		return 0;
 	}
 
-	if ((pri->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0) || call->ds1explicit) {
+	if (((pri->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0)) || call->ds1explicit) {
 		/* Note that we are specifying the identifier */
 		ie->data[pos++] |= 0x40;
 		/* We need to use the Channel Identifier Present thingy.  Just specify it and we're done */




More information about the svn-commits mailing list