fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/40877?usp=email )
Change subject: silent_call: check if subscriber has a connection
......................................................................
silent_call: check if subscriber has a connection
It makes no sense to initiate a silent call if subscriber already
has an active connection (e.g. when a normal call is ongoing).
Change-Id: I52b3be26c61cadacc4783b5c324809ecd6906b36
---
M src/libmsc/msc_vty.c
M src/libmsc/silent_call.c
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/77/40877/1
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 41cb0d4..07791f1 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -1596,6 +1596,9 @@
case -ENODEV:
vty_out(vty, "%% Subscriber not attached%s", VTY_NEWLINE);
break;
+ case -EBUSY:
+ vty_out(vty, "%% Subscriber has an active connection%s", VTY_NEWLINE);
+ break;
default:
if (rc)
vty_out(vty, "%% Cannot start silent call (rc=%d)%s", rc, VTY_NEWLINE);
diff --git a/src/libmsc/silent_call.c b/src/libmsc/silent_call.c
index 9c0d2b6..327ed7f 100644
--- a/src/libmsc/silent_call.c
+++ b/src/libmsc/silent_call.c
@@ -142,6 +142,9 @@
struct gsm_network *net = vsub->vlr->user_ctx;
struct gsm_trans *trans;
+ if (msc_a_for_vsub(vsub, true) != NULL)
+ return -EBUSY;
+
trans = trans_alloc(net, vsub, TRANS_SILENT_CALL, 0, 0);
if (trans == NULL)
return -ENODEV;
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/40877?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I52b3be26c61cadacc4783b5c324809ecd6906b36
Gerrit-Change-Number: 40877
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: daniel, laforge.
Hello Jenkins Builder, daniel, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-iuh/+/40847?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed:
Code-Review+1 by daniel, Code-Review-1 by laforge, Verified+1 by Jenkins Builder
Change subject: Drop iu_client - adopted by osmo-sgsn
......................................................................
Drop iu_client - adopted by osmo-sgsn
The only remaining use of iu_client is osmo-sgsn.
iu_client was originally meant to be used by osmo-msc
and osmo-sgsn. But the abstraction didn't hold up and
osmo-msc stopped using iu_client for a long time.
Move iu_client to osmo-sgsn until it got replaced by a more
direct implementation (similar to IUCS in osmo-msc).
Related: OS#5487
Change-Id: I95a5aeccc314ffdeaa04cc93f4e5947f715dd5de
---
M TODO-RELEASE
M include/osmocom/ranap/iu_client.h
M src/Makefile.am
D src/iu_client.c
4 files changed, 4 insertions(+), 1,372 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/47/40847/7
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/40847?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I95a5aeccc314ffdeaa04cc93f4e5947f715dd5de
Gerrit-Change-Number: 40847
Gerrit-PatchSet: 7
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Attention is currently required from: daniel.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-iuh/+/40848?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: iu_client: fix linter issues
......................................................................
iu_client: fix linter issues
Before removing the iu_client. Fix linter issues to make jenkins
more happy.
Related: OS#5487
Change-Id: Ia8b3405701ed62eac39b9510d34da4ba1987146c
---
M include/osmocom/ranap/iu_client.h
M src/iu_client.c
2 files changed, 13 insertions(+), 13 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/48/40848/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/40848?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Ia8b3405701ed62eac39b9510d34da4ba1987146c
Gerrit-Change-Number: 40848
Gerrit-PatchSet: 4
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Attention is currently required from: daniel, laforge.
lynxis lazus has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-iuh/+/40847?usp=email )
Change subject: Drop iu_client - adopted by osmo-sgsn
......................................................................
Patch Set 6:
(1 comment)
Patchset:
PS6:
> this would make older osmo-sgsn fail to build against modern osmo-iuh versions, right?
Yes, that's right. That's the intention.
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/40847?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I95a5aeccc314ffdeaa04cc93f4e5947f715dd5de
Gerrit-Change-Number: 40847
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Aug 2025 13:31:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>