diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 92ca1262e4..b4d4c9d0fa 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5899,8 +5899,17 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re #endif case '0': if (message_exists || recorded) { - ast_play_and_wait(chan, "vm-deleted"); - DELETE(recordfile, -1, recordfile); + cmd = ast_play_and_wait(chan, "vm-saveoper"); + if (!cmd) + cmd = ast_waitfordigit(chan, 3000); + if (cmd == '1') { + ast_play_and_wait(chan, "vm-msgsaved"); + cmd = '0'; + } else { + ast_play_and_wait(chan, "vm-deleted"); + DELETE(recordfile, -1, recordfile); + cmd = '0'; + } } return cmd; default: diff --git a/sounds.txt b/sounds.txt index 065f4821b7..0095f63413 100755 --- a/sounds.txt +++ b/sounds.txt @@ -465,6 +465,8 @@ %vm-advopts.gsm%press 3 for advanced options +%vm-saveoper.gsm%press 1 to accept this recording, or continue to hold + %vm-toreply.gsm%press 1 to send a reply %vm-tocallback.gsm%press 2 to call the person who sent this message diff --git a/sounds/vm-saveoper.gsm b/sounds/vm-saveoper.gsm new file mode 100755 index 0000000000..1fa92a22a0 Binary files /dev/null and b/sounds/vm-saveoper.gsm differ