[asterisk-commits] trunk r34912 - in /trunk: ./ apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jun 19 13:29:09 MST 2006
Author: file
Date: Mon Jun 19 15:29:08 2006
New Revision: 34912
URL: http://svn.digium.com/view/asterisk?rev=34912&view=rev
Log:
Merged revisions 34911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines
Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
........
Modified:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=34912&r1=34911&r2=34912&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jun 19 15:29:08 2006
@@ -788,8 +788,10 @@
{
char buf[255];
snprintf(buf,255,"%s %s %s %s",ext_pass_cmd,vmu->context,vmu->mailbox,newpassword);
- if (!ast_safe_system(buf))
+ if (!ast_safe_system(buf)) {
+ reset_user_pw(vmu->context, vmu->mailbox, newpassword);
ast_copy_string(vmu->password, newpassword, sizeof(vmu->password));
+ }
}
static int make_dir(char *dest, int len, const char *context, const char *ext, const char *folder)
More information about the asterisk-commits
mailing list