From 1491adac706487e36c2447dd967df42de6fe55c1 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Fri, 9 Dec 2016 16:04:39 +0100 Subject: minor tuning of commands --- modules/account/account.c | 2 +- modules/menu/menu.c | 11 +++++------ modules/zrtp/zrtp.c | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/account/account.c b/modules/account/account.c index c70a216..2b5b7f4 100644 --- a/modules/account/account.c +++ b/modules/account/account.c @@ -154,7 +154,7 @@ static int account_read_file(void) if (list_isempty(uag_list())) { info("account: No SIP accounts found\n" " -- check your config " - "or add an account using 'R' command\n"); + "or add an account using 'uanew' command\n"); } return 0; diff --git a/modules/menu/menu.c b/modules/menu/menu.c index b82e81d..3a34263 100644 --- a/modules/menu/menu.c +++ b/modules/menu/menu.c @@ -417,9 +417,8 @@ static const struct cmd cmdv[] = { {"options", 'o', CMD_PRM, "Options", options_command }, {"reginfo", 'r', 0, "Registration info", ua_print_reg_status }, {NULL, KEYCODE_ESC,0, "Hangup call", cmd_hangup }, -{NULL, ' ', 0, "Toggle UAs", cmd_ua_next }, -{NULL, 'T', 0, "Toggle UAs", cmd_ua_next }, -{NULL, 'R', CMD_PRM, "Create User-Agent", create_ua }, +{"uanext", 'T', 0, "Toggle UAs", cmd_ua_next }, +{"uanew", 0, CMD_PRM, "Create User-Agent", create_ua }, }; @@ -684,7 +683,7 @@ static int set_current_call(struct re_printf *pf, void *arg) static const struct cmd callcmdv[] = { -{"", 'I', 0, "Send re-INVITE", call_reinvite }, +{"reinvite", 'I', 0, "Send re-INVITE", call_reinvite }, {"resume", 'X', 0, "Call resume", cmd_call_resume }, {"audio_debug",'A', 0, "Audio stream", call_audio_debug }, {"audio_cycle",'e', 0, "Cycle audio encoder", call_audioenc_cycle }, @@ -715,8 +714,8 @@ static const struct cmd callcmdv[] = { {NULL, '9', 0, NULL, digit_handler }, {NULL, KEYCODE_REL, 0, NULL, digit_handler }, -{NULL, 'S', 0, "Statusmode toggle", toggle_statmode }, -{NULL, '@', CMD_PRM, "Set current call ", set_current_call }, +{NULL, 'S', 0, "Statusmode toggle", toggle_statmode }, +{"line",'@', CMD_PRM, "Set current call ", set_current_call }, }; diff --git a/modules/zrtp/zrtp.c b/modules/zrtp/zrtp.c index 20dfb84..c386a34 100644 --- a/modules/zrtp/zrtp.c +++ b/modules/zrtp/zrtp.c @@ -311,7 +311,7 @@ static int verify_sas(struct re_printf *pf, void *arg) static const struct cmd cmdv[] = { - {"zrtp", 'Z', CMD_PRM, "Verify ZRTP SAS", verify_sas }, + {"zrtp", 0, CMD_PRM, "Verify ZRTP SAS", verify_sas }, }; -- cgit v1.2.3