summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-10-23 12:18:48 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-10-23 12:18:48 +0200
commit8e2c4742db0e6da3a6aac63e7f5d2e6a9afda5e6 (patch)
treebceb371f15191c434ad796a995a92a61360a044e /modules/menu
parent87b8e1785212acf52ceff7fc9ffb2e7509ff448d (diff)
remap 'a' to answer incoming call
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/menu/menu.c b/modules/menu/menu.c
index 66d6894..9036f56 100644
--- a/modules/menu/menu.c
+++ b/modules/menu/menu.c
@@ -408,8 +408,7 @@ static int cmd_print_calls(struct re_printf *pf, void *unused)
static const struct cmd cmdv[] = {
-{NULL, '\n', 0, "Accept incoming call", cmd_answer },
-{"accept", 'D', 0, "Accept incoming call", cmd_answer },
+{"accept", 'a', 0, "Accept incoming call", cmd_answer },
{"hangup", 'b', 0, "Hangup call", cmd_hangup },
{"callstat", 'c', 0, "Call status", ua_print_call_status },
{"dial", 'd', CMD_PRM, "Dial", dial_handler },
@@ -841,7 +840,7 @@ static void ua_event_handler(struct ua *ua, enum ua_event ev,
uag_current_set(ua);
info("%s: Incoming call from: %s %s -"
- " (press ENTER to accept)\n",
+ " (press 'a' to accept)\n",
ua_aor(ua), call_peername(call), call_peeruri(call));
/* stop any ringtones */