|
|
|
@ -248,6 +248,7 @@ testcase TC_it_avoids_tiar() runs on SCCP_Test_RAW_CT {
|
|
|
|
|
var SCCP_PAR_Address calling, called;
|
|
|
|
|
var OCT3 remote_lref;
|
|
|
|
|
var boolean it_received := false;
|
|
|
|
|
var SCCP_MTP3_TRANSFERind rx;
|
|
|
|
|
|
|
|
|
|
g_demo_sccp_timer_ias := 1;
|
|
|
|
|
g_demo_sccp_timer_iar := 3;
|
|
|
|
@ -273,6 +274,10 @@ testcase TC_it_avoids_tiar() runs on SCCP_Test_RAW_CT {
|
|
|
|
|
setverdict(fail, "Unexpected SCCP RLSD received");
|
|
|
|
|
self.stop;
|
|
|
|
|
}
|
|
|
|
|
[] MTP3.receive(tr_SCCP_MTP3_TRANSFERind(*)) -> value rx {
|
|
|
|
|
setverdict(fail, "Unexpected MTP/SCCP TRANSFERind received: ", rx);
|
|
|
|
|
self.stop;
|
|
|
|
|
}
|
|
|
|
|
[] MTP3.receive {
|
|
|
|
|
setverdict(fail, "Unexpected MTP/SCCP received");
|
|
|
|
|
self.stop;
|
|
|
|
@ -341,6 +346,7 @@ function f_scmg_xceive(SCCP_PAR_Address calling, SCCP_PAR_Address called,
|
|
|
|
|
boolean accept_other_called_resp := false) runs on SCCP_Test_RAW_CT
|
|
|
|
|
{
|
|
|
|
|
var boolean exp_something := true;
|
|
|
|
|
var SCCP_MTP3_TRANSFERind rx;
|
|
|
|
|
timer T := 5.0;
|
|
|
|
|
|
|
|
|
|
if (istemplatekind(rx_exp, "omit")) {
|
|
|
|
@ -357,8 +363,11 @@ function f_scmg_xceive(SCCP_PAR_Address calling, SCCP_PAR_Address called,
|
|
|
|
|
[exp_something and accept_other_called_resp] MTP3.receive(tr_SCCP_MTP3_TRANSFERind(tr_SCCP_UDT(called, ?, decmatch rx_exp))) {
|
|
|
|
|
setverdict(pass);
|
|
|
|
|
}
|
|
|
|
|
[] MTP3.receive(tr_SCCP_MTP3_TRANSFERind(tr_SCCP_UDT(called, calling, ?))) {
|
|
|
|
|
setverdict(fail, "Received unexpected SCCP waiting for ", rx_exp);
|
|
|
|
|
[] MTP3.receive(tr_SCCP_MTP3_TRANSFERind(tr_SCCP_UDT(called, calling, ?))) -> value rx {
|
|
|
|
|
setverdict(fail, "Received unexpected SCCP/MTP3 TRANSFERind (specific): ", rx, " but waiting for (specific) ", rx_exp);
|
|
|
|
|
}
|
|
|
|
|
[] MTP3.receive(tr_SCCP_MTP3_TRANSFERind(*)) -> value rx {
|
|
|
|
|
setverdict(fail, "Received unexpected SCCP/MTP3 TRANSFERind (*): ", rx, " but waiting for ", rx_exp);
|
|
|
|
|
}
|
|
|
|
|
[] MTP3.receive {
|
|
|
|
|
setverdict(fail, "Received unexpected waiting for ", rx_exp);
|
|
|
|
|