diff options
author | Mark Spencer <markster@digium.com> | 2005-06-22 21:10:02 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-06-22 21:10:02 +0000 |
commit | 4358089aa79ae5e3c004bccb1db9e8ad64f2e1bf (patch) | |
tree | 81b3508e5ed4698e6f4f62588d7d376c82eb1965 /channels | |
parent | eb19519c8631330e26789a761e108dcade2aec9c (diff) |
Fix SIP with OSP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e410cfee4..f18bb6c5a 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 ) |