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: https://origsvn.digium.com/svn/asterisk/trunk@33890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matt O'Gorman
2006-06-13 18:35:53 +00:00
parent 241cd6163a
commit b22e7bf558
2 changed files with 873 additions and 17 deletions

View File

@@ -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 ? */