osmo-msc/src/libcommon-cs
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 missing CFLAGS 2017-12-05 19:16:32 +00:00
a_reset.c cosmetic: remove duplicate logging 2017-12-01 12:01:59 +00:00
common_cs.c fix paging: add timeout to discard unsuccessful paging 2017-12-20 23:07:10 +01:00
common_cs_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:51:21 +01:00