dect
/
asterisk
Archived
13
0
Fork 0

Fix SIP with OSP

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5975 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-06-22 21:10:02 +00:00
parent cf5a053c9e
commit 7da6c77c03
1 changed files with 1 additions and 1 deletions

View File

@ -5439,7 +5439,7 @@ static int check_auth(struct sip_pvt *p, struct sip_request *req, char *randdata
/* 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
)