osmo-msc/tests
Vadim Yanitskiy 64623e1848 libmsc/gsm_09_11.c: implement guard timer for NCSS sessions
It may happen that either the MS or an EUSE would become
unresponsive during a call independent SS session, e.g.
due to a bug, or a dropped message. In such cases, the
corresponding transaction would remain unfreed forever.

This change introduces a guard timer, that prevents keeping
'stalled' NCSS sessions forever. As soon as it expires, both
sides (i.e. MS and EUSE) are getting notified, and the
transaction is being released.

By default, the timer expires after 30 seconds. As soon as
either the MS, or an EUSE initiates any activity,
the watchdog timer is rescheduled.

The timeout value can be configured from the VTY:

  msc
   ...
   ! Use 0 to disable this timer
   ncss guard-timeout 30

Please note that changing the timeout value at run-time
doesn't affect the existing NCSS sessions, excepting the
case when the timer is disabled at run-time.

This change makes TC_lu_and_ss_session_timeout pass.

Change-Id: Icf4d87c45e90324764073e8230e0fb9cb96dd9cb
Related Change-Id: (TTCN) I3e1791773d56617172ae27a46889a1ae4d400e2f
Related: OS#3655
2019-02-20 03:22:38 +07:00
..
msc_vlr a_iface: Fix hexdumping of N-DATA.req 2019-02-18 13:52:09 +01:00
smpp use osmo_init_logging2() with proper talloc ctx 2018-03-30 23:20:03 +02:00
sms_queue Add SGs Interface 2019-02-04 13:36:26 +01:00
Makefile.am add test_nodes.vty transcript test 2018-12-05 19:35:11 +00:00
atlocal.in remove further files and autotest/autoconf bits irrelevant to osmo-msc 2017-10-03 09:44:23 +08:00
ctrl_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00
smpp_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00
test_nodes.vty libmsc/gsm_09_11.c: implement guard timer for NCSS sessions 2019-02-20 03:22:38 +07:00
testsuite.at msc_vlr_tests: don't abuse USSD-request to conclude connections 2018-07-29 16:22:06 +02:00
vty_test_runner.py python tests: use py shebang instead of $(PYTHON) 2018-12-05 19:35:11 +00:00