aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-19 16:48:42 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-11 18:34:02 +0200
commitca50858b90eb6c4c159eee0482eb826ef8c22fb1 (patch)
treee36dfa0f5a3b9fefd8bc7c257c5cb1ceae4c01f0 /src/libmsc
parente2f7364abda8a8da5a0b5a169ddc403d403bf48f (diff)
replace internal libmgcp with libosmo-legacy-mgcp
Diffstat (limited to 'src/libmsc')
-rw-r--r--src/libmsc/a_iface.c2
-rw-r--r--src/libmsc/msc_ifaces.c6
-rw-r--r--src/libmsc/msc_vty.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index 09d7d1f24..25d3970f0 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -34,7 +34,7 @@
#include <openbsc/a_iface.h>
#include <openbsc/a_iface_bssap.h>
#include <openbsc/transaction.h>
-#include <openbsc/mgcpgw_client.h>
+#include <osmocom/legacy_mgcp/mgcpgw_client.h>
#include <osmocom/core/byteswap.h>
#include <osmocom/sccp/sccp_types.h>
#include <openbsc/a_reset.h>
diff --git a/src/libmsc/msc_ifaces.c b/src/libmsc/msc_ifaces.c
index 262bf98a3..161a10019 100644
--- a/src/libmsc/msc_ifaces.c
+++ b/src/libmsc/msc_ifaces.c
@@ -25,8 +25,8 @@
#include <openbsc/msc_ifaces.h>
#include <openbsc/gsm_subscriber.h>
#include <openbsc/transaction.h>
-#include <openbsc/mgcp.h>
-#include <openbsc/mgcpgw_client.h>
+#include <osmocom/legacy_mgcp/mgcp.h>
+#include <osmocom/legacy_mgcp/mgcpgw_client.h>
#include <openbsc/vlr.h>
#include <openbsc/a_iface.h>
@@ -249,7 +249,7 @@ int msc_call_assignment(struct gsm_trans *trans)
* its RTP traffic to that port on the MGCPGW side. The MGCPGW only
* gets the endpoint ID via the CRCX. It will do the same calculation
* on his side too to get knowledge of the rtp port. */
- bts_base = mgcp->actual.bts_base;
+ bts_base = mgcpgw_client_conf_actual(mgcp)->bts_base;
conn->rtp.port_subscr = bts_base + 2 * conn->rtp.mgcp_rtp_endpoint;
/* Establish the RTP stream first as looping back to the originator.
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 6ae4529a1..50679aa01 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -155,7 +155,7 @@ void msc_vty_init(struct gsm_network *msc_network)
install_element(MSC_NODE, &cfg_msc_cs7_instance_a_cmd);
install_element(MSC_NODE, &cfg_msc_cs7_instance_iu_cmd);
- mgcpgw_client_vty_init(MSC_NODE, &msc_network->mgcpgw.conf);
+ mgcpgw_client_vty_init(msc_network, MSC_NODE, &msc_network->mgcpgw.conf);
#ifdef BUILD_IU
ranap_iu_vty_init(MSC_NODE, &msc_network->iu.rab_assign_addr_enc);
#endif