mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-27 04:50:59 +00:00
lets set a default for auto_reload also
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8976 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
67b70d33af
commit
f2fdba6d7d
@ -403,6 +403,7 @@ static switch_status_t load_config(void)
|
|||||||
globals.thresh = 400;
|
globals.thresh = 400;
|
||||||
globals.silence_hits = 35;
|
globals.silence_hits = 35;
|
||||||
globals.listen_hits = 5;
|
globals.listen_hits = 5;
|
||||||
|
globals.auto_reload = 1;
|
||||||
|
|
||||||
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
|
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user