From 1bab462f19e98a5de9976e591ec30e4a2103f678 Mon Sep 17 00:00:00 2001 From: Alexander Udovichenko Date: Fri, 26 Nov 2021 15:18:23 +0300 Subject: [PATCH] [mod_sofia] Add autocomplete options to status profile command --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 13d689fe93..d07a394b41 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -6800,7 +6800,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sofia_load) SWITCH_ADD_API(api_interface, "sofia", "Sofia Controls", sofia_function, " "); SWITCH_ADD_API(api_interface, "sofia_gateway_data", "Get data from a sofia gateway", sofia_gateway_data_function, " [ivar|ovar|var] "); switch_console_set_complete("add sofia ::[help:status"); - switch_console_set_complete("add sofia status profile ::sofia::list_profiles reg"); + switch_console_set_complete("add sofia status profile ::sofia::list_profiles ::[reg:user:pres"); switch_console_set_complete("add sofia status gateway ::sofia::list_gateways"); switch_console_set_complete("add sofia loglevel ::[all:default:tport:iptsec:nea:nta:nth_client:nth_server:nua:soa:sresolv:stun ::[0:1:2:3:4:5:6:7:8:9");