[Asterisk-cvs] libpri q931.c,1.107,1.108
mattf at lists.digium.com
mattf at lists.digium.com
Mon Jan 24 18:34:15 CST 2005
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv25739
Modified Files:
q931.c
Log Message:
Don't send callername as CPE
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- q931.c 24 Jan 2005 20:57:04 -0000 1.107
+++ q931.c 25 Jan 2005 00:36:34 -0000 1.108
@@ -1055,7 +1055,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->switchtype == PRI_SWITCH_NI2) && (pri->localtype == PRI_NETWORK)))) {
ie->data[i] = ROSE_NETWORK_EXTENSION;
i++;
/* Interpretation component */
More information about the svn-commits
mailing list