aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-13 05:46:01 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-13 05:46:01 +0000
commit5cffb53e8e4ab068c378fab5c424a9bfd5c0f00d (patch)
tree0c1ca57194284fd4b6c73b2beaeef3652203ae40 /apps/app_voicemail.c
parent88b6f648ca51cce57e19579b0ac43d91ccaa3d74 (diff)
Retain beep
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1740 f38db490-d61c-443f-a65b-d21fe96a405b
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,"");