osmo-msc/openbsc/src
Holger Hans Peter Freyther e7bd863f76 expiration: Speculative fixes for the periodic expiring handling
We were expiring subscribers during active calls. This is because
the T3212 is stopped under certain conditions but we didn't stop
that timer at all.

Remember if T3212 timer was stopped due something done by NITB and
update the expiration time at the end of the radio connection, as
the phone should restart it when returning to MM Idle.

It is a bit difficult to decide when we should set the flag. E.g.
in a CM Service Request we don't know if we accept the service and
during a LU we already send MM messages before we accept or reject
the subscriber.

The easiest is to set the flag when receiving a paging response
on known subscribers and at the end of the authentication process.

Do not expire a subscriber that has an active connection that is
marked with the flag, e.g. we would still expire a subscriber that
is being paged.

Manual tests executed/passed:

 * gst LUTest.st verified that a expiration date was set
 * gst SMSTest.st (doing another LU but forcing a timeout on the
   SMS sending). Verified that the expire_lu was updated.
2013-07-27 21:39:13 +02:00
..
gprs sgsn: spelling fixes inside comments 2013-07-21 17:41:46 +08:00
ipaccess ipaccess: The proxy code checked the array but not the element 2013-07-14 09:04:50 +02:00
libbsc misc: Fix compilation warnings 2013-07-27 20:03:08 +02:00
libcommon oml: Add a missing break switch for NM_OC_BS11 2013-07-18 12:03:31 +02:00
libctrl ctrlif: Flush/Clear write_queue when closing the control socket 2013-06-24 10:59:40 +02:00
libgb Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
libmgcp libmgcp: add enum mgcp_type and use it 2013-07-08 16:46:06 +02:00
libmsc expiration: Speculative fixes for the periodic expiring handling 2013-07-27 21:39:13 +02:00
libtrau Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
osmo-bsc misc: Fix compilation warnings 2013-07-27 20:03:08 +02:00
osmo-bsc_mgcp Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
osmo-bsc_nat nat: The con variable is not assigned at this point 2013-07-05 08:22:03 +02:00
osmo-nitb Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00
utils misc: Fix compilation warnings 2013-07-27 20:03:08 +02:00
Makefile.am Makefile.am: Use AM_CPPFLAGS 2013-06-12 09:16:27 +02:00