projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaaec0e
)
Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.
author
Joshua Colp
<jcolp@digium.com>
Thu, 31 Aug 2006 18:47:51 +0000
(18:47 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Thu, 31 Aug 2006 18:47:51 +0000
(18:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41596
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/channel.c
patch
|
blob
|
history
diff --git
a/main/channel.c
b/main/channel.c
index
6ba79ee
..
16d89d6
100644
(file)
--- a/
main/channel.c
+++ b/
main/channel.c
@@
-2532,6
+2532,7
@@
int ast_write(struct ast_channel *chan, struct ast_frame *fr)
case AST_FRAME_NULL:
case AST_FRAME_IAX:
/* Ignore these */
+ res = 0;
break;
default:
res = chan->tech->write(chan, f);