From d0756b152b64f746a52e6a681946fca744aaed40 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 28 Sep 2018 02:41:39 +0200 Subject: GSUP client: send CN domain IE on LU request Give the HLR a chance to send us updated subscriber data by indicating the CN domain to be Circuit Switched, only during a LU Request GSUP message. Adjust msc_vlr_tests to expect the added GSUP CN domain IE to indicate CS, i.e. append '280102'. Related: OS#3601 Change-Id: I0c2d33fbfdb4728e480679120d06b7f3a2ccfd76 --- tests/msc_vlr/msc_vlr_test_rest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/msc_vlr/msc_vlr_test_rest.c') diff --git a/tests/msc_vlr/msc_vlr_test_rest.c b/tests/msc_vlr/msc_vlr_test_rest.c index aef1df50c..247e7ae1d 100644 --- a/tests/msc_vlr/msc_vlr_test_rest.c +++ b/tests/msc_vlr/msc_vlr_test_rest.c @@ -85,7 +85,7 @@ static void test_two_lu() btw("Location Update request causes a GSUP LU request to HLR"); lu_result_sent = RES_NONE; - gsup_expect_tx("04010809710000004026f0"); + gsup_expect_tx("04010809710000004026f0280102"); ms_sends_msg("050802008168000130089910070000006402"); OSMO_ASSERT(gsup_tx_confirmed); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); @@ -116,7 +116,7 @@ static void test_two_lu() BTW("verify that the MS can send another LU request"); btw("Location Update request causes a GSUP LU request to HLR"); lu_result_sent = RES_NONE; - gsup_expect_tx("04010809710000004026f0"); + gsup_expect_tx("04010809710000004026f0280102"); ms_sends_msg("050802008168000130089910070000006402"); OSMO_ASSERT(gsup_tx_confirmed); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); @@ -168,7 +168,7 @@ static void test_lu_unknown_tmsi() thwart_rx_non_initial_requests(); btw("MS tells us the IMSI, causes a GSUP LU request to HLR"); - gsup_expect_tx("04010809710000004026f0"); + gsup_expect_tx("04010809710000004026f0280102"); ms_sends_msg("0559089910070000006402"); OSMO_ASSERT(gsup_tx_confirmed); VERBOSE_ASSERT(lu_result_sent, == RES_NONE, "%d"); -- cgit v1.2.3