Harald Welte has submitted this change and it was merged.

Change subject: MSC_Tests: Respond to BSSMAP release
......................................................................


MSC_Tests: Respond to BSSMAP release

The testcase TC_mo_crcx_ran_timeout does not respond to the BSSMAP
relase request that is sent when the MGW times out.

- Acknowledge the release request before waiting for the MSC
  to clear the SSCP connection

Change-Id: Ifcf9ebd2cc5184524ecae735257ed12a0ca70f71
Related OS#2881
Related OS#2882
---
M msc/MSC_Tests.ttcn
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index cecee69..159538c 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1161,6 +1161,11 @@
        cpars.mgcp_ep := mgcp_cmd.line.ep;
        /* never respond to this */
 
+       /* When the connection with the MGW fails, the MSC will first request
+        * a release via call control. We will answer this request normally. */
+       
BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_CC_RELEASE(cpars.transaction_id)));
+       
BSSAP.send(ts_PDU_DTAP_MO(ts_ML3_MO_CC_REL_COMPL(cpars.transaction_id)));
+
        f_expect_clear(30.0);
 }
 testcase TC_mo_crcx_ran_timeout() runs on MTC_CT {

-- 
To view, visit https://gerrit.osmocom.org/7280
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifcf9ebd2cc5184524ecae735257ed12a0ca70f71
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder

Reply via email to