diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2018-12-14 13:34:25 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2018-12-19 10:17:59 +0100 |
commit | 89561bc4e73e3a22b8452b62251cdd61c1299664 (patch) | |
tree | 0f752d01a04a48fd34a83654b2aeb26021c3ab96 | |
parent | 14c6f3ee95e53a0dea872eadf7ed6330b3d1c71b (diff) |
msc_vty: display subscriber flags
When a VLR subscriber is displayed on the VTY we get a lot of meta
information, but there are also some flags to handle the internal
subscriber status e.g. conf_by_radio_contact_ind. Lets display those
flags as well as this information can be very helpful when debugging
problems in the VLR
Change-Id: I59a9145a4daad50d68de3fd5c3291f027256917f
-rw-r--r-- | src/libmsc/msc_vty.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 4e71e2628..b39775f2e 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -640,6 +640,25 @@ static void subscr_dump_full_vty(struct vty *vty, struct vlr_subscr *vsub) vty_out(vty, " new TMSI: %08X%s", vsub->tmsi_new, VTY_NEWLINE); + vty_out(vty, " Flags: %s", VTY_NEWLINE); + vty_out(vty, " IMSI detached: %s%s", + vsub->imsi_detached_flag ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " Conf. by radio contact: %s%s", + vsub->conf_by_radio_contact_ind ? "true" : "false", + VTY_NEWLINE); + vty_out(vty, " Subscr. data conf. by HLR: %s%s", + vsub->sub_dataconf_by_hlr_ind ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " Location conf. in HLR: %s%s", + vsub->loc_conf_in_hlr_ind ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " Subscriber dormant: %s%s", + vsub->dormant_ind ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " Received cancel locataion: %s%s", + vsub->cancel_loc_rx ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " MS not reachable: %s%s", + vsub->ms_not_reachable_flag ? "true" : "false", VTY_NEWLINE); + vty_out(vty, " LA allowed: %s%s", + vsub->la_allowed ? "true" : "false", VTY_NEWLINE); + #if 0 /* TODO: add this to vlr_subscr? */ if (vsub->auth_info.auth_algo != AUTH_ALGO_NONE) { |