[Asterisk-cvs] asterisk/channels chan_sip.c,1.769,1.770

markster at lists.digium.com markster at lists.digium.com
Wed Jun 22 17:09:22 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
Fix SIP with OSP


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.769
retrieving revision 1.770
diff -u -d -r1.769 -r1.770
--- chan_sip.c	22 Jun 2005 19:10:39 -0000	1.769
+++ chan_sip.c	22 Jun 2005 21:10:02 -0000	1.770
@@ -5439,7 +5439,7 @@
 	/* Always OK if no secret */
 	if (ast_strlen_zero(secret) && ast_strlen_zero(md5secret)
 #ifdef OSP_SUPPORT
-	    && ast_test_flag(p, SIP_OSPAUTH)
+	    && !ast_test_flag(p, SIP_OSPAUTH)
 	    && global_allowguest != 2
 #endif
 		)




More information about the svn-commits mailing list