FS-4650 --resolve
This commit is contained in:
parent
bcfc2dbeb1
commit
a20c556fb7
|
@ -285,7 +285,7 @@ SWITCH_STANDARD_API(list_users_function)
|
||||||
int32_t arg = 0;
|
int32_t arg = 0;
|
||||||
switch_xml_t xml_root, x_domains, x_domain_tag;
|
switch_xml_t xml_root, x_domains, x_domain_tag;
|
||||||
switch_xml_t gts, gt, uts, ut;
|
switch_xml_t gts, gt, uts, ut;
|
||||||
char *_user = NULL, *_domain = NULL, *_group = NULL;
|
char *_user = NULL, *_domain = NULL, *_search_context = NULL, *_group = NULL;
|
||||||
|
|
||||||
|
|
||||||
if ((pdata = strdup(cmd))) {
|
if ((pdata = strdup(cmd))) {
|
||||||
|
@ -300,10 +300,12 @@ SWITCH_STANDARD_API(list_users_function)
|
||||||
if (!strcasecmp(argv[arg], "user")) {
|
if (!strcasecmp(argv[arg], "user")) {
|
||||||
_user = argv[arg + 1];
|
_user = argv[arg + 1];
|
||||||
}
|
}
|
||||||
|
if (!strcasecmp(argv[arg], "context")) {
|
||||||
|
_search_context = argv[arg + 1];
|
||||||
|
}
|
||||||
if (!strcasecmp(argv[arg], "domain")) {
|
if (!strcasecmp(argv[arg], "domain")) {
|
||||||
_domain = argv[arg + 1];
|
_domain = argv[arg + 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcasecmp(argv[arg], "group")) {
|
if (!strcasecmp(argv[arg], "group")) {
|
||||||
_group = argv[arg + 1];
|
_group = argv[arg + 1];
|
||||||
}
|
}
|
||||||
|
@ -370,6 +372,7 @@ SWITCH_STANDARD_API(list_users_function)
|
||||||
us.x_user_tag = ut;
|
us.x_user_tag = ut;
|
||||||
us.x_domain_tag = x_domain_tag;
|
us.x_domain_tag = x_domain_tag;
|
||||||
us.stream = stream;
|
us.stream = stream;
|
||||||
|
us.search_context = _search_context;
|
||||||
dump_user(&us);
|
dump_user(&us);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -383,6 +386,7 @@ SWITCH_STANDARD_API(list_users_function)
|
||||||
us.x_user_tag = ut;
|
us.x_user_tag = ut;
|
||||||
us.x_domain_tag = x_domain_tag;
|
us.x_domain_tag = x_domain_tag;
|
||||||
us.stream = stream;
|
us.stream = stream;
|
||||||
|
us.search_context = _search_context;
|
||||||
dump_user(&us);
|
dump_user(&us);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue