[Asterisk-cvs] asterisk/channels chan_iax2.c,1.152,1.153

markster at lists.digium.com markster at lists.digium.com
Sun Jun 13 22:08:21 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv32206/channels

Modified Files:
	chan_iax2.c 
Log Message:
Make meetme operate in linear so as to keep alaw folk happy, minor iax2 
authentication cleanup


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- chan_iax2.c	13 Jun 2004 21:25:10 -0000	1.152
+++ chan_iax2.c	14 Jun 2004 03:12:46 -0000	1.153
@@ -3382,7 +3382,7 @@
 				/* Exact match, stop right now. */
 				best = user;
 				break;
-			} else if (ast_strlen_zero(user->secret)) {
+			} else if (ast_strlen_zero(user->secret) && ast_strlen_zero(user->inkeys)) {
 				/* No required authentication */
 				if (user->ha) {
 					/* There was host authentication and we passed, bonus! */




More information about the svn-commits mailing list