[svn-commits] sgriepentrog: branch certified-1.8.15 r419309 - in /certified/branches/1.8.15...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 23 09:38:38 CDT 2014


Author: sgriepentrog
Date: Wed Jul 23 09:38:35 2014
New Revision: 419309

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

Modified:
    certified/branches/1.8.15/   (props changed)
    certified/branches/1.8.15/apps/app_voicemail.c

Propchange: certified/branches/1.8.15/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Jul 23 09:38:35 2014
@@ -1,2 +1,3 @@
 /branches/1.8:371919
+/branches/11:419284
 /certified/branches/1.8.11:376302

Modified: certified/branches/1.8.15/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/1.8.15/apps/app_voicemail.c?view=diff&rev=419309&r1=419308&r2=419309
==============================================================================
--- certified/branches/1.8.15/apps/app_voicemail.c (original)
+++ certified/branches/1.8.15/apps/app_voicemail.c Wed Jul 23 09:38:35 2014
@@ -1626,7 +1626,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");
 				break;
 			}
 		}
@@ -1666,7 +1666,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");
 			}
 		}
 	}




More information about the svn-commits mailing list