[asterisk-commits] rizzo: branch group/video_console r89636 - /team/group/video_console/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 27 10:13:49 CST 2007


Author: rizzo
Date: Tue Nov 27 10:13:49 2007
New Revision: 89636

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89636
Log:
formatting fixes


Modified:
    team/group/video_console/channels/console_video.c

Modified: team/group/video_console/channels/console_video.c
URL: http://svn.digium.com/view/asterisk/team/group/video_console/channels/console_video.c?view=diff&rev=89636&r1=89635&r2=89636
==============================================================================
--- team/group/video_console/channels/console_video.c (original)
+++ team/group/video_console/channels/console_video.c Tue Nov 27 10:13:49 2007
@@ -2261,15 +2261,13 @@
 	struct chan_oss_pvt *o = find_desc(oss_active);
 	ast_log(LOG_WARNING, "keypad_pick_up called\n");
 
-	if (o->owner) {
-		/* someone is calling us */
+	if (o->owner) {	/* someone is calling us, just answer */
 		struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_ANSWER };
 		o->hookstate = 1;
 		o->cursound = -1;
 		o->nosound = 0;
 		ast_queue_frame(o->owner, &f);
-	} else if (env->gui.inbuf_pos) {
-		/* we have someone to call */
+	} else if (env->gui.inbuf_pos) { /* we dialed something, make the call */
 		ast_cli_command(env->gui.outfd, env->gui.inbuf);
 	}
 




More information about the asterisk-commits mailing list