osmo-msc/tests/msc_vlr
Neels Hofmeyr 2ff5bcdc38 fix paging: add timeout to discard unsuccessful paging
Currently, if there is no reply from the BSS / RNC, a subscriber will remain as
"already paged" forever, and is never going to be paged again. Even on IMSI
Detach, the pending request will keep a ref count on the vlr_subscr.

Add a paging timeout, as gsm_network->paging_timeout and in the VTY on the
'msc' node as 'paging timeout (default|<1-65535>'. (There is a 'network' /
'T3113' in OsmoBSC, but to not confuse the two, give this a different name.)

Add test_ms_timeout_paging() test to verify the timeout works.

I hit this while testing Paging across multiple hNodeB, when a UE lost
connection to the hNodeB. I noticed that no matter how long I wait, no Paging
is sent out anymore, and found this embarrassing issue. Good grief...

The choice of 10 seconds is taken from https://osmocom.org/issues/2756

Change-Id: I2db6f1e2ad341cf9c2cc7a21ec2fca0bae5b2db5
2017-12-20 23:07:10 +01:00
..
Makefile.am add msc_vlr_test_call to reproduce a sanitizer error 2017-11-27 15:40:01 +01:00
msc_vlr_test_authen_reuse.c tests: add msc_vlr_test_authen_reuse 2017-10-31 02:02:43 +01:00
msc_vlr_test_authen_reuse.err vlr: debug log: log Ciphering Mode details 2017-12-18 03:48:24 +01:00
msc_vlr_test_authen_reuse.ok tests: add msc_vlr_test_authen_reuse 2017-10-31 02:02:43 +01:00
msc_vlr_test_call.c add msc_vlr_test_call to reproduce a sanitizer error 2017-11-27 15:40:01 +01:00
msc_vlr_test_call.err vlr: debug log: log Ciphering Mode details 2017-12-18 03:48:24 +01:00
msc_vlr_test_call.ok add msc_vlr_test_call to reproduce a sanitizer error 2017-11-27 15:40:01 +01:00
msc_vlr_test_gsm_authen.c msc_vlr tests: add IMEISV tests 2017-08-29 12:51:19 +00:00
msc_vlr_test_gsm_authen.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_gsm_authen.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_gsm_ciph.c msc_vlr tests: add IMEISV tests 2017-08-29 12:51:19 +00:00
msc_vlr_test_gsm_ciph.err vlr: debug log: log Ciphering Mode details 2017-12-18 03:48:24 +01:00
msc_vlr_test_gsm_ciph.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_hlr_reject.c cosmetic: vlr: rename auth_tuple_max_use_count to _reuse_ 2017-10-31 02:02:43 +01:00
msc_vlr_test_hlr_reject.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_hlr_reject.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_hlr_timeout.c Implement AoIP, port to M3UA SIGTRAN (large addition and refactoring) 2017-08-29 12:51:18 +00:00
msc_vlr_test_hlr_timeout.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_hlr_timeout.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_ms_timeout.c fix paging: add timeout to discard unsuccessful paging 2017-12-20 23:07:10 +01:00
msc_vlr_test_ms_timeout.err fix paging: add timeout to discard unsuccessful paging 2017-12-20 23:07:10 +01:00
msc_vlr_test_ms_timeout.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_no_authen.c msc_vlr tests: add IMEISV tests 2017-08-29 12:51:19 +00:00
msc_vlr_test_no_authen.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_no_authen.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_reject_concurrency.c Implement AoIP, port to M3UA SIGTRAN (large addition and refactoring) 2017-08-29 12:51:18 +00:00
msc_vlr_test_reject_concurrency.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_reject_concurrency.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_rest.c Implement AoIP, port to M3UA SIGTRAN (large addition and refactoring) 2017-08-29 12:51:18 +00:00
msc_vlr_test_rest.err subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
msc_vlr_test_rest.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_test_umts_authen.c Implement AoIP, port to M3UA SIGTRAN (large addition and refactoring) 2017-08-29 12:51:18 +00:00
msc_vlr_test_umts_authen.err vlr: debug log: log Ciphering Mode details 2017-12-18 03:48:24 +01:00
msc_vlr_test_umts_authen.ok Add msc_vlr test suite for MSC+VLR end-to-end tests 2017-07-23 04:30:05 +02:00
msc_vlr_tests.c cosmetic prep: tell vlr_ops.set_ciph_mode() whether UMTS AKA is used 2017-12-18 05:18:11 +01:00
msc_vlr_tests.h add msc_vlr_test_call to reproduce a sanitizer error 2017-11-27 15:40:01 +01:00