diff options
author | anthonyl <anthonyl@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-31 20:49:26 +0000 |
---|---|---|
committer | anthonyl <anthonyl@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-31 20:49:26 +0000 |
commit | 1d4845cffdac2efd5eb2367895f04e35031cb45d (patch) | |
tree | 73f198d4f9d43b9a8ba39f8d7c75e0d018a3c168 /apps | |
parent | 405acc236867c6f3fc651b6058076dae262e6a36 (diff) |
fix for bugid: 0007830
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41630 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_record.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_record.c b/apps/app_record.c index 243977ffb..5c8f76902 100644 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -302,6 +302,10 @@ static int record_exec(struct ast_channel *chan, void *data) } } else if ((f->frametype == AST_FRAME_DTMF) && (f->subclass == terminator)) { + res = ast_writestream(s,f); + if(res) { + ast_log(LOG_WARNING,"Problem writing final recoard frame\n"); + } ast_frfree(f); break; } |