bsc: Register expect criteria for MGCP CRCX

Change-Id: I04afa663f4397d5d9b8dec06671aec84f4c4f80e
This commit is contained in:
Daniel Willmann 2018-01-17 15:22:32 +01:00 committed by Harald Welte
parent 191e0d9260
commit 21ea2396a5
1 changed files with 6 additions and 0 deletions

View File

@ -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 */