This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
neels gerrit-no-reply at lists.osmocom.orgneels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25071 )
Change subject: GSUP_Emulation: allow moving HLR handling to another test component
......................................................................
GSUP_Emulation: allow moving HLR handling to another test component
Will be used by MSC_Tests.TC_call_re_establishment_auth in
I8110a6b432de734d53b111c7b69aabca12129691
where a call from one vc_conn gets re-established in another vc_conn.
Related: SYS#5130
Change-Id: I235492185cda68f9f8e845085e3f6efe76a13501
---
M library/GSUP_Emulation.ttcn
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/71/25071/1
diff --git a/library/GSUP_Emulation.ttcn b/library/GSUP_Emulation.ttcn
index 51c158a..8c60803 100644
--- a/library/GSUP_Emulation.ttcn
+++ b/library/GSUP_Emulation.ttcn
@@ -222,6 +222,12 @@
GSUP_PROC.reply(GSUPEM_register:{imsi, vc_hdlr}) to vc_hdlr;
}
+ [] GSUP_PROC.getcall(GSUPEM_imsi_steal:{?,?}) -> param(imsi, vc_hdlr) {
+ f_imsi_table_del(imsi);
+ f_imsi_table_add(vc_hdlr, imsi);
+ GSUP_PROC.reply(GSUPEM_imsi_steal:{imsi, vc_hdlr}) to vc_hdlr;
+ }
+
}
}
}
@@ -240,9 +246,10 @@
/* procedure based port to register for incoming calls */
signature GSUPEM_register(in charstring imsi, in GSUP_ConnHdlr hdlr);
+signature GSUPEM_imsi_steal(in charstring imsi, in GSUP_ConnHdlr hdlr);
type port GSUPEM_PROC_PT procedure {
- inout GSUPEM_register;
+ inout GSUPEM_register, GSUPEM_imsi_steal;
} with { extension "internal" };
/* CreateCallback that can be used as create_cb and will use the expectation table */
@@ -302,4 +309,10 @@
}
}
+function f_gsup_imsi_steal(charstring imsi) runs on GSUP_ConnHdlr {
+ GSUP_PROC.call(GSUPEM_imsi_steal:{imsi, self}) {
+ [] GSUP_PROC.getreply(GSUPEM_imsi_steal:{?,?}) {};
+ }
+}
+
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25071
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I235492185cda68f9f8e845085e3f6efe76a13501
Gerrit-Change-Number: 25071
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210727/cb4754d6/attachment.htm>