[Asterisk-cvs] asterisk/channels chan_zap.c,1.343,1.344

citats at lists.digium.com citats at lists.digium.com
Sun Sep 26 14:13:26 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	chan_zap.c 
Log Message:
Fix inband priindication checking in chan_zap.c

Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -d -r1.343 -r1.344
--- chan_zap.c	19 Sep 2004 16:17:17 -0000	1.343
+++ chan_zap.c	26 Sep 2004 18:16:06 -0000	1.344
@@ -9460,7 +9460,7 @@
 		} else if (!strcasecmp(v->name, "priindication")) {
 			if (!strcasecmp(v->value, "outofband"))
 				priindication_oob = 1;
-			else if (!strcasecmp(v->name, "inband"))
+			else if (!strcasecmp(v->value, "inband"))
 				priindication_oob = 0;
 			else
 				ast_log(LOG_WARNING, "'%s' is not a valid pri indication value, should be 'inband' or 'outofband' at line %d\n",




More information about the svn-commits mailing list