Attention is currently required from: dexter.
laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/41713?usp=email )
Change subject: pysim/log: also accept ANSI strings to specify the log message colors
......................................................................
Patch Set 1:
(1 comment)
File pySim/log.py:
https://gerrit.osmocom.org/c/pysim/+/41713/comment/afb6c19b_18ec7206?usp=em… :
PS1, Line 111: if type(color) is str:
I think isinstance(color, str) would be the more appropriate, as the above only matches if it's *exactly* a str, while failing on str-derived subclasses. See https://switowski.com/blog/type-vs-isinstance/#difference-between-isinstanc…
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41713?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I93543e19649064043ae8323f82ecd8c423d1d921
Gerrit-Change-Number: 41713
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 18 Dec 2025 19:46:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: fixeria.
laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41697?usp=email )
Change subject: bts: properly set BTS_Tests.mp_trx_pars for hopping cfg
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41697?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib8861c3eee5157436fb213da212f22477639883f
Gerrit-Change-Number: 41697
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 18 Dec 2025 19:42:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: fixeria, laforge.
Hello Jenkins Builder, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/pysim/+/41712?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Verified-1 by Jenkins Builder
Change subject: pyshark_gsmtap: Adjust display filter for some wireshark versions
......................................................................
pyshark_gsmtap: Adjust display filter for some wireshark versions
On my debian unstable system with wireshark 4.6.2-3, the pyshark_gsmtap
APDU source misses to report any ATRs, as those are not part of what's
reported with the 'gsm_sim' display filter. This is due to
wireshark.git commit bcd82e2370d18e20983b378d494964d89c191cef first part
of the 4.6.0 release, which splits the ATR dissection into a separate
sub-dissector.
We cannot use the seemingly logical 'gsmtap.type == 4' instead, as old
wireshark simply bypasses any output for the gsmtap header if the SIM
sub-dissector is used.
Hence, 'gsm_sim || iso7816.atr' is something compatible with older and
newer wireshark versions.
Change-Id: I53c1c8ed58a82c37cd4be4af3890af21da839e86
---
M pySim/apdu_source/pyshark_gsmtap.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/12/41712/2
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41712?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I53c1c8ed58a82c37cd4be4af3890af21da839e86
Gerrit-Change-Number: 41712
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41723?usp=email )
Change subject: RAN_Emulation: Support Tx RESET retries in RANAP
......................................................................
Patch Set 1:
(2 comments)
File library/RAN_Emulation.ttcnpp:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41723/comment/9ef55c19_72a9… :
PS1, Line 821: [] as_reset_ack();
```suggestion
[] as_reset_ack() { repeat; }
```
Otherwise we are not rescheduling the timer properly.
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41723/comment/a35902e2_8f22… :
PS1, Line 829: BSSMAP
It should still be `RANAP`, right?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41723?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I84553ae7aee19efa007bae060d7f7ca218a5f306
Gerrit-Change-Number: 41723
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 18 Dec 2025 19:24:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
falconia has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email )
Change subject: E1: add support for compressed CSD (TW-TS-007)
......................................................................
E1: add support for compressed CSD (TW-TS-007)
Using TW-TS-007 format for CSD instead of CLEARMODE across AoIP
interface drastically reduces IP bandwidth usage, making CSD equal to
speech calls. If the CN requests use of this compressed RTP format
for CSD and the MGW supports it (currently the case with tw-e1abis-mgw
for E1 BTS), then enable it on AoIP side.
Depends: I74c9e76ebcce32ad20501134ec5089794acb4f62 (libosmocore.git)
Change-Id: I5d98309cfc5d443278479252846c66a7da8b4ce4
---
M TODO-RELEASE
M src/osmo-bsc/assignment_fsm.c
M src/osmo-bsc/lchan_rtp_fsm.c
3 files changed, 20 insertions(+), 3 deletions(-)
Approvals:
pespin: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/TODO-RELEASE b/TODO-RELEASE
index 1d65ba1..fa4fe07 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -8,3 +8,4 @@
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
libosmo-mgcp-client >1.15.0 new API of fmtp in struct ptmap
+libosmogsm >1.12.0 OSMO_AOIP_RTP_PT_TWTS007 in gsm_48_103.h
diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index c5363b8..f0a2781 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -568,6 +568,9 @@
if ((requested_ext & OSMO_RTP_EXT_TWTS006) && is_e1_bts(bts))
accepted_ext |= OSMO_RTP_EXT_TWTS006;
+ if ((requested_ext & OSMO_RTP_EXT_TWTS007) && is_e1_bts(bts))
+ accepted_ext |= OSMO_RTP_EXT_TWTS007;
+
conn->user_plane.rtp_extensions = accepted_ext;
}
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 7d80a73..4d0217b 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -947,6 +947,7 @@
{
enum mgcp_codecs codec = chan_mode_to_mgcp_codec(lchan->activate.ch_mode_rate.chan_mode,
lchan->type == GSM_LCHAN_TCH_H? false : true);
+ uint8_t rtp_ext = lchan->conn->user_plane.rtp_extensions;
int pt, amr_oa;
if (codec < 0) {
@@ -993,7 +994,7 @@
* OsmoBTS in the future, it will strictly require no-alteration
* pass-through from the BSC-associated MGW. Therefore,
* indicate this format on both sides when it is enabled. */
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS006) {
+ if (rtp_ext & OSMO_RTP_EXT_TWTS006) {
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp,
"octet-align=1;tw-ts-006=1");
break;
@@ -1009,13 +1010,25 @@
break;
case CODEC_GSM_8000_1:
case CODEC_GSMEFR_8000_1:
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS001)
+ if (rtp_ext & OSMO_RTP_EXT_TWTS001)
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp, "tw-ts-001=1");
break;
case CODEC_GSMHR_8000_1:
- if (lchan->conn->user_plane.rtp_extensions & OSMO_RTP_EXT_TWTS002)
+ if (rtp_ext & OSMO_RTP_EXT_TWTS002)
OSMO_STRLCPY_ARRAY(verb_info->ptmap[0].fmtp, "tw-ts-002=1");
break;
+ case CODEC_CLEARMODE:
+ /* There are no fmtp parameters for CSData - however, if
+ * TW-TS-007 compressed CSD format was requested by the CN,
+ * then we need to tell our MGW to use this format. But only
+ * on AoIP side - the representation of CSD toward IP-based BTS
+ * remains CLEARMODE until and unless we decide to implement
+ * TW-TS-007 compressed CSD format in OsmoBTS. */
+ if ((rtp_ext & OSMO_RTP_EXT_TWTS007) && !bss_side) {
+ verb_info->ptmap[0].codec = CODEC_COMPR_CSD;
+ verb_info->ptmap[0].pt = OSMO_AOIP_RTP_PT_TWTS007;
+ }
+ break;
default:
break;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/41647?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I5d98309cfc5d443278479252846c66a7da8b4ce4
Gerrit-Change-Number: 41647
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>