Change in osmo-msc[master]: detach cancelled subscribers from VLR

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Mon Dec 10 17:53:09 UTC 2018


Stefan Sperling has uploaded this change for review. ( https://gerrit.osmocom.org/12232


Change subject: detach cancelled subscribers from VLR
......................................................................

detach cancelled subscribers from VLR

When a subscriber is cancelled, fake an IMSI detach to
ensure that the subscriber gets removed from the VLR.

I am not entirely sure if this change is correct but
it does make TTCN3 test MSC_Tests.TC_gsup_cancel pass.

Change-Id: I5918106e4a94ba2e6c61bcd7b90d3bf0565513cc
Related: OS#2886
---
M src/libvlr/vlr.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/32/12232/1

diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c
index 76c84de..3369914 100644
--- a/src/libvlr/vlr.c
+++ b/src/libvlr/vlr.c
@@ -970,6 +970,8 @@
 	gmm_cause_to_fsm_and_mm_cause(gsup_msg->cause, &fsm_cause, &gsm48_rej);
 	vlr_subscr_cancel_attach_fsm(vsub, fsm_cause, gsm48_rej);
 
+	vlr_subscr_rx_imsi_detach(vsub);
+
 	return rc;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/12232
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5918106e4a94ba2e6c61bcd7b90d3bf0565513cc
Gerrit-Change-Number: 12232
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <stsp at stsp.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181210/395a0171/attachment.htm>


More information about the gerrit-log mailing list