Change in openbsc[master]: rtp_proxy: 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:20 UTC 2018


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


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

rtp_proxy: 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: I96784be13254b16744211ed3bd1c9e6ad9a792ba
Related: OS#2728
---
M openbsc/include/openbsc/rtp_proxy.h
1 file changed, 6 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/82/9782/1

diff --git a/openbsc/include/openbsc/rtp_proxy.h b/openbsc/include/openbsc/rtp_proxy.h
index 52ffefd..2969889 100644
--- a/openbsc/include/openbsc/rtp_proxy.h
+++ b/openbsc/include/openbsc/rtp_proxy.h
@@ -30,9 +30,12 @@
 #include <openbsc/mncc.h>
 
 #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
+
 #define RTP_LEN_GSM_FULL 33
 #define RTP_LEN_GSM_HALF 15
 #define RTP_LEN_GSM_EFR 31

-- 
To view, visit https://gerrit.osmocom.org/9782
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I96784be13254b16744211ed3bd1c9e6ad9a792ba
Gerrit-Change-Number: 9782
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/14be3c6a/attachment.htm>


More information about the gerrit-log mailing list