From 9dbc3f8db7ca2c95ad6b986cdc4cd6c7a602a8b4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 23 Mar 2014 12:06:36 +0100 Subject: nitb/ctrl: Add command to add/modify a subscriber to the database The test has been manually verified. Executing the select for the subscribers showed: sqlite> select * from Subscriber; 1|2014-03-23 12:12:46|2014-03-23 12:19:09|2620345||445567|1||0| This created a subscriber with the right IMSI, MSISDN and has it authorized. Fixes: SYS#275 --- openbsc/src/osmo-nitb/bsc_hack.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'openbsc/src/osmo-nitb/bsc_hack.c') diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c index 67c65ce61..c78e3ec81 100644 --- a/openbsc/src/osmo-nitb/bsc_hack.c +++ b/openbsc/src/osmo-nitb/bsc_hack.c @@ -291,7 +291,12 @@ int main(int argc, char **argv) } if (bsc_base_ctrl_cmds_install() != 0) { - printf("Failed to initialize the control commands. Exiting.\n"); + printf("Failed to initialize the BSC control commands.\n"); + return -1; + } + + if (msc_ctrl_cmds_install() != 0) { + printf("Failed to initialize the MSC control commands.\n"); return -1; } -- cgit v1.2.3