|
|
@ -27231,13 +27231,8 @@ static int reload_config(enum channelreloadreason reason)
|
|
|
|
ast_clear_flag(&global_flags[1], SIP_PAGE2_IGNORESDPVERSION);
|
|
|
|
ast_clear_flag(&global_flags[1], SIP_PAGE2_IGNORESDPVERSION);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Read all [general] config sections of sip.conf (or from realtime config) */
|
|
|
|
/* Read the [general] config section of sip.conf (or from realtime config) */
|
|
|
|
for (cat = ast_category_browse(cfg, "general"); cat; cat = ast_category_browse(cfg, cat)) {
|
|
|
|
for (v = ast_variable_browse(cfg, "general"); v; v = v->next) {
|
|
|
|
if (strcmp(cat, "general")) {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (v = ast_variable_browse(cfg, cat); v; v = v->next) {
|
|
|
|
|
|
|
|
if (handle_common_options(&global_flags[0], &dummy[0], v)) {
|
|
|
|
if (handle_common_options(&global_flags[0], &dummy[0], v)) {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -27736,8 +27731,6 @@ static int reload_config(enum channelreloadreason reason)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} /* for (...ast_category_browse(cfg, "general")...) */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (subscribe_network_change) {
|
|
|
|
if (subscribe_network_change) {
|
|
|
|
network_change_event_subscribe();
|
|
|
|
network_change_event_subscribe();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|