<macro name="voicemail_change_pass_success">
<input pattern="(.*)">
<match>
- <action function="play-file" data="ivr/ivr-Thank_you.wav"/>
+ <action function="play-file" data="voicemail/vm-password_has_been_changed.wav"/>
</match>
</input>
</macro>
<macro name="voicemail_change_pass_fail">
<input pattern="(.*)">
<match>
- <action function="play-file" data="voicemail/vm-fail_auth.wav"/>
+ <action function="play-file" data="voicemail/vm-password_not_valid.wav"/>
</match>
</input>
</macro>
if (fail) {
/* add feedback for user - let him/her know that the password they tried to change to is not allowed */
- /* change the following macro to VM_CHANGE_PASS_FAIL_MACRO when new prompts have been recorded */
- switch_ivr_phrase_macro(session, VM_FAIL_AUTH_MACRO, NULL, NULL, NULL);
+ switch_ivr_phrase_macro(session, VM_CHANGE_PASS_FAIL_MACRO, NULL, NULL, NULL);
} else {
sql = switch_mprintf("update voicemail_prefs set password='%s' where username='%s' and domain='%s'", buf, myid, domain_name);
vm_execute_sql(profile, sql, profile->mutex);