small fix for issue 007926
[asterisk/asterisk.git] / apps / app_record.c
index ababa23..a51a8a5 100644 (file)
@@ -329,11 +329,6 @@ static int record_exec(struct ast_channel *chan, void *data)
                        }
                } else if ((f->frametype == AST_FRAME_DTMF) &&
                    (f->subclass == terminator)) {
                        }
                } else if ((f->frametype == AST_FRAME_DTMF) &&
                    (f->subclass == terminator)) {
-                        res = ast_writestream(s,f);
-                        
-                        if (res) {
-                               ast_log(LOG_WARNING,"Problem writing final record frame\n");
-                        }               
                        ast_frfree(f);
                        break;
                }
                        ast_frfree(f);
                        break;
                }