This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via e6052c4cc756f7d3a5023a0ba57fe8d80783967c (commit)
from 9f8f9b80214fabfb3ac7674341c18a61a6ffcc5f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=e6052c4cc756f7d3a5023a0ba57fe8d8…
commit e6052c4cc756f7d3a5023a0ba57fe8d80783967c
Author: Max <msuraev(a)sysmocom.de>
Date: Thu Jun 30 10:25:49 2016 +0200
Make random MSISDN assignment optional
Previously if subscriber was automatically created it got assigned
random MSISDN number. Make it optional (defaulting to previous behavior)
by adding following:
* new optional no-extension argument for subscriber-create-on-demand vty
command
* db unit tests
* vty test
Note: using the db made with new code might result in subscribers with
empty extension. Such subscribers cannot be deleted using old
code. Make sure not to mix db versions or manually fix it by editing
sqlite with external program.
Fixes: OS#1658
Change-Id: Ibbc2e88e4722b08854ebc631485f19ed56443cbb
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/db.h | 4 ++-
openbsc/include/openbsc/gsm_data.h | 10 ++----
openbsc/include/openbsc/gsm_subscriber.h | 5 +--
openbsc/src/libbsc/bsc_vty.c | 4 +++
openbsc/src/libbsc/net_init.c | 10 +++++-
openbsc/src/libmsc/ctrl_commands.c | 6 ++--
openbsc/src/libmsc/db.c | 31 +++++++++++--------
openbsc/src/libmsc/gsm_04_08.c | 10 +++---
openbsc/src/libmsc/gsm_subscriber.c | 9 ++++--
openbsc/src/libmsc/vty_interface_layer3.c | 31 ++++++++++---------
openbsc/tests/db/db_test.c | 30 ++++++++++++------
openbsc/tests/vty_test_runner.py | 51 ++++++++++++++++++++++++++++++-
12 files changed, 141 insertions(+), 60 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)