diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-08 23:40:28 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-08 23:40:28 +0000 |
commit | 9e33bd0dedfc25c60f6aef7437f968d3acc25b43 (patch) | |
tree | e6cb1b92314edc0347b130b214e1f5c6d7bc4748 /apps | |
parent | 0c89202c3bd1706acd98e684b7b8bbff0be90508 (diff) |
Merged revisions 50098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50098 | qwell | 2007-01-08 17:39:12 -0600 (Mon, 08 Jan 2007) | 4 lines
Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
Issue 8761, reported by and patch suggestion from ssokol.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50099 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 7de25c116..a4bcd9ea8 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -679,7 +679,7 @@ static void apply_options_full(struct ast_vm_user *retval, struct ast_variable * tmp = var; while (tmp) { ast_log(LOG_DEBUG, "Name: %s Value: %s\n", tmp->name, tmp->value); - if (!strcasecmp(tmp->name, "password")) { + if (!strcasecmp(tmp->name, "password") || !strcasecmp(tmp->name, "secret")) { ast_copy_string(retval->password, tmp->value, sizeof(retval->password)); } else if (!strcasecmp(tmp->name, "uniqueid")) { ast_copy_string(retval->uniqueid, tmp->value, sizeof(retval->uniqueid)); |