summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-06-28 22:50:47 +0000
committerMark Spencer <markster@digium.com>2003-06-28 22:50:47 +0000
commit3b7891887808db51d70c68795c9d6028f89bca58 (patch)
tree902d5085d33fe26d1e4423a993e2443df2c20aa1 /rtp.c
parent9befc6968493c84e90a25d4b02889c8ca1853cc8 (diff)
Totally redo file formats
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index a60e9d538..99a20fc0e 100755
--- a/rtp.c
+++ b/rtp.c
@@ -1247,7 +1247,9 @@ int ast_rtp_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags, st
/* That's all we needed */
return 0;
} else {
- if ((f->frametype == AST_FRAME_DTMF) || (f->frametype == AST_FRAME_VOICE)) {
+ if ((f->frametype == AST_FRAME_DTMF) ||
+ (f->frametype == AST_FRAME_VOICE) ||
+ (f->frametype == AST_FRAME_VIDEO)) {
/* Forward voice or DTMF frames if they happen upon us */
if (who == c0) {
ast_write(c1, f);