summaryrefslogtreecommitdiff
path: root/channels/console_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/console_gui.c')
-rw-r--r--channels/console_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/console_gui.c b/channels/console_gui.c
index f733a1a0a..73aa94a05 100644
--- a/channels/console_gui.c
+++ b/channels/console_gui.c
@@ -4,7 +4,6 @@
* $Revision$
*/
-
#include "asterisk.h"
#include "console_video.h"
#include "asterisk/lock.h"
@@ -423,7 +422,7 @@ static void handle_button_event(struct video_desc *env, SDL_MouseButtonEvent but
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 */