]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge script <automerge@asterisk.org>
Thu, 13 Jul 2006 22:02:15 +0000 (22:02 +0000)
committerAutomerge script <automerge@asterisk.org>
Thu, 13 Jul 2006 22:02:15 +0000 (22:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 4402d4d4fee6f2a9774951fea40b601a965f1483..36ca228bf5550b489e165bb78c039876f4642818 100644 (file)
@@ -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;
 }