mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
osmo-bsc: Remove hard-coded check for codec preferecne in ASS CMD
When we get an assignment command from the MSC, we no longer have to check statically for certain codecs, as we have a vty-configured list of codecs that is checked just below.
This commit is contained in:
@@ -349,11 +349,6 @@ static int bssmap_handle_assignm_req(struct osmo_bsc_sccp_con *conn,
|
||||
goto reject;
|
||||
}
|
||||
|
||||
if (data[1] != GSM0808_SPEECH_FULL_PREF && data[1] != GSM0808_SPEECH_HALF_PREF) {
|
||||
LOGP(DMSC, LOGL_ERROR, "ChannelType full not allowed: %d\n", data[1]);
|
||||
goto reject;
|
||||
}
|
||||
|
||||
/*
|
||||
* go through the list of preferred codecs of our gsm network
|
||||
* and try to find it among the permitted codecs. If we found
|
||||
|
Reference in New Issue
Block a user