aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2018-07-10 09:32:27 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2018-08-08 13:02:58 +0200
commit48338570e1035825e9a5f6f100509cc82ea6d28c (patch)
treedf23c2951980d6f785e17df9f6a474b5b3c10878 /include/osmocom
parent628a05e738b5f37e2fecd544780240e56db54036 (diff)
lcls: do not LCLS call legs with different codecs
It is theoretically possible to LCLS two legs that use different codecs. However, this requires transcoding capabilities on the local MGW. If the local MGW lacks transcoding features such a local circuit should be avoided. Enabeling LCLS under such coditions should be optional (VTY) - Add check to avoid LCLS on different codec/rate - Add VTY-Option to optionally override the check (MGW is able to transcode) Change-Id: I157549129a40c64364dc126f67195759e5f1d60f Related: OS#1602
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/bsc_msc_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_msc_data.h b/include/osmocom/bsc/bsc_msc_data.h
index 79d2eca48..7ec34423c 100644
--- a/include/osmocom/bsc/bsc_msc_data.h
+++ b/include/osmocom/bsc/bsc_msc_data.h
@@ -87,6 +87,7 @@ struct bsc_msc_data {
struct gsm_audio_support **audio_support;
int audio_length;
enum bsc_lcls_mode lcls_mode;
+ bool lcls_codec_mismatch_allow;
/* ussd welcome text */
char *ussd_welcome_txt;