summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-11-13 05:37:32 +0000
committerMark Spencer <markster@digium.com>2003-11-13 05:37:32 +0000
commitacf41ac2dfac3fd21b1cd18561642eb8073ae089 (patch)
treea518ac037e2305f444e7ebac2957f7188cf669b2 /apps
parentc71d9d53ffb5801502394ae8dd5b58705608044d (diff)
Stop stream
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 0b45b0133..f8c5359f3 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -894,6 +894,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
d = ast_waitstream(chan,"");
if (d < 0)
return -1;
+ ast_stopstream(chan);
}
fmts = ast_strdupa(fmt);