[asterisk-commits] sgriepentrog: trunk r419286 - in /trunk: ./ apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 23 09:00:15 CDT 2014
Author: sgriepentrog
Date: Wed Jul 23 09:00:09 2014
New Revision: 419286
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419286
Log:
app_voicemail: use a consistent generator string
When updating voicemail.conf when a user changes
their pin, change the generator string to be the
same as the module name when reading so that the
same config_hook will be called.
Review: https://reviewboard.asterisk.org/r/3837/
........
Merged revisions 419284 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 419285 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=419286&r1=419285&r2=419286
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Wed Jul 23 09:00:09 2014
@@ -1830,7 +1830,7 @@
ast_test_suite_event_notify("PASSWORDCHANGED", "Message: voicemail.conf updated with new password\r\nPasswordSource: voicemail.conf");
reset_user_pw(vmu->context, vmu->mailbox, newpassword);
ast_copy_string(vmu->password, newpassword, sizeof(vmu->password));
- ast_config_text_file_save(VOICEMAIL_CONFIG, cfg, "AppVoicemail");
+ ast_config_text_file_save(VOICEMAIL_CONFIG, cfg, "app_voicemail");
ast_config_destroy(cfg);
break;
}
@@ -1873,7 +1873,7 @@
ast_test_suite_event_notify("PASSWORDCHANGED", "Message: users.conf updated with new password\r\nPasswordSource: users.conf");
reset_user_pw(vmu->context, vmu->mailbox, newpassword);
ast_copy_string(vmu->password, newpassword, sizeof(vmu->password));
- ast_config_text_file_save("users.conf", cfg, "AppVoicemail");
+ ast_config_text_file_save("users.conf", cfg, "app_voicemail");
}
ast_config_destroy(cfg);
More information about the asterisk-commits
mailing list