diff options
author | Mark Spencer <markster@digium.com> | 2003-11-13 05:46:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-11-13 05:46:01 +0000 |
commit | fe98390fe0d36806d1f07d5104b6a9175a8068e5 (patch) | |
tree | 0c1ca57194284fd4b6c73b2beaeef3652203ae40 /apps | |
parent | d886e2a557bbe627c9da609bda92efc2e01d9cbf (diff) |
Retain beep
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
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,""); |