aboutsummaryrefslogtreecommitdiffstats
path: root/tests/handover
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-08-02 01:41:55 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-03-04 00:32:05 +0100
commitc0edf652e7545242b843d45217f785cd8ed67515 (patch)
treee649e8605b319244d27c1484eb538c45d9b7dfd9 /tests/handover
parent727dd6827167c9c792f770ec6ffee53f3f6816a7 (diff)
fix gscon clear 3/n: separate state for SCCP RLSD
Properly implement the separate conn release stages in separate FSM states: x) sent Clear Request, wait for a Clear Command from the MSC. Timeout after a configurable 60s. y) after a Clear Command and sending a Clear Complete, wait for the SCCP RLSD. Timeout after a configurable 60s. z) terminate after the RLSD is received / after timeout. handover_test.c needs a little tweak to make the MGCP release work with its fake MGCP client, because cleanup now ensures to invoke gscon_forget_mgw_endpoint() in all cases. Related: I680ec4ed866aa5f0b1ff29e7e98322615cfb288d (osmo-ttcn3-hacks) Related: OS#5337 Change-Id: Ie975117d37f38ba853589dc7f8d3e94f8f9586b2
Diffstat (limited to 'tests/handover')
-rw-r--r--tests/handover/handover_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index 17bc048be..dd2f16aea 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1710,3 +1710,7 @@ const struct mgcp_conn_peer *osmo_mgcpc_ep_ci_get_rtp_info(const struct osmo_mgc
};
return &ret;
}
+struct mgcp_client *osmo_mgcpc_ep_client(const struct osmo_mgcpc_ep *ep)
+{
+ return NULL;
+}