[PATCH] osmo-ttcn3-hacks[master]: MSC_Tests: Respond to BSSMAP rlease

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Mar 14 10:21:25 UTC 2018


Review at  https://gerrit.osmocom.org/7280

MSC_Tests: Respond to BSSMAP rlease

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 releas 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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/7280/1

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: newchange
Gerrit-Change-Id: Ifcf9ebd2cc5184524ecae735257ed12a0ca70f71
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list