Skip to content
Snippets Groups Projects
Commit 7399d40e authored by Anthony LaMantia's avatar Anthony LaMantia
Browse files

fix for bugid: 0007830

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 0c6932ee
No related branches found
No related tags found
No related merge requests found
...@@ -302,6 +302,10 @@ static int record_exec(struct ast_channel *chan, void *data) ...@@ -302,6 +302,10 @@ static int record_exec(struct ast_channel *chan, void *data)
} }
} else if ((f->frametype == AST_FRAME_DTMF) && } else if ((f->frametype == AST_FRAME_DTMF) &&
(f->subclass == terminator)) { (f->subclass == terminator)) {
res = ast_writestream(s,f);
if(res) {
ast_log(LOG_WARNING,"Problem writing final recoard frame\n");
}
ast_frfree(f); ast_frfree(f);
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment