aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/bsc_subscr_conn_fsm.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-04-16 20:05:32 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-19 22:36:18 +0000
commit83c0f76d2182063a09584cd623720b1c9fb7fbc9 (patch)
treefbb489dd06662365e0a8f31bf3447519af313a2e /src/osmo-bsc/bsc_subscr_conn_fsm.c
parent4dc95597284972b8c862f63121b91d177569b3a4 (diff)
bssap: Parse Osmux CID on BSSAP Assign Req recv and use it in MGCP
The Osmux CID obtained from the MSC is passed to the co-located BSC MGW to configure the MSC-side MGW conn of a call leg. Depends on: osmo-mgw.git I73b4c62baf39050da81d65553cbea07bc51163de Change-Id: I86e7e13fc7921e3209fb764c0e7797e7ec09b79e
Diffstat (limited to 'src/osmo-bsc/bsc_subscr_conn_fsm.c')
-rw-r--r--src/osmo-bsc/bsc_subscr_conn_fsm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index f94443172..87ad56740 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -519,6 +519,8 @@ bool gscon_connect_mgw_to_msc(struct gsm_subscriber_connection *conn,
.port = port,
.call_id = conn->sccp.conn_id,
.ptime = 20,
+ .x_osmo_osmux_use = conn->assignment.req.use_osmux,
+ .x_osmo_osmux_cid = conn->assignment.req.osmux_cid,
};
mgcp_pick_codec(&mgw_info, for_lchan, false);