Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoMSC https://osmocom.org/projects/osmo-hlr
Go to file
Stefan Sperling 638ba8cc04 store a timestamp of the last location update seen from a subscriber
Timestamps are stored in the HLR DB in the new 'last_lu_seen' column
of the 'subscriber' table, in UTC and in granularity of seconds.

At present, osmo-hlr only records these timestamps but otherwise
makes no use of them. Because the timestamps are stored in a
human-readable form, they may already provide value to external
processes which need this information. For example:

  sqlite> select imsi,last_lu_seen from subscriber;
  901990000000001|2018-12-04 14:17:12

I didn't bother adding additional tests because the code added
with this commit is already being exercised by several calls
to db_subscr_lu() in db_test.c.

This change requires a HLR DB schema update. Existing databases
won't be upgraded automatically. However, osmo-hlr will refuse
to operate with databases which are not upgraded.

Change-Id: Ibeb49d45aec18451a260a6654b8c51b8fc3bec50
Related: OS#2838
2018-12-07 11:50:06 +01:00
contrib contrib/jenkins.sh: build and publish manuals 2018-12-05 13:08:07 +01:00
debian Install sample cfg file to /etc/osmocom 2018-09-12 18:31:09 +02:00
doc build manuals moved here from osmo-gsm-manuals.git 2018-11-27 18:02:06 +01:00
include introduce osmo_gsup_client_create2() 2018-12-06 11:03:51 +00:00
sql store a timestamp of the last location update seen from a subscriber 2018-12-07 11:50:06 +01:00
src store a timestamp of the last location update seen from a subscriber 2018-12-07 11:50:06 +01:00
tests SS/USSD: make NCSS session timeout configurable 2018-12-05 19:45:34 +00:00
.gitignore build manuals moved here from osmo-gsm-manuals.git 2018-11-27 18:02:06 +01:00
.gitreview Add gerrit settings 2016-12-21 10:35:38 +01:00
COPYING add COPYING file with AGPLv3 license text 2016-11-11 10:17:06 +01:00
Makefile.am Fix DISTCHECK_CONFIGURE_FLAGS override 2018-12-04 15:11:07 +00:00
configure.ac build manuals moved here from osmo-gsm-manuals.git 2018-11-27 18:02:06 +01:00
git-version-gen build with autoconf/automake, add jenkins.sh script 2016-12-11 01:07:26 +01:00
libosmo-gsup-client.pc.in pkg-config: Fix libosmo-gsup-client pkg-config file 2018-07-31 19:37:45 +02:00