summaryrefslogtreecommitdiff
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
parent87b8e1785212acf52ceff7fc9ffb2e7509ff448d (diff)
remap 'a' to answer incoming call
-rw-r--r--modules/auloop/auloop.c4
-rw-r--r--modules/menu/menu.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/modules/auloop/auloop.c b/modules/auloop/auloop.c
index 1a830ce..f50d1de 100644
--- a/modules/auloop/auloop.c
+++ b/modules/auloop/auloop.c
@@ -361,8 +361,8 @@ static int auloop_stop(struct re_printf *pf, void *arg)
static const struct cmd cmdv[] = {
- {"auloop", 'a', 0, "Start audio-loop", auloop_start },
- {"auloop_stop", 'A', 0, "Stop audio-loop", auloop_stop },
+ {"auloop", 0, 0, "Start audio-loop", auloop_start },
+ {"auloop_stop", 0, 0, "Stop audio-loop", auloop_stop },
};
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 */