diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-09 16:59:08 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-10 05:17:38 +0100
commit11010b1b85774a64a1f94dfcd3051edb0de2e217 (patch)
parent72a41dd1984c673438ce45df97049cdfacbe04fa (diff)
vty: add 'msisdn' as alias for 'extension'
Rationale: in the HLR, it is called 'msisdn' after the database column, so a user going back and forth between osmo-hlr and osmo-msc would appreciate being able to type 'msisdn' in the MSC's vty as well. Change-Id: I7b46f9736421e8edd8a95ae89e025ebe486fde4c
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libmsc/vty_interface_layer3.c b/src/libmsc/vty_interface_layer3.c
index b0243c39b..6def35991 100644
--- a/src/libmsc/vty_interface_layer3.c
+++ b/src/libmsc/vty_interface_layer3.c
@@ -343,9 +343,10 @@ static struct vlr_subscr *get_vsub_by_argv(struct gsm_network *gsmnet,
return NULL;
-#define SUBSCR_TYPES "(extension|imsi|tmsi|id)"
+#define SUBSCR_TYPES "(msisdn|extension|imsi|tmsi|id)"
#define SUBSCR_HELP "Operations on a Subscriber\n" \
- "Identify subscriber by extension (phone number)\n" \
+ "Identify subscriber by MSISDN (phone number)\n" \
+ "Legacy alias for 'msisdn'\n" \
"Identify subscriber by IMSI\n" \
"Identify subscriber by TMSI\n" \
"Identify subscriber by database ID\n" \