aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-13 22:02:15 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-13 22:02:15 +0000
commit7fca88b61e8e293fd571afdd71073144873219f3 (patch)
tree7623d2991d6f48b464b264baafefb4155abc7319
parent0b5691bea07dd57e437e3f0459482d79c71d8670 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@37585 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 4402d4d4f..36ca228bf 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;
}