Change in libosmo-abis[master]: ortp: 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 08:59:55 UTC 2018


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


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

ortp: 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: If5bfa4aac37ce95741322f6a7481cf612425d77b
Related: OS#2728
---
M include/osmocom/trau/osmo_ortp.h
1 file changed, 6 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/79/9779/1

diff --git a/include/osmocom/trau/osmo_ortp.h b/include/osmocom/trau/osmo_ortp.h
index 5fb2960..9cd21c1 100644
--- a/include/osmocom/trau/osmo_ortp.h
+++ b/include/osmocom/trau/osmo_ortp.h
@@ -15,12 +15,12 @@
 
 /*! \brief standard payload type for GSM Full Rate (FR) */
 #define RTP_PT_GSM_FULL 3
-/*! \brief Osmocom pseudo-static paylaod type for Half Rate (HR) */
-#define RTP_PT_GSM_HALF 96
-/*! \brief Osmocom pseudo-static paylaod type for Enhanced Full Rate (EFR) */
-#define RTP_PT_GSM_EFR 97
-/*! \brief Osmocom pseudo-static paylaod type for Adaptive Multi Rate (AMR) */
-#define RTP_PT_AMR 98
+/*! \brief 3gpp (TS 48.103) pseudo-static paylaod type for Half Rate (HR) */
+#define RTP_PT_GSM_HALF 111
+/*! \brief 3gpp (TS 48.103) pseudo-static paylaod type for Enhanced Full Rate (EFR) */
+#define RTP_PT_GSM_EFR 110
+/*! \brief 3gpp (TS 48.103) pseudo-static paylaod type for Adaptive Multi Rate (AMR) */
+#define RTP_PT_AMR 112
 
 #define GSM_VOICE_SAMPLE_RATE_HZ 8000
 #define GSM_VOICE_SAMPLES_PER_MS (GSM_VOICE_SAMPLE_RATE_HZ / 1000)

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

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If5bfa4aac37ce95741322f6a7481cf612425d77b
Gerrit-Change-Number: 9779
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/4b19fb7b/attachment.htm>


More information about the gerrit-log mailing list