bsc-sccplite: fix TC_ho_in_fail_mgw_mdcx_timeout

Make the test pass with sccplite too.

Related: OS#5787
Fixes: 7a8594a8 ("bsc: TC_ho_in_fail_mgw_mdcx_timeout: new test")
Change-Id: If09c0ab5f668aefe262905bbd4f8c676f3b05fd3
This commit is contained in:
Oliver Smith 2023-03-06 12:31:53 +01:00
parent 99b7d40e7b
commit 30eb882b84
1 changed files with 9 additions and 4 deletions

View File

@ -6374,11 +6374,16 @@ private function f_ho_into_this_bsc(charstring id, template (omit) BSSMAP_oldToN
/* When we let MGCP MDCX run into a timeout, it's still in the
* queue and additionally after BSSAP HandoverFailure, two DLCX
* get sent. */
* get sent (for AoIP, for SCCPlite one DLCX). */
if (g_pars.ignore_mgw_mdcx) {
MGCP.receive(tr_MDCX);
MGCP.receive(tr_DLCX);
MGCP.receive(tr_DLCX);
if (g_pars.aoip) {
MGCP.receive(tr_MDCX);
MGCP.receive(tr_DLCX);
MGCP.receive(tr_DLCX);
} else {
MGCP_MULTI.receive(tr_MGCP_RecvFrom_any({command := tr_MDCX}));
MGCP_MULTI.receive(tr_MGCP_RecvFrom_any({command := tr_DLCX}));
}
}
return;
}