[Asterisk-cvs] asterisk channel.c,1.227,1.228

markster at lists.digium.com markster at lists.digium.com
Sun Jul 31 17:21:17 CDT 2005


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

Modified Files:
	channel.c 
Log Message:
Fix monitoring when channel redirected (bug #3809, patch redone)


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -d -r1.227 -r1.228
--- channel.c	27 Jul 2005 22:19:49 -0000	1.227
+++ channel.c	31 Jul 2005 21:27:21 -0000	1.228
@@ -2652,6 +2652,9 @@
 
 	/* Update the type. */
 	original->type = clone->type;
+	t_pvt = original->monitor;
+	original->monitor = clone->monitor;
+	clone->monitor = t_pvt;
 	
 	/* Keep the same language.  */
 	ast_copy_string(original->language, clone->language, sizeof(original->language));




More information about the svn-commits mailing list