app_voicemail: when forwarding a message, play vm-msgforwarded instead of vm-msgsaved
authorRusty Newton <rnewton@digium.com>
Sat, 23 Nov 2013 00:22:02 +0000 (00:22 +0000)
committerRusty Newton <rnewton@digium.com>
Sat, 23 Nov 2013 00:22:02 +0000 (00:22 +0000)
In the last release of sounds, 1.4.25 we added a vm-msgforwarded prompt for various core languages. Now we use that prompt.

(issue ASTERISK-21413)
(closes issue ASTERISK-21413)
Reported by: netwrkr
Tested by: newtonr

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 1da5219..dca4ece 100644 (file)
@@ -8158,7 +8158,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
                                /* If forwarded with intro, DON'T PLAY THIS MESSAGE AGAIN! */
                                if (ast_strlen_zero(vmstmp.introfn))
 #endif
-                               res = ast_play_and_wait(chan, "vm-msgsaved");
+                               res = ast_play_and_wait(chan, "vm-msgforwarded");
                        }
 #ifndef IMAP_STORAGE
                        else {