aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/manuals/vty/msc_vty_reference.xml16
-rw-r--r--src/libmsc/msc_vty.c13
2 files changed, 6 insertions, 23 deletions
diff --git a/doc/manuals/vty/msc_vty_reference.xml b/doc/manuals/vty/msc_vty_reference.xml
index b98f76e3a..7fba1a9ec 100644
--- a/doc/manuals/vty/msc_vty_reference.xml
+++ b/doc/manuals/vty/msc_vty_reference.xml
@@ -668,14 +668,6 @@
<param name='expired' doc='Delete all expired SMS' />
</params>
</command>
- <command id='subscriber create imsi ID'>
- <params>
- <param name='subscriber' doc='Operations on a Subscriber' />
- <param name='create' doc='Create new subscriber' />
- <param name='imsi' doc='Identify the subscriber by his IMSI' />
- <param name='ID' doc='Identifier for the subscriber' />
- </params>
- </command>
<command id='subscriber (msisdn|extension|imsi|tmsi|id) ID sms sender (msisdn|extension|imsi|tmsi|id) SENDER_ID send .LINE'>
<params>
<param name='subscriber' doc='Operations on a Subscriber' />
@@ -1492,14 +1484,6 @@
<param name='expired' doc='Delete all expired SMS' />
</params>
</command>
- <command id='subscriber create imsi ID'>
- <params>
- <param name='subscriber' doc='Operations on a Subscriber' />
- <param name='create' doc='Create new subscriber' />
- <param name='imsi' doc='Identify the subscriber by his IMSI' />
- <param name='ID' doc='Identifier for the subscriber' />
- </params>
- </command>
<command id='subscriber (msisdn|extension|imsi|tmsi|id) ID sms sender (msisdn|extension|imsi|tmsi|id) SENDER_ID send .LINE'>
<params>
<param name='subscriber' doc='Operations on a Subscriber' />
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index cd82a07a7..90cfc9daa 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -1222,13 +1222,12 @@ DEFUN(show_subscr, show_subscr_cmd,
return CMD_SUCCESS;
}
-DEFUN(subscriber_create,
- subscriber_create_cmd,
- "subscriber create imsi ID",
- "Operations on a Subscriber\n" \
- "Create new subscriber\n" \
- "Identify the subscriber by his IMSI\n" \
- "Identifier for the subscriber\n")
+DEFUN_DEPRECATED(subscriber_create, subscriber_create_cmd,
+ "subscriber create imsi ID",
+ "Operations on a Subscriber\n"
+ "Create new subscriber\n"
+ "Identify the subscriber by his IMSI\n"
+ "Identifier for the subscriber\n")
{
vty_out(vty, "%% 'subscriber create' now needs to be done at osmo-hlr%s",
VTY_NEWLINE);