[mod_verto] verto auth stuff

This commit is contained in:
Anthony Minessale 2020-05-09 02:03:19 +00:00 committed by Andrey Volk
parent ebe1fb3874
commit 3b26bc65ae
1 changed files with 3 additions and 0 deletions

View File

@ -5451,6 +5451,7 @@ SWITCH_STANDARD_API(verto_function)
"verto help\n"
"verto debug [0-10]\n"
"verto perm <sessid> <type> <value>\n"
"verto noperm <sessid> <type> <value>\n"
"--------------------------------------------------------------------------------\n";
if (zstr(cmd)) {
@ -6579,6 +6580,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_verto_load)
SWITCH_ADD_API(api_interface, "verto_contact", "Generate a verto endpoint dialstring", verto_contact_function, "user@domain");
switch_console_set_complete("add verto help");
switch_console_set_complete("add verto debug");
switch_console_set_complete("add verto perm");
switch_console_set_complete("add verto noperm");
switch_console_set_complete("add verto debug-level");
switch_console_set_complete("add verto status");
switch_console_set_complete("add verto xmlstatus");