Change in ...osmo-msc[master]: msc_a: switch RAN type back to SGs when a CSFB-Call is cleared

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/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Aug 15 13:03:42 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/15222


Change subject: msc_a: switch RAN type back to SGs when a CSFB-Call is cleared
......................................................................

msc_a: switch RAN type back to SGs when a CSFB-Call is cleared

When a CSFB call is over the MS changes back to LTE after the call is
cleared. However, at the moment the MSC will not change the
cs.attached_via_ran flag. This may cause problems with the next call. Lets
make sure that if there is an SGs association present, the ran type is
set back to SGs when the call is cleared.

Related: SYS#4624
Change-Id: I104adecb0645b81b90ee230c57bf8b463c9e7045
---
M src/libmsc/msc_a.c
1 file changed, 5 insertions(+), 0 deletions(-)



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

diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c
index bd69eed..553761f 100644
--- a/src/libmsc/msc_a.c
+++ b/src/libmsc/msc_a.c
@@ -754,6 +754,11 @@
 		};
 		msc_a_get(msc_a, MSC_A_USE_WAIT_CLEAR_COMPLETE);
 		msc_a_ran_down(msc_a, MSC_ROLE_I, &msg);
+
+		/* The connection is cleared. The MS will now go back to 4G,
+		   Switch the RAN type back to SGS. */
+		if (vsub && vsub->sgs_fsm->state == SGS_UE_ST_ASSOCIATED)
+			vsub->cs.attached_via_ran = OSMO_RAT_EUTRAN_SGS;
 	}
 
 	if (vsub)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/15222
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I104adecb0645b81b90ee230c57bf8b463c9e7045
Gerrit-Change-Number: 15222
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190815/fc35aea3/attachment.htm>


More information about the gerrit-log mailing list