From 55511aae4a80a743de7b34d296cf95e49ecd01b9 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 29 Jan 2020 14:25:41 +0100 Subject: hlr: add emulated GSUP server (second HLR) Prepare for upcoming D-GSM test, which needs to emulate a GSUP server. Related: OS#4380 Change-Id: Idbfe8a145c90a524145089a06d9bbefac4d7edd8 --- library/GSUP_Emulation.ttcn | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'library') diff --git a/library/GSUP_Emulation.ttcn b/library/GSUP_Emulation.ttcn index 5695534a..4a033597 100644 --- a/library/GSUP_Emulation.ttcn +++ b/library/GSUP_Emulation.ttcn @@ -295,4 +295,11 @@ function f_create_gsup_expect(charstring imsi) runs on GSUP_ConnHdlr { } } +/* Same as f_create_gsup_expect, but with explicit addressing. Needed when connecting multiple ports to GSUP_PROC. */ +function f_create_gsup_expect_explicit(charstring imsi, GSUP_Emulation_CT ct) runs on GSUP_ConnHdlr { + GSUP_PROC.call(GSUPEM_register:{imsi, self}) to ct { + [] GSUP_PROC.getreply(GSUPEM_register:{?,?}) {}; + } +} + } -- cgit v1.2.3