Stop stream
authorMark Spencer <markster@digium.com>
Thu, 13 Nov 2003 05:37:32 +0000 (05:37 +0000)
committerMark Spencer <markster@digium.com>
Thu, 13 Nov 2003 05:37:32 +0000 (05:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 0b45b01..f8c5359 100755 (executable)
@@ -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);