[Asterisk-cvs] libpri q931.c,1.104,1.105

mattf at lists.digium.com mattf at lists.digium.com
Mon Dec 27 11:30:29 CST 2004


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

Modified Files:
	q931.c 
Log Message:
Support callername being sent over NI2 type switches


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- q931.c	27 Dec 2004 16:22:30 -0000	1.104
+++ q931.c	27 Dec 2004 16:25:29 -0000	1.105
@@ -1005,8 +1005,7 @@
 	if (namelen > 15) 
 		namelen = 15; /* According to GR-1367, for NI2 switches it can't be > 15 characters */
 	if ((namelen > 0) && ((pri->switchtype == PRI_SWITCH_QSIG) ||
-			(pri->switchtype == PRI_SWITCH_NI2 && 
-			 pri->localtype == PRI_NETWORK) )) {
+			(pri->switchtype == PRI_SWITCH_NI2) )) {
 		ie->data[i] = ROSE_NETWORK_EXTENSION;
 		i++;
 		/* Interpretation component */




More information about the svn-commits mailing list