msc: TC_lu_and_mt/mo_csd: reduce call open time
Related: OS#4394
Change-Id: Ie733028f7953d5d9fa1907efdb19485dee93ece9
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index 9a21b5d..64e2aff 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -1837,12 +1837,12 @@
deactivate(dlcx);
}
-function f_mt_call(inout CallParameters cpars)
+function f_mt_call(inout CallParameters cpars, float open_time := 5.0)
runs on BSC_ConnHdlr {
f_mt_call_establish(cpars);
- f_call_keep_open(cpars);
+ f_call_keep_open(cpars, open_time);
log("Hangup");
f_call_hangup(cpars, true);
@@ -1853,12 +1853,12 @@
setverdict(pass);
}
-function f_mo_call(inout CallParameters cpars)
+function f_mo_call(inout CallParameters cpars, float open_time := 5.0)
runs on BSC_ConnHdlr {
f_mo_call_establish(cpars);
- f_call_keep_open(cpars);
+ f_call_keep_open(cpars, open_time);
log("Hangup");
f_call_hangup(cpars, false);
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 81819ff..75b7688 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -7203,7 +7203,7 @@
cpars.bearer_cap.octet6.userRate := int2bit(enum2int(user_rate), 4);
f_perform_lu();
- f_mo_call(cpars);
+ f_mo_call(cpars, 0.5);
}
friend function f_tc_lu_and_mo_csd(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr {
@@ -7250,7 +7250,7 @@
cpars.mncc_bearer_cap.data.user_rate := user_rate;
f_perform_lu();
- f_mt_call(cpars);
+ f_mt_call(cpars, 0.5);
}
friend function f_tc_lu_and_mt_csd(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr {
f_init_handler(pars);