Change in osmo-bsc[master]: Make sure to default to AMR octet-aligned mode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed May 15 12:59:37 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/14050


Change subject: Make sure to default to AMR octet-aligned mode
......................................................................

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
---
M src/osmo-bsc/osmo_bsc_msc.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/50/14050/1

diff --git a/src/osmo-bsc/osmo_bsc_msc.c b/src/osmo-bsc/osmo_bsc_msc.c
index 4df1ce4..6a6b1a9 100644
--- a/src/osmo-bsc/osmo_bsc_msc.c
+++ b/src/osmo-bsc/osmo_bsc_msc.c
@@ -94,6 +94,7 @@
 
 	/* 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;

-- 
To view, visit https://gerrit.osmocom.org/14050
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b6fd8bec05b35d84ad16275d84f9d363e238d2b
Gerrit-Change-Number: 14050
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190515/10489f02/attachment.htm>


More information about the gerrit-log mailing list