diff options
-rw-r--r-- | src/osmo-bsc/gsm_data.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c index 0f062d25a..7885dad15 100644 --- a/src/osmo-bsc/gsm_data.c +++ b/src/osmo-bsc/gsm_data.c @@ -757,6 +757,14 @@ struct gsm_bts *gsm_bts_alloc(struct gsm_network *net, uint8_t bts_num) INIT_LLIST_HEAD(&bts->abis_queue); INIT_LLIST_HEAD(&bts->loc_list); + /* Enable all codecs by default. These get reset to a more fine grained selection IF a + * 'codec-support' config appears in the config file (see bsc_vty.c). */ + bts->codec = (struct bts_codec_conf){ + .hr = 1, + .efr = 1, + .amr = 1, + }; + return bts; } |