osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/31554 )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: chan_mode_to_mgcp_codec: support CSD
......................................................................

chan_mode_to_mgcp_codec: support CSD

Related: OS#4393
Change-Id: Ib5876ee4dac9e8000cc3ae0c5dd87aae3d723829
---
M src/osmo-bsc/lchan_rtp_fsm.c
1 file changed, 16 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 78ba477..c5dab49 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -852,6 +852,12 @@
 static enum mgcp_codecs chan_mode_to_mgcp_codec(enum gsm48_chan_mode 
chan_mode, bool full_rate)
 {
        switch (gsm48_chan_mode_to_non_vamos(chan_mode)) {
+       case GSM48_CMODE_DATA_14k5:
+       case GSM48_CMODE_DATA_12k0:
+       case GSM48_CMODE_DATA_6k0:
+       case GSM48_CMODE_DATA_3k6:
+               return CODEC_CLEARMODE;
+
        case GSM48_CMODE_SPEECH_V1:
                if (full_rate)
                        return CODEC_GSM_8000_1;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31554
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib5876ee4dac9e8000cc3ae0c5dd87aae3d723829
Gerrit-Change-Number: 31554
Gerrit-PatchSet: 6
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to