[Asterisk-cvs] libpri q931.c,1.90,1.91

mattf at lists.digium.com mattf at lists.digium.com
Thu Oct 28 12:15:01 CDT 2004


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

Modified Files:
	q931.c 
Log Message:
Change to which switchtypes to send facility IEs to


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- q931.c	27 Oct 2004 20:43:23 -0000	1.90
+++ q931.c	28 Oct 2004 16:18:14 -0000	1.91
@@ -990,9 +990,7 @@
 	struct rose_component *comp;
 	unsigned char namelen = strlen(call->callername);
 
-	if ((pri->switchtype == PRI_SWITCH_QSIG)
-		|| (pri->switchtype == PRI_SWITCH_ATT4ESS)
-		|| (pri->switchtype == PRI_SWITCH_NI2)) {
+	if ((namelen > 0) && (pri->switchtype == PRI_SWITCH_QSIG)) {
 		ie->data[i] = ROSE_NETWORK_EXTENSION;
 		i++;
 		/* Interpretation component */




More information about the svn-commits mailing list