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
committerNeels Hofmeyr <neels@hofmeyr.de>2017-07-25 15:32:42 +0200
commit1c7909c9130744caa8a0fde19a4bb2ab02036097 (patch)
tree035c47830caf0e00ab3e9b17f480cccaacfe9ec4 /src/libmsc/msc_ifaces.c
parentf81151bd3f44a373ae22979534486fe17549dad1 (diff)
replace internal libmgcp with libosmo-legacy-mgcp
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 e25ed28f7..712b3b553 100644
--- a/src/libmsc/msc_ifaces.c
+++ b/src/libmsc/msc_ifaces.c
@@ -26,8 +26,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>
@@ -236,7 +236,7 @@ static int conn_iu_rab_act_cs(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->iu.mgcp_rtp_endpoint;
/* Since we know now the endpoint number, we enforce a DLCX on tha