From: Rusty Newton Date: Thu, 15 Nov 2012 01:50:54 +0000 (+0000) Subject: Patch to play correct sound file when a voicemail's urgent status is removed X-Git-Tag: 10.12.0-rc1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45490315bc57d2f956cf82be132c8a212f3cd465;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@376263 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 5ec3583643..cc7f66d9b2 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -13565,7 +13565,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re strcpy(flag, "Urgent"); } else if (flag) { ast_verbose(VERBOSE_PREFIX_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");