From 21ea2396a586c86ee957911d8b2c4471aca30c66 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 17 Jan 2018 15:22:32 +0100 Subject: [PATCH] bsc: Register expect criteria for MGCP CRCX Change-Id: I04afa663f4397d5d9b8dec06671aec84f4c4f80e --- bsc/MSC_ConnectionHandler.ttcn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn index 3dbb782b6..e1fd35a05 100644 --- a/bsc/MSC_ConnectionHandler.ttcn +++ b/bsc/MSC_ConnectionHandler.ttcn @@ -158,11 +158,17 @@ runs on MSC_ConnHdlr return PDU_BSSAP { 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 */