diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-09 16:04:39 +0100 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-09 16:04:39 +0100 |
commit | 1491adac706487e36c2447dd967df42de6fe55c1 (patch) | |
tree | f64ae64d7cf29df7e4206a12b11c510b1cc33617 /modules/menu | |
parent | 6374a883e71710347bc9d0f3de02eb8c031e26a3 (diff) |
minor tuning of commands
Diffstat (limited to 'modules/menu')
-rw-r--r-- | modules/menu/menu.c | 11 |
1 files changed, 5 insertions, 6 deletions
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 <line>", set_current_call }, +{NULL, 'S', 0, "Statusmode toggle", toggle_statmode }, +{"line",'@', CMD_PRM, "Set current call <line>", set_current_call }, }; |