|
|
@ -1626,7 +1626,7 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
|
|
|
|
ast_test_suite_event_notify("PASSWORDCHANGED", "Message: voicemail.conf updated with new password\r\nPasswordSource: voicemail.conf");
|
|
|
|
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);
|
|
|
|
reset_user_pw(vmu->context, vmu->mailbox, newpassword);
|
|
|
|
ast_copy_string(vmu->password, newpassword, sizeof(vmu->password));
|
|
|
|
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;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1666,7 +1666,7 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
|
|
|
|
ast_test_suite_event_notify("PASSWORDCHANGED", "Message: users.conf updated with new password\r\nPasswordSource: users.conf");
|
|
|
|
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);
|
|
|
|
reset_user_pw(vmu->context, vmu->mailbox, newpassword);
|
|
|
|
ast_copy_string(vmu->password, newpassword, sizeof(vmu->password));
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|