dexter has uploaded this change for review. ( https://gerrit.osmocom.org/13091


Change subject: osmo_bsc_msc: Use meaningful amr rate configuration on MSC level
......................................................................

osmo_bsc_msc: Use meaningful amr rate configuration on MSC level

The current default configuration for permitted AMR rates on MSC level is
not very useful since it only supports a single rate and neglects
Config-NB-Code = 1, which includes the four most common AMR rates
(12.2, 7.4, 5.9, 4.75) Lets make sure that those rates are are the default
for the MSC configuration.

Change-Id: I8b2a62879755a8a5edfa1aa36c748968a56aad0d
Related: SYS#4470
---
M src/osmo-bsc/osmo_bsc_msc.c
1 file changed, 5 insertions(+), 1 deletion(-)



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

diff --git a/src/osmo-bsc/osmo_bsc_msc.c b/src/osmo-bsc/osmo_bsc_msc.c
index 71931e6..3a20a61 100644
--- a/src/osmo-bsc/osmo_bsc_msc.c
+++ b/src/osmo-bsc/osmo_bsc_msc.c
@@ -92,8 +92,12 @@
        msc_data->allow_emerg = 1;
        msc_data->a.asp_proto = OSMO_SS7_ASP_PROT_M3UA;

-       /* Defaults for the audio setup */
+       /* Defaults (Config-NB-Code = 1) for the audio setup, see also
+        * 3GPP TS 28.062, Table 7.11.3.1.3-2 */
+       msc_data->amr_conf.m4_75 = 1;
        msc_data->amr_conf.m5_90 = 1;
+       msc_data->amr_conf.m7_40 = 1;
+       msc_data->amr_conf.m12_2 = 1;

        /* Allow the full set of possible codecs by default */
        msc_data->audio_length = 5;

--
To view, visit https://gerrit.osmocom.org/13091
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: I8b2a62879755a8a5edfa1aa36c748968a56aad0d
Gerrit-Change-Number: 13091
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to