[PATCH] osmo-ttcn3-hacks[master]: bsc: Register expect criteria for MGCP CRCX

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jan 29 21:07:14 UTC 2018


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

bsc: Register expect criteria for MGCP CRCX

Change-Id: I04afa663f4397d5d9b8dec06671aec84f4c4f80e
---
M bsc/MSC_ConnectionHandler.ttcn
1 file changed, 6 insertions(+), 0 deletions(-)


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

diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn
index 3dbb782..e1fd35a 100644
--- a/bsc/MSC_ConnectionHandler.ttcn
+++ b/bsc/MSC_ConnectionHandler.ttcn
@@ -158,11 +158,17 @@
 	var boolean exp_compl := ischosen(exp_ass_cpl.pdu.bssmap.assignmentComplete);
 	var boolean crcx_seen := false;
 	var boolean rr_modify_seen := false;
+	var ExpectCriteria mgcpcrit := {
+		connid := omit,
+		endpoint := omit,
+		transid := omit
+	};
 
 	f_create_chan_and_exp(pars);
 	/* we should now have a COMPL_L3 at the MSC */
 
 	BSSAP.receive(tr_BSSMAP_ComplL3);
+	f_create_mgcp_expect(mgcpcrit);
 	BSSAP.send(ass_cmd);
 	alt {
 	/* if we receive exactly what we expected, always return + pass */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I04afa663f4397d5d9b8dec06671aec84f4c4f80e
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>



More information about the gerrit-log mailing list