Attention is currently required from: laforge, neels, pespin.
osmith has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email )
Change subject: fix SCCP_MAX_OPTIONAL_DATA 128
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS1:
> I'm looking into why CI fails
CI had failed, because VTY tests were not adjusted (as Pau noted above). I've adjusted it there and also the VTY description that still said 130.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I841dbb2e8cbc13708ba7f5593f6bdd3b8da4329c
Gerrit-Change-Number: 41192
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Oct 2025 07:57:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Attention is currently required from: laforge, neels, pespin.
osmith has uploaded a new patch set (#2) to the change originally created by neels. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email )
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Code-Review+2 by laforge, Verified-1 by Jenkins Builder
Change subject: fix SCCP_MAX_OPTIONAL_DATA 128
......................................................................
fix SCCP_MAX_OPTIONAL_DATA 128
Related: SYS#7600
Change-Id: I841dbb2e8cbc13708ba7f5593f6bdd3b8da4329c
---
M include/osmocom/sccp/sccp_types.h
M src/sccp_vty.c
M tests/vty/osmo_stp_test.vty
M tests/vty/ss7_asp_test.vty
4 files changed, 26 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/92/41192/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I841dbb2e8cbc13708ba7f5593f6bdd3b8da4329c
Gerrit-Change-Number: 41192
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: neels.
osmith has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email )
Change subject: fix SCCP_MAX_OPTIONAL_DATA 128
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> I would actually say this should als trigger a patch release of (at the very least) the mos recent l […]
ack, I'll prepare the patch release
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41192?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I841dbb2e8cbc13708ba7f5593f6bdd3b8da4329c
Gerrit-Change-Number: 41192
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Oct 2025 07:09:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Attention is currently required from: laforge, neels, pespin.
falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email )
Change subject: mgw: rtp-patch rfc5993hr: convert to each end's respective format
......................................................................
Patch Set 3:
(1 comment)
File src/libosmo-mgcp/mgcp_network.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/39869/comment/9ad7069a_727c79f6?usp… :
PS2, Line 715: static int rfc5993_hr_convert(struct msgb *msg, struct mgcp_conn_rtp *dst)
> Update 7 months later: I'll spin an updated patch with these arguments swapped.
The new patch revision has function arguments restored to their original order.
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6b446ad83c540fb8b7e1aae24b78c27010212d64
Gerrit-Change-Number: 39869
Gerrit-PatchSet: 3
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Oct 2025 04:21:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Attention is currently required from: laforge, neels, pespin.
Hello Jenkins Builder, laforge, neels, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified+1 by Jenkins Builder
Change subject: mgw: rtp-patch rfc5993hr: convert to each end's respective format
......................................................................
mgw: rtp-patch rfc5993hr: convert to each end's respective format
The purpose of 'rtp-patch rfc5993hr' feature is to convert GSM-HR
RTP packets between RFC 5993 format that is expected on AoIP interface
(as prescribed by 3GPP) and TS 101 318 format that is emitted and
perhaps required by some legacy IP-based BTS. However, the original
implementation of this feature was excessively brute: when enabled,
it would unconditionally "flip" the format of each RTP packet handled
by the MGW. The operator therefore had to be careful to enable this
feature only when those old BTS models are in use, and there was no
possibility of mixing both old and new BTS on the same OsmoBSC+OsmoMGW
setup.
Modify this feature to work by autodetecting the format emitted by
each RTP peer, and send packets toward each peer in the same format
as that peer emits.
Related: OS#6059
Change-Id: I6b446ad83c540fb8b7e1aae24b78c27010212d64
---
M include/osmocom/mgcp/mgcp_rtp_end.h
M src/libosmo-mgcp/mgcp_network.c
2 files changed, 148 insertions(+), 24 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/69/39869/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6b446ad83c540fb8b7e1aae24b78c27010212d64
Gerrit-Change-Number: 39869
Gerrit-PatchSet: 3
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: laforge, neels, pespin.
falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email )
Change subject: mgw: rtp-patch rfc5993hr: convert to each end's respective format
......................................................................
Patch Set 2:
(6 comments)
Patchset:
PS2:
> > and also the BSC has to then be aware of the HR formats in use. […]
I have so many objections to the argument raised by @nhofmeyr@sysmocom.de that I am not sure where to begin... Just a few thoughts that come to mind:
* We all collectively, in our role as Osmocom community, got shot in the foot pretty badly when the decision was made, ages ago and long before I joined the project, to use MGCP as the control interface to OsmoMGW, as opposed to a completely custom, ad hoc and private interface. (For an example of the latter, see the control i/f to my tw-border-mgw.) Yes, I know the history behind this design decision: OsmoBSC was interfacing to ip.access proprietary MSC whose proprietary, non-3GPP flavor of A-over-IP interface (known around here as SCCPlite) includes MGCP with endpoints that function like rtpbridge in OsmoMGW. But this historical detail about the way some Osmocom-related commercial business once ran some years ago does nothing to help those of us who are 100% non-profit and FOSS-based (no proprietary MSCs kicking around, no commercial operations) - from my PoV, and from the standpoint of anyone else in a position similar to mine, the use of MGCP (and SDP) in Osmocom is an obstacle, a bone in the throat, an intrusion of IETF-isms into what is otherwise a clean world of GSM governed by 3GPP specs.
* In terms of functionality, the best RTP format for HRv1 codec is TW-TS-002. For those who cannot or do not wish to use this extended format, the next best choice is RFC 5993 - and the latter is strictly, unambiguously stipulated by 3GPP for use at AoIP interface. The "raw" format of TS 101 318 is quite useful in internal interfaces (low-level library APIs), but use of this raw format in external RTP (external to any given single process) should be phased out.
* The whole mechanism of on-the-fly HRv1 format conversion in OsmoMGW looks like a solution in search of a problem. What is wrong with simply configuring every OsmoBTS instance to use `rtp hr-format rfc5993` and thus match the requirement of AoIP interface? Is it about supporting ip.access nanoBTS that are stuck with TS 101 318 format? Or another pointless beauty contest, expending extra work just so that existing installations of osmo-bts-sysmo etc that default to `rtp hr-format ts101318` will convert to the right AoIP format "automagically"?
* The idea keeps being tossed around that OsmoBSC should know which HR format each BTS uses and can therefore pass this info to OsmoMGW via an invented fmtp parameter. The part about inventing an fmtp parameter is trivial - I already did plenty of that for TW-TS-* - instead the problem is with BSC knowledge part. Let us all remember that the HR format emitted by OsmoBTS (all variants) is **configured by vty** on the BTS. How in the world would OsmoBSC know which format is configured by vty on each BTS?
PS2:
> I'd still want the unresolved comments to be adressed somehow.
There exists a concept called "pick your battles", or "choose your battles wisely". Back in March I tried to do "the right thing" and prepare this patch for Osmocom, even though the feature in question is utterly useless - HRv1 codec has absolutely no use outside of just-for-fun retronetworking experiments, to the point where even American 2G Cooperative, a dedicated operator specifically for users of retro phones and probably the most retronetworking-oriented GSM operator anywhere in the world, won't be using HRv1 in production. And if someone does wish to play with HRv1 just for fun, there are much easier ways to accomplish that exercise, either by configuring `rtp hr-format rfc5993` in OsmoBTS or by enabling TW-TS-002 from MSC/CN side, which propagates down to the BTS and overrides the local `hr-format` setting.
Therefore, I am driven to conclude that the present issue (OS#6059) and the whole debate around it is not about useful functionality, but more of a beauty contest, a question of which solution would be most aesthetically pleasing to @nhofmeyr@sysmocom.de, @pespin@sysmocom.de and other senior developers whose opinion ranks higher than mine. Therefore, unless those with opposing views soften their stance, I cannot justify spending more of my scarce volunteer time on this issue.
File include/osmocom/mgcp/mgcp_rtp_end.h:
https://gerrit.osmocom.org/c/osmo-mgw/+/39869/comment/435bc440_72a4b6c2?usp… :
PS2, Line 40: bool hr_ts101318_detected;
> I would prefer better layer separation for these: […]
Multipart response, similar to the other comment where deep philosophical issues are involved:
* Your proposal puts TW-TS-002 "on equals" with TS 101 318 and RFC 5993 in the enum, suggesting that you envision somehow converting between TW-TS-002 and those other formats. Such conversion is not possible and shows a fundamental misunderstanding: TW-TS-002 is not just a different representation format for the same information content, instead there is additional information content with TW-TS-002 that simply does not exist with either of the two "standard" formats. Hence there is no possibility of conversion.
* The only correct way to handle TW-TS-002 is the way I handle it in my patch: treat it as a request from OsmoBSC that basically says "dear OsmoMGW, please stand down and disable all of your smart conversions, just pass the payload through and leave it alone".
* The rest of your enum proposal I simply don't understand, and as already explained, I am running into a limit of how much volunteer work I can put into this issue that is purely for the heck of it, with no practical use that I can see.
File src/libosmo-mgcp/mgcp_network.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/39869/comment/3a7150e2_dcc0c572?usp… :
PS2, Line 715: static int rfc5993_hr_convert(struct msgb *msg, struct mgcp_conn_rtp *dst)
> It is an artifact of how I developed this code in stages. […]
Update 7 months later: I'll spin an updated patch with these arguments swapped.
https://gerrit.osmocom.org/c/osmo-mgw/+/39869/comment/751287c5_c1ae1a13?usp… :
PS2, Line 1577: Th
> s/This internal function examines/Examine/
What language do you then propose for the "it is invoked when..." part?
https://gerrit.osmocom.org/c/osmo-mgw/+/39869/comment/255bde41_ba255622?usp… :
PS2, Line 1658: Autodetect
> s/between // ?
Removing "between" would make the imperative sentence ungrammatical.
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/39869?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6b446ad83c540fb8b7e1aae24b78c27010212d64
Gerrit-Change-Number: 39869
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Oct 2025 04:00:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>