aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc_mgcp/mgcp_main.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-08-08 12:04:30 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-30 14:12:37 +0200
commit4179ebdec160dc7318ad23f13512ca13bb1eef98 (patch)
treef359d33d2050189d6f1efb2cb34f30ad81ffecba /src/osmo-bsc_mgcp/mgcp_main.c
parentefe85d33d4948a20de1baec2e8956113714ec72e (diff)
mgcp: add VTY Option to force-realloc endpoints
Currently the force_realloc feature is turnd on and of in a hardcoded way. This patch makes the option available via VTY. Change-Id: Ic8740512c5ea0766ff6ceb1c28b9c2b3fe46e75f
Diffstat (limited to 'src/osmo-bsc_mgcp/mgcp_main.c')
-rw-r--r--src/osmo-bsc_mgcp/mgcp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc_mgcp/mgcp_main.c b/src/osmo-bsc_mgcp/mgcp_main.c
index 4ea070079..6cf9ab786 100644
--- a/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/src/osmo-bsc_mgcp/mgcp_main.c
@@ -218,6 +218,8 @@ int main(int argc, char **argv)
cfg->get_net_downlink_format_cb = &mgcp_transcoding_net_downlink_format;
#endif
+ cfg->trunk.force_realloc = 1;
+
vty_info.copyright = openbsc_copyright;
vty_init(&vty_info);
logging_vty_add_cmds(NULL);