summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorRusty Newton <rnewton@digium.com>2012-11-15 02:29:40 +0000
committerRusty Newton <rnewton@digium.com>2012-11-15 02:29:40 +0000
commit21a0dadac0ce968626be641d1395555884a1bfed (patch)
tree08a6d955f487f72d4cef55062848a177b3ce041d /apps/app_voicemail.c
parentee3927be1783f19adcac26f5a55077a44c8d2d00 (diff)
Patch to play correct sound file when a voicemail's urgent status is removed
We were attempting to play "vm-urgent-removed", which didn't exist. Now we play "vm-marked-nonurgent" which exists and is the correct sound file. Previous behavior was silence and a warning on the CLI. (issue ASTERISK-20280) (closes issue ASTERISK-20280) Reported by: Tomo Takebe Tested by: Rusty Newton Patches: asterisk20280.patch uploaded by Rusty Newton (license 5829) ........ Merged revisions 376262 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 376263 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 376264 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 7253117b2..ccab7f1e2 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -14748,7 +14748,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re
strcpy(flag, "Urgent");
} else if (flag) {
ast_verb(3, "UNmarking message as Urgent\n");
- res = ast_play_and_wait(chan, "vm-urgent-removed");
+ res = ast_play_and_wait(chan, "vm-marked-nonurgent");
strcpy(flag, "");
} else {
ast_play_and_wait(chan, "vm-sorry");