Project

General

Profile

Feature #4438

Allow configuring DSCP value in OsmoBTS for RTP

Added by osmith over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/06/2020
Due date:
% Done:

100%

Spec Reference:

Description

In OsmoMGW, it is already possible to configure the DSCP value. We also need it for OsmoBTS.

I've tried the related setsockopt() in /src/common/rsl.c:bind_rtp() without success, it seems that it is overwritten later by libortp.

OsmoBTS uses libosmo-abis, which in turn uses libortp for the RTP connections.

I will add a osmo_rtp_socket_set_dscp() function, which calls rtp_session_set_dscp() from libortp, to libosmo-abis and then use it in OsmoBTS.


Related issues

Related to OsmoMGW - Bug #4447: DSCP value should be a 6 bit fieldNew03/09/2020

Associated revisions

Revision 857bd28b (diff)
Added by osmith over 1 year ago

osmo_ortp: add osmo_rtp_socket_set_dscp()

Related: OS#4438
Change-Id: I41603db8c1286660ad57ac1c78a8fb393a2b080b

Revision f38c6b35 (diff)
Added by osmith over 1 year ago

rsl: make IP DSCP configurable

Related: OS#4438
Depends: libosmo-abis I41603db8c1286660ad57ac1c78a8fb393a2b080b
Change-Id: Icdef5d40243fefdeae23f3bcf9c6702e8487928a

Revision 3c51482e (diff)
Added by osmith over 1 year ago

osmo_ortp: add osmo_rtp_socket_set_dscp()

Related: OS#4438
Change-Id: I41603db8c1286660ad57ac1c78a8fb393a2b080b

Revision cb4340b8 (diff)
Added by osmith over 1 year ago

rsl: make IP DSCP configurable

Related: OS#4438
Depends: libosmo-abis I41603db8c1286660ad57ac1c78a8fb393a2b080b
Change-Id: Icdef5d40243fefdeae23f3bcf9c6702e8487928a

History

#1 Updated by osmith over 1 year ago

#2 Updated by osmith over 1 year ago

  • Subject changed from Allow configuring DSCP value in OsmoBTS to Allow configuring DSCP value in OsmoBTS for RTP

#3 Updated by osmith over 1 year ago

  • % Done changed from 20 to 90

It works! Patches submitted: https://gerrit.osmocom.org/q/topic:dscp

#4 Updated by osmith over 1 year ago

  • Related to Bug #4447: DSCP value should be a 6 bit field added

#5 Updated by osmith over 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)