aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-13 18:35:53 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-13 18:35:53 +0000
commite452b5d7b3cc9c8fe27498f00ac673e4abbe5949 (patch)
treecfa7a04c72697888f32ad993f1e138b741f0c02f /channel.c
parente456018965d8b98822ee87ddae9ba2b00abc6bad (diff)
adds support for t38 pass through patch brought up to trunk from
bug 5090 by josh colp. Thanks to everyone who help get this patch through especially to the author Steven Underwood. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33890 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 398bf59ab..30a1ad073 100644
--- a/channel.c
+++ b/channel.c
@@ -2383,6 +2383,10 @@ int ast_write(struct ast_channel *chan, struct ast_frame *fr)
res = (chan->tech->write_video == NULL) ? 0 :
chan->tech->write_video(chan, fr);
break;
+ case AST_FRAME_MODEM:
+ res = (chan->tech->write == NULL) ? 0 :
+ chan->tech->write(chan, fr);
+ break;
case AST_FRAME_VOICE:
if (chan->tech->write == NULL)
break; /*! \todo XXX should return 0 maybe ? */