<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9781">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rsl: use 3GPP assigned payload type numbers<br><br>The payload types for AMR, EFR, and GSM-HR are dynamic payload types. In<br>theory those can have any number from the IANA reserved dynamic payload type<br>rante. However 3GPP TS 48.103 assignes AMR, EFR and GSM-HR a fixed payload type<br>number from the dynamic payload type range. Lets make sure our payload types<br>use the 3GPP payload type numbers instead of arbitrary choosen ones.<br><br>- change payload type define constants to match 3GPP TS 48.103<br><br>Change-Id: Ib6a866b29d863d6875c67748dbe6b6468941ab29<br>Related: OS#2728<br>---<br>M src/osmo-bsc/abis_rsl.c<br>1 file changed, 5 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/81/9781/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c</span><br><span>index ab3658d..9926c84 100644</span><br><span>--- a/src/osmo-bsc/abis_rsl.c</span><br><span>+++ b/src/osmo-bsc/abis_rsl.c</span><br><span>@@ -51,9 +51,11 @@</span><br><span> #define RSL_ALLOC_HEADROOM  128</span><br><span> </span><br><span> #define RTP_PT_GSM_FULL 3</span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_GSM_HALF 96</span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_GSM_EFR 97</span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_AMR 98</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+/* see also: 3GPP TS 48.103 chapter 5.4.2.2 RTP Payload */</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_GSM_HALF 111</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_GSM_EFR 110</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_AMR 112</span><br><span> </span><br><span> enum sacch_deact {</span><br><span>        SACCH_NONE,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9781">change 9781</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9781"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib6a866b29d863d6875c67748dbe6b6468941ab29 </div>
<div style="display:none"> Gerrit-Change-Number: 9781 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>