Change in osmo-msc[master]: msc_vty: also show IMEI and IMEISV

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
Tue Dec 18 09:18:01 UTC 2018


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/12343


Change subject: msc_vty: also show IMEI and IMEISV
......................................................................

msc_vty: also show IMEI and IMEISV

When the VLR subscriber information is shown on the VTY it shows IMSI
and TMSI, but not IMEI and IMEISV. Since in some cases this information
might be helpful, lets display it as well.

Change-Id: Iedd75dbb9850388ec1fedb984ed0b8bf4c62e780
---
M src/libmsc/msc_vty.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index 87adc82..adcf1b1 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -639,6 +639,10 @@
 	if (vsub->tmsi_new != GSM_RESERVED_TMSI)
 		vty_out(vty, "    new TMSI: %08X%s", vsub->tmsi_new,
 			VTY_NEWLINE);
+	if (strlen(vsub->imei))
+		vty_out(vty, "    IMEI: %s%s", vsub->imei, VTY_NEWLINE);
+	if (strlen(vsub->imeisv))
+		vty_out(vty, "    IMEISV: %s%s", vsub->imeisv, VTY_NEWLINE);
 
 #if 0
 	/* TODO: add this to vlr_subscr? */

-- 
To view, visit https://gerrit.osmocom.org/12343
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: Iedd75dbb9850388ec1fedb984ed0b8bf4c62e780
Gerrit-Change-Number: 12343
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181218/cdacaad4/attachment.htm>


More information about the gerrit-log mailing list