[Asterisk-cvs] asterisk channel.c,1.177,1.178
anthm at lists.digium.com
anthm at lists.digium.com
Wed Mar 23 21:10:21 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv26452
Modified Files:
channel.c
Log Message:
Fix the mysterious missing if
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- channel.c 23 Mar 2005 21:52:31 -0000 1.177
+++ channel.c 24 Mar 2005 03:04:45 -0000 1.178
@@ -1743,6 +1743,14 @@
f = fr;
if (f) {
res = chan->tech->write(chan, f);
+
+ if (f->frametype == AST_FRAME_VOICE && chan->spiers) {
+ struct ast_channel_spy *spying;
+ for (spying = chan->spiers; spying; spying=spying->next) {
+ ast_queue_spy_frame(spying, f, 1);
+ }
+ }
+
if( chan->monitor &&
chan->monitor->write_stream &&
f && ( f->frametype == AST_FRAME_VOICE ) ) {
More information about the svn-commits
mailing list