[Asterisk-cvs] asterisk channel.c,1.139.2.1,1.139.2.2

russell at lists.digium.com russell at lists.digium.com
Mon Jan 3 23:54:41 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv8678

Modified Files:
      Tag: v1-0
	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.139.2.1
retrieving revision 1.139.2.2
diff -u -d -r1.139.2.1 -r1.139.2.2
--- channel.c	22 Dec 2004 22:49:00 -0000	1.139.2.1
+++ channel.c	4 Jan 2005 05:59:49 -0000	1.139.2.2
@@ -2387,8 +2387,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);
 		clone->zombie=1;
+		ast_queue_frame(clone, &null_frame);
 		ast_mutex_unlock(&clone->lock);
 	}
 	




More information about the svn-commits mailing list