diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-09-27 15:51:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-07 20:57:51 +0000 |
commit | 39c609b7c924524172ad311bdf89f92b7ccf175a (patch) | |
tree | 23de9db3438dfcaf88ad27f082dbbf0dea140769 /src/osmo-bsc/osmo_bsc_vty.c | |
parent | 9eb208fcfb75eedd2b1a45a2aa67893ce4726404 (diff) |
mgcp: use osmo-mgw to switch RTP streams
osmo-bsc currently negotiates the RTP stream directly with the
BTS and reports back the RTP IP/Port on the BTS. This works fine
for a single BTS, but for Handover the port/ip pointing to the
MSC side must not change, so an entity in between the BTSs and
the MSC is required.
Integrate the mgcp-client and use osmo-mgw to switch the RTP
streams.
Depends: osmo-mgw Ib5fcc72775bf72b489ff79ade36fb345d8d20736
Depends: osmo-mgw I44b338b09de45e1675cedf9737fa72dde72e979a
Depends: osmo-mgw I29c5e2fb972896faeb771ba040f015592487fcbe
Change-Id: Ia2882b7ca31a3219c676986e85045fa08a425d7a
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_vty.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c index f816ae428..ca4709759 100644 --- a/src/osmo-bsc/osmo_bsc_vty.c +++ b/src/osmo-bsc/osmo_bsc_vty.c @@ -29,6 +29,8 @@ #include <osmocom/core/talloc.h> #include <osmocom/vty/logging.h> #include <osmocom/sccp/sccp_types.h> +#include <osmocom/mgcp_client/mgcp_client.h> + #include <time.h> @@ -972,6 +974,8 @@ DEFUN(logging_fltr_imsi, int bsc_vty_init_extra(void) { + struct gsm_network *net = bsc_gsmnet; + install_element(CONFIG_NODE, &cfg_net_msc_cmd); install_element(CONFIG_NODE, &cfg_net_bsc_cmd); @@ -1034,5 +1038,7 @@ int bsc_vty_init_extra(void) install_element(CFG_LOG_NODE, &logging_fltr_imsi_cmd); + mgcp_client_vty_init(net, MSC_NODE, net->mgw.conf); + return 0; } |