[asterisk-commits] rizzo: trunk r95673 - /trunk/channels/console_gui.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 1 17:55:19 CST 2008


Author: rizzo
Date: Tue Jan  1 17:55:19 2008
New Revision: 95673

URL: http://svn.digium.com/view/asterisk?view=rev&rev=95673
Log:
call directly the cli command to implement hangup.


Modified:
    trunk/channels/console_gui.c

Modified: trunk/channels/console_gui.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/console_gui.c?view=diff&rev=95673&r1=95672&r2=95673
==============================================================================
--- trunk/channels/console_gui.c (original)
+++ trunk/channels/console_gui.c Tue Jan  1 17:55:19 2008
@@ -3,7 +3,6 @@
  * The routines here are in charge of loading the keypad and handling events.
  * $Revision$
  */
-
 
 #include "asterisk.h"
 #include "console_video.h"
@@ -423,7 +422,7 @@
 		keypad_pick_up(env);
 		break;
 	case KEY_HANG_UP:
-		keypad_send_command(env, "console hangup");
+		ast_cli_command(gui->outfd, "console hangup");
 		break;
 
 	/* other functions */




More information about the asterisk-commits mailing list