path: root/include/osmocom
diff options
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 /include/osmocom
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 'include/osmocom')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index dc686c366..68c95e187 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -33,6 +33,7 @@
#include <osmocom/bsc/bsc_msg_filter.h>
#include <osmocom/bsc/acc_ramp.h>
#include <osmocom/bsc/neighbor_ident.h>
+#include <osmocom/bsc/osmux.h>
#define GSM_T3122_DEFAULT 10
@@ -120,6 +121,8 @@ struct assignment_request {
char msc_rtp_addr[INET_ADDRSTRLEN];
uint16_t msc_rtp_port;
+ bool use_osmux;
+ uint8_t osmux_cid;
/* Rate/codec setting in preference order (need at least 1 !) */
int n_ch_mode_rate;