projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754e28a
)
Actually write audio to file in get_voice (bug #5547)
author
Mark Spencer
<markster@digium.com>
Sun, 30 Oct 2005 06:58:17 +0000
(06:58 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 30 Oct 2005 06:58:17 +0000
(06:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6894
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
app.c
patch
|
blob
|
history
diff --git
a/app.c
b/app.c
index
18bb0ce
..
b547a03
100755
(executable)
--- a/
app.c
+++ b/
app.c
@@
-210,6
+210,13
@@
int ast_app_getvoice(struct ast_channel *c, char *dest, char *dstfmt, char *prom
ast_frfree(f);
break;
}
+ res = ast_writestream(writer, f);
+ if (res < 0) {
+ ast_log(LOG_WARNING, "Failed to write to stream at %s!\n", dest);
+ ast_frfree(f);
+ break;
+ }
+
}
ast_frfree(f);
}