<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12344">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc_vty: display subscriber flags<br><br>When a VLR subscriber is displayed on the VTY we get a lot of meta<br>information, but there are also some flags to handle the internal<br>subscriber status e.g. conf_by_radio_contact_ind. Lets display those<br>flags as well as this information can be very helpful when debugging<br>problems in the VLR<br><br>Change-Id: I59a9145a4daad50d68de3fd5c3291f027256917f<br>---<br>M src/libmsc/msc_vty.c<br>1 file changed, 19 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/44/12344/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c</span><br><span>index adcf1b1..7e30165 100644</span><br><span>--- a/src/libmsc/msc_vty.c</span><br><span>+++ b/src/libmsc/msc_vty.c</span><br><span>@@ -644,6 +644,25 @@</span><br><span> if (strlen(vsub->imeisv))</span><br><span> vty_out(vty, " IMEISV: %s%s", vsub->imeisv, VTY_NEWLINE);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Flags: %s", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " IMSI detached: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->imsi_detached_flag ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Conf. by radio contact: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->conf_by_radio_contact_ind ? "true" : "false",</span><br><span style="color: hsl(120, 100%, 40%);">+ VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Subscr. data conf. by HLR: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->sub_dataconf_by_hlr_ind ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Location conf. in HLR: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->loc_conf_in_hlr_ind ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Subscriber dormant: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->dormant_ind ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " Received cancel locataion: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->cancel_loc_rx ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " MS not reachable: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->ms_not_reachable_flag ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+ vty_out(vty, " LA allowed: %s%s",</span><br><span style="color: hsl(120, 100%, 40%);">+ vsub->la_allowed ? "true" : "false", VTY_NEWLINE);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> #if 0</span><br><span> /* TODO: add this to vlr_subscr? */</span><br><span> if (vsub->auth_info.auth_algo != AUTH_ALGO_NONE) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12344">change 12344</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12344"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I59a9145a4daad50d68de3fd5c3291f027256917f </div>
<div style="display:none"> Gerrit-Change-Number: 12344 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>