[Asterisk-cvs] asterisk/apps app_queue.c,1.121,1.122

markster at lists.digium.com markster at lists.digium.com
Sat Feb 5 10:42:09 CST 2005


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

Modified Files:
	app_queue.c 
Log Message:
More flagification fixes (bug #3414, round 2)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- app_queue.c	4 Feb 2005 05:36:27 -0000	1.121
+++ app_queue.c	5 Feb 2005 16:42:49 -0000	1.122
@@ -1147,9 +1147,10 @@
 				if (f) {
 					if (f->frametype == AST_FRAME_CONTROL) {
 						switch(f->subclass) {
-		    				case AST_CONTROL_ANSWER:
+		    			case AST_CONTROL_ANSWER:
 							/* This is our guy if someone answered. */
 							if (!peer) {
+								ast_copy_flags(flags, o, QUEUE_FLAG_REDIR_IN | QUEUE_FLAG_REDIR_OUT | QUEUE_FLAG_DISCON_IN | QUEUE_FLAG_DISCON_OUT);
 								if (option_verbose > 2)
 									ast_verbose( VERBOSE_PREFIX_3 "%s answered %s\n", o->chan->name, in->name);
 								peer = o;




More information about the svn-commits mailing list