summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_mgcp
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-08-08 12:04:30 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-08-20 17:53:26 +0200
commita1254353a2d3888e23174098140d43290e138ce4 (patch)
tree58fcad46e3770d0c474bab730aec9f45b98c0809 /openbsc/src/osmo-bsc_mgcp
parentb0557e7d1b0c3a53aa16494f963dcb850d352a50 (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. Backport from osmo-mgw.git. Change-Id: Ic8740512c5ea0766ff6ceb1c28b9c2b3fe46e75f
Diffstat (limited to 'openbsc/src/osmo-bsc_mgcp')
-rw-r--r--openbsc/src/osmo-bsc_mgcp/mgcp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c b/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
index 4ea0700..6cf9ab7 100644
--- a/openbsc/src/osmo-bsc_mgcp/mgcp_main.c
+++ b/openbsc/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);