diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-13 18:35:53 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-13 18:35:53 +0000 |
commit | e452b5d7b3cc9c8fe27498f00ac673e4abbe5949 (patch) | |
tree | cfa7a04c72697888f32ad993f1e138b741f0c02f /channel.c | |
parent | e456018965d8b98822ee87ddae9ba2b00abc6bad (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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 ? */ |