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: https://origsvn.digium.com/svn/asterisk/trunk@50099
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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));