Attention is currently required from: laforge.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?usp=email )
Change subject: mtp: Support MTP-TRANSFER.req/ind of raw IPA messages
......................................................................
Patch Set 6:
(1 comment)
File include/osmocom/sigtran/protocol/mtp.h:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410/comment/cae8f2f5_5e4d9… :
PS5, Line 30: *
> Note we could also decide to set up a different SI for each IPA protocol we handle, similar to the e […]
See how osmo-bsc (SCCPlite) uses it here:
https://gerrit.osmocom.org/c/osmo-bsc/+/41400
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?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: I9fedb26ccd3434fc7f272feb3c45cf4bdb80c7ae
Gerrit-Change-Number: 41410
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 14 Nov 2025 18:48:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: daniel, fixeria, laforge, osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bsc/+/41400?usp=email )
Change subject: sccplite: Handle MGCP/CTRL over SCCPLite multiplex using MTP-TRANSFER.req/ind
......................................................................
Patch Set 4:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/41400?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I567ed206eab1add21836bfd937f3790d3d7a00d7
Gerrit-Change-Number: 41400
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 14 Nov 2025 18:47:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Attention is currently required from: laforge.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?usp=email )
Change subject: mtp: Support MTP-TRANSFER.req/ind of raw IPA messages
......................................................................
Patch Set 6:
(1 comment)
File include/osmocom/sigtran/protocol/mtp.h:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410/comment/3bd29a43_506dc… :
PS5, Line 30: *
> See newest version of this patch with updated commit description. […]
Note we could also decide to set up a different SI for each IPA protocol we handle, similar to the existing SCCP one, for instance one SI for MGCP, one SI for CTRL, etc. but in the end it's more work to maintain, so having 1 for RAW IPA messages sounds better.
Ideally the SI/NI specification would be easier to extend, but this is what we got...
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?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: I9fedb26ccd3434fc7f272feb3c45cf4bdb80c7ae
Gerrit-Change-Number: 41410
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 14 Nov 2025 18:40:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: laforge.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?usp=email )
Change subject: mtp: Support MTP-TRANSFER.req/ind of raw IPA messages
......................................................................
Patch Set 6:
(1 comment)
File include/osmocom/sigtran/protocol/mtp.h:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410/comment/f0fc855c_cce32… :
PS5, Line 30: *
> does this mean we can no longer use libosmo-sigtran in national networks that use ni11 in routed MTP […]
See newest version of this patch with updated commit description.
Regarding your question, several pointers:
* This only really adds specific logic and is relevant for IPA ASPs, meaning for other kind of ASPs there's no behavior change here, and this SI can mean nothing there if we want to.
* Since this is only used for IPA ASPs, this means that this SI is never really forwarded over the wire since IPA ASP doesn't forward any kind of SI information. Hence, this is only relevant in the local libosmo-sigtran stack for the user to be able to manage such traffic.
Then, we can differentiate between 2 scenarios:
* endpoint (ASP, local distribution): Only picked/handled if the MTP user (app) registers a ss7_user for that SI. The SI value 2 (reserved) is picked on purpose to avoid colliding with other existing protocols (over IPA, which is anyway not standarized...).
* STP (SG, routing): With the provided patch we actually improve the situation by allowing routing IPA messages (other than SCCP); before this patch they could only be picked through the dirty ss7_rx_nknown_cb() by the app, and otherwise they were always discarded. Now non-SCCP IPA messages are routed based on MTP, which I'd say is the expected behavior.
Ideally, somebody using SCCPLite would configure the NI with "Reserved for national use", since in the end it's using other SIs (MGCP, CTRL) which are not specified in the International network. In practice it doesn't matter since we are using IPA in those scenarios, where the SI is never sent over the network...In the end, this becomes another IPA particularity imho.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?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: I9fedb26ccd3434fc7f272feb3c45cf4bdb80c7ae
Gerrit-Change-Number: 41410
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 14 Nov 2025 18:37:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Attention is currently required from: laforge.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?usp=email )
Change subject: mtp: Support MTP-TRANSFER.req/ind of raw IPA messages
......................................................................
Patch Set 6:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41410?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: I9fedb26ccd3434fc7f272feb3c45cf4bdb80c7ae
Gerrit-Change-Number: 41410
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Fri, 14 Nov 2025 18:24:22 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Attention is currently required from: pespin.
Hello Jenkins Builder, laforge, osmith,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41429?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
The change is no longer submittable: Verified is unsatisfied now.
Change subject: mtp: Introduce osmo_ss7_user_find_by_si() public API
......................................................................
mtp: Introduce osmo_ss7_user_find_by_si() public API
This is needed by mtp_sap/ss7_user API users to figure out whether
there's a user set up already for a given Service Indicator.
Change-Id: I7db659dc443148f3aab70d2c6229c2271346cf38
---
M TODO-RELEASE
M include/osmocom/sigtran/osmo_ss7.h
M src/ss7_hmrt.c
M src/ss7_user.c
M src/ss7_user.h
M src/xua_snm.c
6 files changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/29/41429/3
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41429?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: I7db659dc443148f3aab70d2c6229c2271346cf38
Gerrit-Change-Number: 41429
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41432?usp=email )
Change subject: ipa: Adapt handling logic of rx msg from osmo_ipa_segmentation_cb()
......................................................................
ipa: Adapt handling logic of rx msg from osmo_ipa_segmentation_cb()
We migrated to using osmo_io+osmo_stream with
osmo_ipa_segmentation_cb(), which takes care of pulling the multiple IPA
headers and stores them in osmo_ipa_msgb_cb_proto(_ext)().
When doing the change, we forgot to update the rx path in ipa.c to
account for those changes. Do it now to simplify the code and clarify
that l1h was actually pulled from ->data.
Change-Id: I4e26bf471de9a258dc2f862488253f31aa95a013
---
M src/ipa.c
1 file changed, 7 insertions(+), 11 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/32/41432/1
diff --git a/src/ipa.c b/src/ipa.c
index c748f22..4c197ff 100644
--- a/src/ipa.c
+++ b/src/ipa.c
@@ -246,9 +246,6 @@
OSMO_ASSERT(sls <= 0xf);
rate_ctr_inc2(as->ctrg, SS7_AS_CTR_RX_MSU_SLS_0 + sls);
- /* pull the IPA header */
- msgb_pull_to_l2(msg);
-
/* We have received an IPA-encapsulated SCCP message, without
* any MTP routing label. Furthermore, the SCCP Called/Calling
* Party are SSN-only, with no GT or PC. This means we have no
@@ -311,10 +308,10 @@
LOGPASP(asp, DLSS7, LOGL_ERROR, "Unable to patch PC into SCCP message; dropping\n");
return -1;
}
- xua = m3ua_xfer_from_data(&data_hdr, msgb_l2(msg_patched), msgb_l2len(msg_patched));
+ xua = m3ua_xfer_from_data(&data_hdr, msgb_data(msg_patched), msgb_length(msg_patched));
msgb_free(msg_patched);
} else {
- xua = m3ua_xfer_from_data(&data_hdr, msgb_l2(msg), msgb_l2len(msg));
+ xua = m3ua_xfer_from_data(&data_hdr, msgb_data(msg), msgb_length(msg));
}
/* Update xua->mtp with values from data_hdr */
@@ -333,16 +330,15 @@
* \returns 0 on success; negative on error */
int ipa_rx_msg(struct osmo_ss7_asp *asp, struct msgb *msg, uint8_t sls)
{
- struct ipaccess_head *hh;
int rc;
OSMO_ASSERT(asp->cfg.proto == OSMO_SS7_ASP_PROT_IPA);
- /* osmo_ipa_process_msg() will already have verified length
- * consistency and set up l2h pointer */
- hh = (struct ipaccess_head *) msg->l1h;
+ /* Here IPA headers have already been validated and were stored in
+ * osmo_ipa_msgb_cb_proto(_ext)(), and msgb_data() and msgb_l2() both
+ * point to IPA payload. */
- switch (hh->proto) {
+ switch (osmo_ipa_msgb_cb_proto(msg)) {
case IPAC_PROTO_IPACCESS:
rc = ipa_rx_msg_ccm(asp, msg);
break;
@@ -350,7 +346,7 @@
rc = ipa_rx_msg_sccp(asp, msg, sls);
break;
default:
- rc = ss7_asp_rx_unknown(asp, hh->proto, msg);
+ rc = ss7_asp_rx_unknown(asp, osmo_ipa_msgb_cb_proto(msg), msg);
}
return rc;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41432?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I4e26bf471de9a258dc2f862488253f31aa95a013
Gerrit-Change-Number: 41432
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>