diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-23 18:37:37 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-30 02:24:18 +0200 |
commit | f14aaa4ba1a744d74d431344e23932214bc42a08 (patch) | |
tree | 96951088d517116bc00f753a3b869b6d6550111c /src/osmo-bsc/net_init.c | |
parent | a6078fe1d8701d15262e7eb5b3d50d13d1702bbc (diff) |
move mgw endpoint FSM to osmo-mgw.git
osmo-mgw.git also includes fixes of the MGW endpoint FSM, for example
I92a9944acc96398acd6649f9c3c5badec5dd6dcc.
Depends: I9a3effd38e72841529df6c135c077116981dea36 (osmo-mgw)
Change-Id: I03e6b48d9b0a5370310d5f56809259ff7909cf9d
Diffstat (limited to 'src/osmo-bsc/net_init.c')
-rw-r--r-- | src/osmo-bsc/net_init.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/osmo-bsc/net_init.c b/src/osmo-bsc/net_init.c index c2a38bcf1..1ef9bd5f7 100644 --- a/src/osmo-bsc/net_init.c +++ b/src/osmo-bsc/net_init.c @@ -51,6 +51,12 @@ static struct osmo_tdef gsm_network_T_defs[] = { {} }; +struct osmo_tdef g_mgw_tdefs[] = { + { .T=-1, .default_val=4, .desc="MGCP response timeout" }, + { .T=-2, .default_val=30, .desc="RTP stream establishing timeout" }, + {} +}; + /* Initialize the bare minimum of struct gsm_network, minimizing required dependencies. * This part is shared among the thin programs in osmo-bsc/src/utils/. * osmo-bsc requires further initialization that pulls in more dependencies (see bsc_network_init()). */ @@ -81,5 +87,8 @@ struct gsm_network *gsm_network_init(void *ctx) net->T_defs = gsm_network_T_defs; osmo_tdefs_reset(net->T_defs); + net->mgw.tdefs = g_mgw_tdefs; + osmo_tdefs_reset(net->mgw.tdefs); + return net; } |