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
This commit is contained in:
Neels Hofmeyr 2023-09-13 04:32:14 +02:00 committed by laforge
parent 2e3a0e2b70
commit a0d015bacd
1 changed files with 8 additions and 8 deletions

View File

@ -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;
}