From: Automerge script Date: Thu, 13 Jul 2006 22:02:15 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.10-netsec~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2be0f0c4a0a4cce8f3a1307a691a58cdab446b1;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37585 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 4402d4d4fe..36ca228bf5 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3633,6 +3633,11 @@ static int play_message_category(struct ast_channel *chan, char *category) if (!ast_strlen_zero(category)) res = ast_play_and_wait(chan, category); + if (res) { + ast_log(LOG_WARNING, "No sound file for category '%s' was found.\n", category); + res = 0; + } + return res; }