[Asterisk-cvs] libpri q931.c,1.101,1.102
mattf at lists.digium.com
mattf at lists.digium.com
Wed Dec 22 13:50:40 CST 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv26189
Modified Files:
q931.c
Log Message:
Mods so that PRI_NETWORK side on NI2 switches sends Callername
over facility IE
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- q931.c 15 Dec 2004 20:15:28 -0000 1.101
+++ q931.c 22 Dec 2004 18:46:23 -0000 1.102
@@ -1002,7 +1002,9 @@
struct rose_component *comp;
unsigned char namelen = strlen(call->callername);
- if ((namelen > 0) && (pri->switchtype == PRI_SWITCH_QSIG)) {
+ if ((namelen > 0) && ((pri->switchtype == PRI_SWITCH_QSIG) ||
+ (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