Skip to content
Snippets Groups Projects
Commit e7f195e8 authored by Luigi Rizzo's avatar Luigi Rizzo
Browse files

call directly the cli command to implement hangup.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent afc18baa
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment