[Asterisk-cvs] libpri q921.c,1.15,1.16
markster at lists.digium.com
markster at lists.digium.com
Thu Jul 15 22:28:01 CDT 2004
Update of /usr/cvsroot/libpri
In directory localhost.localdomain:/tmp/cvs-serv7733
Modified Files:
q921.c
Log Message:
Don't process subchannels by default
Index: q921.c
===================================================================
RCS file: /usr/cvsroot/libpri/q921.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- q921.c 7 Jun 2004 17:00:29 -0000 1.15
+++ q921.c 16 Jul 2004 02:14:04 -0000 1.16
@@ -913,11 +913,14 @@
/* Check for SAPIs we don't yet handle */
if ((h->h.sapi != pri->sapi) || (h->h.tei != pri->tei)) {
+#ifdef PROCESS_SUBCHANNELS
/* If it's not us, try any subchannels we have */
if (pri->subchannel)
return q921_receive(pri->subchannel, h, len + 2);
- else
+ else
+#endif
return NULL;
+
}
ev = __q921_receive_qualified(pri, h, len);
reschedule_t203(pri);
More information about the svn-commits
mailing list