Skip to content
Success

Changes

Summary

  1. vlr: extend the subscriber invalidate callback with reasons (details)
  2. vlr: when receiving imsi detach, purge the subscriber towards HLR (details)
Commit 5611c75328a2b34a47152fab571c31f1dd83fabe by lynxis
vlr: extend the subscriber invalidate callback with reasons

The VLR must be allowed to notify the MSC if a subscriber becomes invalid.
There are multiple cases when this happens:
a) if the subscriber didn't do a Location Update Procedure within the
given periodic timer.
b) if the HLR does a Cancel Location Procedure with reason withdraw
c) if the HLR does a Cancel Location Procedure with reason update location.
d) duplicate entries (unsure if this is valid, but keeping the code as is)

Change-Id: Ie5b687318b106a230fcee52deba86649641004b3
The file was modifiedinclude/osmocom/vlr/vlr.h
The file was modifiedsrc/libmsc/gsm_04_08.c
The file was modifiedsrc/libvlr/vlr.c
Commit b64f822ef8d7046342cd676e62e72f0b12e133f6 by lynxis
vlr: when receiving imsi detach, purge the subscriber towards HLR

The HLR must know when a subscriber has been disconnected.

Change-Id: I9c2569c45e69b422ce26050b682e6eb26c1c2625
The file was modifiedtests/msc_vlr/msc_vlr_test_umts_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_reject_concurrency.err
The file was modifiedsrc/libvlr/vlr.c
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_authen.c
The file was modifiedtests/msc_vlr/msc_vlr_test_no_authen.c
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_ciph.err
The file was modifiedtests/msc_vlr/msc_vlr_test_rest.err
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_ciph.c
The file was modifiedtests/msc_vlr/msc_vlr_test_umts_authen.c
The file was modifiedtests/msc_vlr/msc_vlr_test_authen_reuse.c
The file was modifiedtests/msc_vlr/msc_vlr_test_no_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_ms_timeout.err
The file was modifiedtests/msc_vlr/msc_vlr_test_gsm_authen.err
The file was modifiedtests/msc_vlr/msc_vlr_test_ms_timeout.c
The file was modifiedtests/msc_vlr/msc_vlr_test_rest.c
The file was modifiedtests/msc_vlr/msc_vlr_test_authen_reuse.err
The file was modifiedtests/msc_vlr/msc_vlr_test_reject_concurrency.c