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
changes/31/16931/1
Vadim Yanitskiy 3 years ago
parent ecfcd99c4b
commit 047dd50bc8
  1. 4
      src/osmo-msc/msc_main.c

@ -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;
}

Loading…
Cancel
Save