Preliminary work for adding verification of vm password change

This commit is contained in:
Michael S Collins 2012-01-27 10:56:32 -08:00
parent 3a71f86209
commit a61e4ab82c
3 changed files with 12 additions and 1 deletions

View File

@ -25,6 +25,14 @@
</input>
</macro>
<macro name="voicemail_change_pass_success">
<input pattern="(.*)">
<match>
<action function="play-file" data="ivr/ivr-Thank_you.wav"/>
</match>
</input>
</macro>
<macro name="voicemail_hello">
<input pattern="(.*)">
<match>

View File

@ -313,7 +313,6 @@
<prompt phrase="Send this caller to voicemail" filename="ivr-send_to_voicemail.wav"/>
<prompt phrase="To speak to a customer service representative" filename="ivr-speak_to_a_customer_service_representative.wav"/>
<prompt phrase="Take a message" filename="ivr-take_a_message.wav"/>
<prompt phrase="Thank you" filename="ivr-thank_you.wav"/>
<prompt phrase="That was an invalid entry" filename="ivr-that_was_an_invalid_entry.wav"/>
<prompt phrase="This is a call from" filename="ivr-this_is_a_call_from.wav"/>
<prompt phrase="This IVR will let you test some of the features..." filename="ivr-this_ivr_will_let_you_test_features.wav"/>
@ -508,6 +507,8 @@
<prompt phrase="...other person in this conference." filename="conf-other_person_conference.wav"/>
<prompt phrase="...other member in this conference." filename="conf-other_member_conference.wav"/>
<prompt phrase="There is..." filename="ivr-there_is.wav"/>
<prompt phrase="That number is on the Do Not Call list." filename="ivr-do_not_call_list.wav"/>
<prompt phrase="The call attempt has been aborted." filename="ivr-call_attempt_aborted.wav"/>
<prompt phrase="" filename=""/>
</ivr>
<misc>

View File

@ -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(&params);