diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-01-29 14:25:41 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-01-29 15:24:07 +0100 |
commit | 55511aae4a80a743de7b34d296cf95e49ecd01b9 (patch) | |
tree | bc35aaae556474156327bf256917ca3366819e11 /library | |
parent | ed1b5f6ad5b6f8b9d601586490bec28fa844eaf2 (diff) |
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
Diffstat (limited to 'library')
-rw-r--r-- | library/GSUP_Emulation.ttcn | 7 |
1 files changed, 7 insertions, 0 deletions
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:{?,?}) {}; + } +} + } |