osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/31548 )


Change subject: abis_rsl: ipacc_payload_type: handle CSD
......................................................................

abis_rsl: ipacc_payload_type: handle CSD

Depends: libsmo-abis Ibf0bfb577faa5c82e10706b42ede8b72dd611655
Change-Id: Ie561d87ecdc161b9a69eb7683889f0395524faa8
---
M TODO-RELEASE
M src/osmo-bsc/abis_rsl.c
2 files changed, 16 insertions(+), 0 deletions(-)



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

diff --git a/TODO-RELEASE b/TODO-RELEASE
index d38d67e..0d04a57 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -8,3 +8,4 @@
 # If any interfaces have been removed or changed since the last public 
release: c:r:0.
 #library       what            description / commit summary line
 libosmogsm     >1.8.0          circuit switched data stuff 
(gsm0808_enc/dec_channel_type etc.)
+libosmo-abis   >1.4.0          osmo_ortp.h: add RTP_PT_CSDATA
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index 6d1dbf2..76b245c 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -2624,6 +2624,11 @@
 int ipacc_payload_type(enum gsm48_chan_mode tch_mode, enum gsm_chan_t type)
 {
        switch (gsm48_chan_mode_to_non_vamos(tch_mode)) {
+       case GSM48_CMODE_DATA_14k5:
+       case GSM48_CMODE_DATA_12k0:
+       case GSM48_CMODE_DATA_6k0:
+       case GSM48_CMODE_DATA_3k6:
+               return RTP_PT_CSDATA;
        case GSM48_CMODE_SPEECH_V1:
                switch (type) {
                case GSM_LCHAN_TCH_F:

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie561d87ecdc161b9a69eb7683889f0395524faa8
Gerrit-Change-Number: 31548
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to