aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
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 ? */