mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-30 18:33:46 +00:00
fix race condition where network lists are not created yet so nat detection does not work in sofia during startup
This commit is contained in:
parent
afdf50d423
commit
139dc3e34e
@ -1875,6 +1875,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
|
||||
runtime.runlevel++;
|
||||
|
||||
switch_core_set_signal_handlers();
|
||||
switch_load_network_lists(SWITCH_FALSE);
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Bringing up environment.\n");
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Loading Modules.\n");
|
||||
@ -1884,7 +1885,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
switch_load_network_lists(SWITCH_FALSE);
|
||||
|
||||
|
||||
switch_load_core_config("post_load_switch.conf");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user