diff options
author | Mark Spencer <markster@digium.com> | 2004-06-14 03:12:46 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-14 03:12:46 +0000 |
commit | 3cf5ea7383104f53d9c2936c6f3bb51a04f30b49 (patch) | |
tree | 7a0c949fb5af0228288c343528f4dc61ccbf49b2 /channels | |
parent | d208532e6e81c1a25ca1664d9f8d2a2ac3ac145f (diff) |
Make meetme operate in linear so as to keep alaw folk happy, minor iax2
authentication cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 3b64b5208..4c02f6555 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -3382,7 +3382,7 @@ static int check_access(int callno, struct sockaddr_in *sin, struct iax_ies *ies /* 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! */ |