Commit Graph

17 Commits

Author SHA1 Message Date
Harald Welte 6ed6bf9773 MSC_Tests: Use enum instead of magic numbers for CM_SERVICE_TYPE
Change-Id: Ic90b4a0aa47821877a2d3566606b9c9dd5919968
2018-01-24 23:05:32 +01:00
Harald Welte 81b7f9d802 msc: Fix generation of IMSI/IMEI/MSISDN
Now each test case uses unique IMSI/IMEI/MSISDN numbers, which helps
to identify test cases from traces or from VTY introspection

Change-Id: I54d05e8ec7aeecc48666d3b369351212a6a0ea6f
2018-01-24 22:42:25 +01:00
Harald Welte 3ca1c90ac4 MSC: Use VTY to enable/disable authentication + TMSI allocation
Change-Id: Ifaa0f119d37b18b804c563c045755cc23d509617
2018-01-24 18:53:32 +01:00
Harald Welte d5b91409bc msc: Cosmetic (fix comment)
Change-Id: I20c65454f606a5c3bc3c5a127ae02b6c204ca06e
2018-01-24 18:53:32 +01:00
Harald Welte 256571e6c5 MSC_Tests: Proper treatment of IMEI + TMSI
* don't use IMSI as IMEI
* store the TMSI (after it is allocated) in the g_pars variable for later use

Change-Id: I717f1c9ab21e5be8b88f10ce4e8c583b385f3664
2018-01-24 18:53:32 +01:00
Harald Welte e1a2f3cb86 msc: Add all test cases to control section
Change-Id: I79abcbe5638a02c1d6d94ba31ce72bfbc372fd21
2018-01-24 17:29:15 +01:00
Harald Welte 66af9e6354 msc: Add TC_lu_disconnect: Start LU, then do a hard SCCP disconnect
Change-Id: I04d0b09350c6a1c9b8fb9aac87158a142d80f18f
2018-01-24 17:29:15 +01:00
Harald Welte 45164da2bc MSC_Tests: More CM SERVICE REQ and EMERGENCY CALL related tests
Change-Id: I04ca21824f66ad90d9dac2c25000ecd724aa4528
2018-01-24 17:29:15 +01:00
Harald Welte ba7b6d940e msc: Add test case for LU with MI=IMEI (which is illegal)
Change-Id: Ie3c91a0ff212a70a8e03e0579f240a10bc4356f4
2018-01-24 17:29:15 +01:00
Harald Welte bc881789bd msc: Test closing BSSAP connection of LU by ClearCommand
Change-Id: I9194da2f9324ee17c920458cb920a6fa718ac739
2018-01-24 17:29:15 +01:00
Harald Welte 071ed736c8 msc: Add tests for HLR SAI timeout and HLR SAI error
Change-Id: I7f8c8ff9ccadd7b7b14cba12a34cebe6855a5367
2018-01-24 17:29:15 +01:00
Harald Welte 7b1b281789 MSC: Add test for LU with 2G authentication
Change-Id: I5ea201bd603e581f199cd29056e7e7ebc9bd0923
2018-01-24 17:29:15 +01:00
Harald Welte 2bb825fc71 WIP: MSC: Add MO call testing
Change-Id: If32cb359b3cf732c4752856538552595dbbf2a8a
2018-01-24 17:29:15 +01:00
Harald Welte 8a121b3cec msc: make sending of early classmark optional
Change-Id: If25ba412ab393029ed7ae9af47e87d5f4a44acfc
2018-01-22 03:01:27 +01:00
Harald Welte 8260057d90 msc: Store CM2/CM3 in g_pars, so it can be modified
Change-Id: I726d851f45379b3efdb5ab62ea8f196cc0e41cc5
2018-01-22 03:01:27 +01:00
Harald Welte a49e36e911 MSC_Tests: Integrate MNCC, GSUP, BSSAP connection handler, ...
Change-Id: I7bb6660c6b6cef81533f0fbb5e735f08ed275b8c
2018-01-21 19:37:59 +01:00
Harald Welte f6dd64dd52 msc_tests: Initial skeleton for osmo-msc testing over SCCP/M3UA 2017-11-20 21:52:07 +01:00