osmo-msc/src/libmsc
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_iface.c cosmetic: rename sccp_rx_udt and sccp_rx_dt to a_* 2017-12-20 16:14:50 +00:00
a_iface_bssap.c cosmetic: rename sccp_rx_udt and sccp_rx_dt to a_* 2017-12-20 16:14:50 +00:00
auth.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
ctrl_commands.c ctrl: remove unimplemented cmds subscriber-{modify,delete} 2017-09-19 00:37:48 +02:00
db.c libmsc: db.c: Replace dbi APIs marked as deprecated 2017-12-20 16:06:43 +00:00
gsm_04_08.c fix GSM-Milenage in presence of 2G keys 2017-12-18 23:06:25 +00:00
gsm_04_11.c subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
gsm_04_14.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
gsm_04_80.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
gsm_subscriber.c fix paging: add timeout to discard unsuccessful paging 2017-12-20 23:07:10 +01:00
iu_dummy.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
iucs.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
iucs_ranap.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
meas_feed.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
meas_feed.h move openbsc/* to repos root 2017-07-12 23:17:10 +00:00
mncc.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
mncc_builtin.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
mncc_sock.c Remove rest_octets.h 2017-09-15 11:31:03 +02:00
msc_ifaces.c fix build: remove obsolete header legacy_mgcp/mgcp.h 2017-09-24 19:52:25 +02:00
msc_vty.c fix paging: add timeout to discard unsuccessful paging 2017-12-20 23:07:10 +01:00
osmo_msc.c cosmetic: log error when using a conn that's in release 2017-11-27 15:40:01 +01:00
rrlp.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
silent_call.c compiler warning: extend #if 0 to include unused array 2017-12-18 23:14:58 +00:00
smpp_openbsc.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
smpp_smsc.c smpp_smsc: fix truncated string copy into bind_r.system_id 2017-12-20 15:49:38 +00:00
smpp_smsc.h libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_utils.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
smpp_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:51:21 +01:00
sms_queue.c rename include/openbsc to include/osmocom/msc 2017-09-06 16:41:25 +02:00
subscr_conn.c subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
transaction.c subscr_conn: introduce usage tokens for ref error tracking 2017-11-27 15:40:01 +01:00
ussd.c Remove rest_octets.h 2017-09-15 11:31:03 +02:00
vty_interface_layer3.c libmsc/vty: don't access old bsc rate counters 2017-11-21 17:33:52 +01:00