osmo-msc: fix: properly initialize default values for MGW timers

Otherwise they're all set to 0, if not configured in the VTY.

Change-Id: I4a0823c2f0ca50ed7407fb0457c54a485799c585
This commit is contained in:
Vadim Yanitskiy 2020-01-18 18:31:48 +07:00
parent ecfcd99c4b
commit 047dd50bc8
1 changed files with 3 additions and 1 deletions

View File

@ -220,9 +220,11 @@ struct gsm_network *msc_network_alloc(void *ctx,
net->gsup_server_port = MSC_HLR_REMOTE_PORT_DEFAULT;
mgcp_client_conf_init(&net->mgw.conf);
net->mgw.tdefs = g_mgw_tdefs;
net->call_waiting = true;
net->mgw.tdefs = g_mgw_tdefs;
osmo_tdefs_reset(net->mgw.tdefs);
return net;
}