diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 15:07:16 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 15:07:16 +0000 |
commit | 7c93b57c1c241c2010d96aa13575684e8ffde8b2 (patch) | |
tree | 2c6b772e6083e5a80fdd4d5581cdbd851d3fcbfd /apps | |
parent | 370a18c2c2fd8fbd903abf3fd5cefaab882b86d9 (diff) |
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41065 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index e00eee312..fa86fe173 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5162,8 +5162,11 @@ static int vm_execmain(struct ast_channel *chan, void *data) if (!ast_strlen_zero(vms.username) && (vmu = find_user(&vmus, context ,vms.username))) skipuser++; - else + else { + if (!ast_strlen_zero(vms.username)) + ast_log(LOG_NOTICE, "Specified user '%s%s%s' not found (check voicemail.conf and/or realtime config). Falling back to authentication mode.\n", vms.username, context ? "@" : "", context ? context : ""); valid = 0; + } } if (!valid) |