aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/gsm_data.h
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-08-07 13:00:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-07 16:51:30 +0000
commit8ad3dacebb2ec1c160c2cc3b0ec0a8eaec4332f0 (patch)
treeae024def16eb5b6ccf50bf8cb96a967abfdd81b5 /include/osmocom/msc/gsm_data.h
parent6cc377d359a938e59dc517a99d0e182315cdf669 (diff)
mgcp: use codec information returned with ASSIGNMENT COMPL.
When the assignment completes a choosen codec is returned. At the moment we do not use this information. - add struct members for codec info (both, RAN and CN) - parse codec info in BSSMAP ASSIGNMENT COMPLETE - use codec info on mgcp Since the MNCC API is not complete yet, we currently only use the codec info only on the internal MNCC yet. Change-Id: I9d5b1cd016d9a058b22a367d0e5e9f2ef447931a Related: OS#2728
Diffstat (limited to 'include/osmocom/msc/gsm_data.h')
-rw-r--r--include/osmocom/msc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h
index c79adde59..27f7fc591 100644
--- a/include/osmocom/msc/gsm_data.h
+++ b/include/osmocom/msc/gsm_data.h
@@ -143,10 +143,13 @@ struct gsm_subscriber_connection {
char local_addr_ran[INET_ADDRSTRLEN];
uint16_t remote_port_ran;
char remote_addr_ran[INET_ADDRSTRLEN];
+ enum mgcp_codecs codec_ran;
+
uint16_t local_port_cn;
char local_addr_cn[INET_ADDRSTRLEN];
uint16_t remote_port_cn;
char remote_addr_cn[INET_ADDRSTRLEN];
+ enum mgcp_codecs codec_cn;
} rtp;
/* which Iu-CS connection, if any. */