[asterisk-commits] qwell: trunk r50099 - in /trunk: ./ apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 8 16:40:29 MST 2007


Author: qwell
Date: Mon Jan  8 17:40:28 2007
New Revision: 50099

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50099
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=50099&r1=50098&r2=50099
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan  8 17:40:28 2007
@@ -679,7 +679,7 @@
 	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));



More information about the asterisk-commits mailing list