diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-17 17:36:53 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-17 17:36:53 +0000 |
commit | f09065fd9329cccaa53de522b5d6a9203e427a2d (patch) | |
tree | e2bf674f0c78efb044ef29593f0a205d67dd2a1d /apps | |
parent | 24fa5d47663e5c0498f8c8f4f12817c1175f4985 (diff) |
re-add "password" for realtime voicemail
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51186 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 bb4514f81..1fb7dd07c 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -659,7 +659,7 @@ static void apply_options_full(struct ast_vm_user *retval, struct ast_variable * while (tmp) { if (!strcasecmp(tmp->name, "vmpassword")) { ast_copy_string(retval->password, tmp->value, sizeof(retval->password)); - } else if (!strcasecmp(tmp->name, "secret")) { /* don't overwrite vmpassword if it exists */ + } else if (!strcasecmp(tmp->name, "secret") || !strcasecmp(tmp->name, "password")) { /* don't overwrite vmpassword if it exists */ if (ast_strlen_zero(retval->password)) ast_copy_string(retval->password, tmp->value, sizeof(retval->password)); } else if (!strcasecmp(tmp->name, "uniqueid")) { |