From bad82d31a9aa4016c37e25be3022442e541004f6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 15 May 2019 14:57:32 +0200 Subject: 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 --- src/osmo-bsc/osmo_bsc_msc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3