aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmsc/msc_ifaces.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-19 16:48:42 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-29 12:51:19 +0000
commit979cd26f35cc979a15073f263cdc5d1b5691bc65 (patch)
tree66d6d79a840b5ec74b1abe195d19b684cf485af9 /src/libmsc/msc_ifaces.c
parentc2df7e84a711e1da14d16c7110b45f9a8d9b38fb (diff)
move to osmo-mgw.git: osmo-bsc_mgcp and libmgcp as libosmo-legacy-mgcp
Rewire build and includes to libosmo-legacy-mgcp. Drop osmo-bsc_mgcp and related python tests, now found in osmo-mgw.git. libosmo-legacy-mgcp is installed from osmo-mgw, hence add the dependency to jenkins.sh (so far using the pre_release branch). Change-Id: Ic99d681759edce11564da62500c2aac5cf5fffe2
Diffstat (limited to 'src/libmsc/msc_ifaces.c')
-rw-r--r--src/libmsc/msc_ifaces.c6
1 files changed, 3 insertions, 3 deletions
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.