From a61e4ab82cf23ccd099a71250b82277f71b2b469 Mon Sep 17 00:00:00 2001 From: Michael S Collins Date: Fri, 27 Jan 2012 10:56:32 -0800 Subject: [PATCH] Preliminary work for adding verification of vm password change --- conf/lang/en/vm/sounds.xml | 8 ++++++++ docs/phrase/phrase_en.xml | 3 ++- src/mod/applications/mod_voicemail/mod_voicemail.c | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/conf/lang/en/vm/sounds.xml b/conf/lang/en/vm/sounds.xml index e58d4904bb..afff3ebb3f 100644 --- a/conf/lang/en/vm/sounds.xml +++ b/conf/lang/en/vm/sounds.xml @@ -25,6 +25,14 @@ + + + + + + + + diff --git a/docs/phrase/phrase_en.xml b/docs/phrase/phrase_en.xml index 934d351722..d073cf447a 100644 --- a/docs/phrase/phrase_en.xml +++ b/docs/phrase/phrase_en.xml @@ -313,7 +313,6 @@ - @@ -508,6 +507,8 @@ + + diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index d8fbee8e6b..146a712ddd 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -989,6 +989,7 @@ typedef enum { #define VM_ENTER_ID_MACRO "voicemail_enter_id" #define VM_ENTER_PASS_MACRO "voicemail_enter_pass" #define VM_FAIL_AUTH_MACRO "voicemail_fail_auth" +#define VM_CHANGE_PASS_SUCCESS_MACRO "voicemail_change_pass_success" #define VM_ABORT_MACRO "voicemail_abort" #define VM_HELLO_MACRO "voicemail_hello" #define VM_GOODBYE_MACRO "voicemail_goodbye" @@ -2201,6 +2202,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p switch_safe_free(file_path); switch_safe_free(sql); ok = 1; + /* add feedback for user - let him/her know that password change was successful */ } switch_event_destroy(¶ms);