Change in osmo-bsc[master]: rsl: use 3GPP assigned payload type numbers

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Fri Jun 29 09:00:12 UTC 2018


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


Change subject: rsl: use 3GPP assigned payload type numbers
......................................................................

rsl: use 3GPP assigned payload type numbers

The payload types for AMR, EFR, and GSM-HR are dynamic payload types. In
theory those can have any number from the IANA reserved dynamic payload type
rante. However 3GPP TS 48.103 assignes AMR, EFR and GSM-HR a fixed payload type
number from the dynamic payload type range. Lets make sure our payload types
use the 3GPP payload type numbers instead of arbitrary choosen ones.

- change payload type define constants to match 3GPP TS 48.103

Change-Id: Ib6a866b29d863d6875c67748dbe6b6468941ab29
Related: OS#2728
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 5 insertions(+), 3 deletions(-)



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

diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index ab3658d..9926c84 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -51,9 +51,11 @@
 #define RSL_ALLOC_HEADROOM	128
 
 #define RTP_PT_GSM_FULL 3
-#define RTP_PT_GSM_HALF 96
-#define RTP_PT_GSM_EFR 97
-#define RTP_PT_AMR 98
+
+/* see also: 3GPP TS 48.103 chapter 5.4.2.2 RTP Payload */
+#define RTP_PT_GSM_HALF 111
+#define RTP_PT_GSM_EFR 110
+#define RTP_PT_AMR 112
 
 enum sacch_deact {
 	SACCH_NONE,

-- 
To view, visit https://gerrit.osmocom.org/9781
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: Ib6a866b29d863d6875c67748dbe6b6468941ab29
Gerrit-Change-Number: 9781
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180629/970f1897/attachment.htm>


More information about the gerrit-log mailing list