diff options
authorHarald Welte <laforge@gnumonks.org>2019-05-15 14:57:32 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-15 14:59:24 +0200
commitbad82d31a9aa4016c37e25be3022442e541004f6 (patch)
parent13245d98c278612c49e141984c735b52ccc61203 (diff)
Make sure to default to AMR octet-aligned mode
In Change-Id If6d40b2407b87aad2227ea7f15533ef01a3771b3 we introduced the support for both octet-aligned and bandwidth-efficient mode, and added a related VTY option about it. However, we accidentially also changed the default behavior. Without any explicit configuration, we should behave just like we behaved all those years before: Continue with octet-aligned mode. Change-Id: I8b6fd8bec05b35d84ad16275d84f9d363e238d2b Closes: OS#4002
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_msc.c b/src/osmo-bsc/osmo_bsc_msc.c
index 4df1ce4f8..6a6b1a93d 100644
--- a/src/osmo-bsc/osmo_bsc_msc.c
+++ b/src/osmo-bsc/osmo_bsc_msc.c
@@ -94,6 +94,7 @@ struct bsc_msc_data *osmo_msc_data_alloc(struct gsm_network *net, int nr)
/* Defaults for the audio setup */
msc_data->amr_conf.m5_90 = 1;
+ msc_data->amr_octet_aligned = true;
/* Allow the full set of possible codecs by default */
msc_data->audio_length = 5;