[Asterisk-cvs] libpri q931.c,1.91,1.92
markster at lists.digium.com
markster at lists.digium.com
Fri Oct 29 11:38:53 CDT 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv22623
Modified Files:
q931.c
Log Message:
Don't be picky about PROGRESS having PROGRESS INDICATOR.
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- q931.c 28 Oct 2004 16:18:14 -0000 1.91
+++ q931.c 29 Oct 2004 15:41:59 -0000 1.92
@@ -2614,7 +2614,8 @@
for (x=0;x<MAX_MAND_IES;x++) {
if (mandies[x]) {
/* check if there is no channel identification when we're configured as network -> that's not an error */
- if ((pri->localtype != PRI_NETWORK) || (mh->msg != Q931_SETUP) || (mandies[x] != Q931_CHANNEL_IDENT)) {
+ if (((pri->localtype != PRI_NETWORK) || (mh->msg != Q931_SETUP) || (mandies[x] != Q931_CHANNEL_IDENT)) &&
+ ((mh->msg != Q931_PROGRESS) || (mandies[x] != Q931_PROGRESS_INDICATOR))) {
pri_error("XXX Missing handling for mandatory IE %d (cs%d, %s) XXX\n", Q931_IE_IE(mandies[x]), Q931_IE_CODESET(mandies[x]), ie2str(mandies[x]));
missingmand++;
}
More information about the svn-commits
mailing list