bsc: Test assignment of non-AMR codec with Osmux enabled

Change-Id: I31ea10963bdf61b2e070ed6ac3257b872245f724
changes/19/29419/1
Pau Espin 3 months ago
parent 3998c03df3
commit cd6077f538
  1. 25
      bsc/BSC_Tests.ttcn

@ -5319,6 +5319,30 @@ testcase TC_assignment_osmux_bts() runs on test_CT {
f_shutdown_helper();
}
/* Test non-AMR codecs still work fine as RTP when Osmux is enabled BTS<->BSC<->MSC */
testcase TC_assignment_codec_hr_osmux_on() runs on test_CT {
var TestHdlrParams pars := f_gen_test_hdlr_pars();
var MSC_ConnHdlr vc_conn;
g_osmux_enabled_cn := true;
g_osmux_enabled_bts := true;
f_init(1, true);
f_sleep(1.0);
f_ctrs_bsc_and_bts_assignment_init(1);
pars.ass_codec_list := valueof(ts_BSSMAP_IE_CodecList({ts_CodecHR}));
vc_conn := f_start_handler(refers(f_TC_assignment_codec), pars);
vc_conn.done;
f_ctrs_bsc_and_bts_add(0, "assignment:attempted", 1);
f_ctrs_bts_add(0, "assignment:attempted_speech", 1);
f_ctrs_bsc_and_bts_add(0, "assignment:completed", 1);
f_ctrs_bts_add(0, "assignment:completed_speech", 1);
f_ctrs_bts_verify();
f_shutdown_helper();
}
/* Test Osmux setup BTS<->BSC<->MSC */
testcase TC_assignment_osmux() runs on test_CT {
var TestHdlrParams pars := f_gen_test_hdlr_pars();
@ -11920,6 +11944,7 @@ control {
execute( TC_assignment_sdcch_exhausted_req_signalling_tch_forbidden() );
execute( TC_assignment_sdcch_exhausted_req_voice_tch_forbidden() );
execute( TC_assignment_codec_hr_osmux_on() );
execute( TC_assignment_osmux() );
execute( TC_assignment_osmux_cn() );
execute( TC_assignment_osmux_bts() );

Loading…
Cancel
Save