[Asterisk-cvs] asterisk channel.c,1.155,1.156
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 1 14:11:47 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4176
Modified Files:
channel.c
Log Message:
Make sure to wake up sleeper on sip transfer issue (bug #2938)
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- channel.c 31 Dec 2004 00:04:41 -0000 1.155
+++ channel.c 1 Jan 2005 20:17:11 -0000 1.156
@@ -2435,8 +2435,10 @@
ast_channel_free(clone);
manager_event(EVENT_FLAG_CALL, "Hangup", "Channel: %s\r\n", zombn);
} else {
+ struct ast_frame null_frame = { AST_FRAME_NULL, };
ast_log(LOG_DEBUG, "Released clone lock on '%s'\n", clone->name);
ast_set_flag(clone, AST_FLAG_ZOMBIE);
+ ast_queue_frame(clone, &null_frame);
ast_mutex_unlock(&clone->lock);
}
More information about the svn-commits
mailing list