diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-01 23:55:19 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-01 23:55:19 +0000 |
commit | 4ff493aff51bc02da8e49edd7200f57e59e83b98 (patch) | |
tree | 486e98897f6309252f6a8db2960f89b1840d4c33 | |
parent | 02e1d2fdcea9c677f08f4539993e96799ad282cb (diff) |
call directly the cli command to implement hangup.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95673 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/console_gui.c | 3 |
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 */ |