aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-09-13 04:32:14 +0200
committerlaforge <laforge@osmocom.org>2023-09-24 17:47:43 +0000
commita0d015bacd0ba0479192893196b9055be4185306 (patch)
tree56658e38269df0dc2420c0d62a2cb34ae89d6e41
parent2e3a0e2b7017e5075746ee6500f4dc4ecce45012 (diff)
sip: make mncc_with_sdp := true the default
A preceding patch has added mncc_with_sdp, defaulting to false. So far just two new tests use mncc_with_sdp := true, but operation without SDP is now merely the legacy compatibility mode, and I would rather nudge new tests towards mncc_with_sdp := true. So switch the default to mncc_with_sdp := true. Change-Id: Ic9871917c57a9ab81b2fff0af7f569b09015910c
-rw-r--r--sip/SIP_Tests.ttcn16
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/SIP_Tests.ttcn b/sip/SIP_Tests.ttcn
index 1904c6a7..208cc010 100644
--- a/sip/SIP_Tests.ttcn
+++ b/sip/SIP_Tests.ttcn
@@ -82,7 +82,7 @@ type record CallParsComputed {
integer sip_seq_nr
}
-private template (value) CallPars t_CallPars(boolean is_mo, boolean mncc_with_sdp := false) := {
+private template (value) CallPars t_CallPars(boolean is_mo, boolean mncc_with_sdp := true) := {
is_mo := is_mo,
calling := "12345",
called := "98766",
@@ -543,7 +543,7 @@ testcase TC_mt_success_rel_gsm() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(false));
+ pars.g_cp := valueof(t_CallPars(false, false));
vc_conn := f_start_handler(refers(f_TC_mt_success_rel_gsm), pars);
vc_conn.done;
}
@@ -552,7 +552,7 @@ testcase TC_mt_success_rel_gsm_ipv6() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(false));
+ pars.g_cp := valueof(t_CallPars(false, false));
pars.g_cp.sip_rtp_addr := "::1";
pars.g_cp.cn_rtp_addr := "::2";
vc_conn := f_start_handler(refers(f_TC_mt_success_rel_gsm), pars);
@@ -580,7 +580,7 @@ testcase TC_mt_success_rel_sip() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(false));
+ pars.g_cp := valueof(t_CallPars(false, false));
vc_conn := f_start_handler(refers(f_TC_mt_success_rel_sip), pars);
vc_conn.done;
}
@@ -607,7 +607,7 @@ testcase TC_mo_success_rel_gsm() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(true));
+ pars.g_cp := valueof(t_CallPars(true, false));
vc_conn := f_start_handler(refers(f_TC_mo_success_rel_gsm), pars);
vc_conn.done;
}
@@ -616,7 +616,7 @@ testcase TC_mo_success_rel_gsm_ipv6() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(true));
+ pars.g_cp := valueof(t_CallPars(true, false));
pars.g_cp.sip_rtp_addr := "::1";
pars.g_cp.cn_rtp_addr := "::2";
vc_conn := f_start_handler(refers(f_TC_mo_success_rel_gsm), pars);
@@ -644,7 +644,7 @@ testcase TC_mo_success_rel_sip() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(is_mo := true));
+ pars.g_cp := valueof(t_CallPars(is_mo := true, mncc_with_sdp := false));
vc_conn := f_start_handler(refers(f_TC_mo_success_rel_sip), pars);
vc_conn.done;
}
@@ -699,7 +699,7 @@ testcase TC_mo_setup_disc_late_rtp() runs on test_CT {
var ConnHdlr vc_conn;
f_init();
pars := valueof(t_Pars);
- pars.g_cp := valueof(t_CallPars(is_mo := true));
+ pars.g_cp := valueof(t_CallPars(is_mo := true, mncc_with_sdp := false));
vc_conn := f_start_handler(refers(f_TC_mo_setup_disc_late_rtp), pars);
vc_conn.done;
}