mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-21 06:46:18 +00:00
register gateways from users after group changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10970 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5c91e5967e
commit
816f61af4b
@ -1186,10 +1186,16 @@ static void parse_domain_tag(sofia_profile_t *profile, switch_xml_t x_domain_tag
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (switch_true(parse)) {
|
if (switch_true(parse)) {
|
||||||
switch_xml_t ut, gateways_tag;
|
switch_xml_t gts, gt, uts, ut, gateways_tag;
|
||||||
for (ut = switch_xml_child(x_domain_tag, "user"); ut; ut = ut->next) {
|
for (gts = switch_xml_child(x_domain_tag, "groups"); gts; gts = gts->next) {
|
||||||
if (((gateways_tag = switch_xml_child(ut, "gateways")))) {
|
for (gt = switch_xml_child(gts, "group"); gt; gt = gt->next) {
|
||||||
parse_gateways(profile, gateways_tag);
|
for (uts = switch_xml_child(gt, "users"); uts; uts = uts->next) {
|
||||||
|
for (ut = switch_xml_child(uts, "user"); ut; ut = ut->next) {
|
||||||
|
if (((gateways_tag = switch_xml_child(ut, "gateways")))) {
|
||||||
|
parse_gateways(profile, gateways_tag);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user