aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 7ff26243b..6a5715ffa 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -889,7 +889,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
if (playfile) {
d = play_and_wait(chan, playfile);
- if (!d)
+ if (d > -1)
d = ast_streamfile(chan, "beep",chan->language);
if (!d)
d = ast_waitstream(chan,"");