aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index c18022c8e..57ca8fe16 100644
--- a/channel.c
+++ b/channel.c
@@ -2296,6 +2296,11 @@ int ast_write(struct ast_channel *chan, struct ast_frame *fr)
else
res = 0;
break;
+ case AST_FRAME_NULL:
+ case AST_FRAME_IAX:
+ /* Ignore these */
+ res = 0;
+ break;
default:
if (chan->tech->write) {
f = (chan->writetrans) ? ast_translate(chan->writetrans, fr, 0) : fr;