osmo-bsc/openbsc/src/libbsc
Max e6052c4cc7 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
2016-07-09 19:52:54 +00:00
..
Makefile.am dyn PDCH: send PDCH ACT for each TCH/F_PDCH on TS Enable 2016-06-14 10:18:19 +00:00
abis_nm.c abis: Send the message without enforcing to wait for a response 2016-04-01 19:34:42 +02:00
abis_nm_ipaccess.c misc: Move from u_int to uint types of stdint.h 2011-04-18 17:31:39 +02:00
abis_nm_vty.c vty: Use vty_install_default() instead of bsc_install_default() 2013-10-30 15:19:00 +01:00
abis_om2000.c Fix more hidden TSC bugs for Ericsson BTS 2014-01-19 17:32:59 +01:00
abis_om2000_vty.c vty: Use vty_install_default() instead of bsc_install_default() 2013-10-30 15:19:00 +01:00
abis_rsl.c err log: tweak dyn pdch ack error logging 2016-06-24 09:31:54 +00:00
arfcn_range_encode.c si: Implement range 128, 256, 1024 encoding 2014-01-16 12:04:30 +01:00
bsc_api.c Add extra debug output with channel mode and type 2016-04-22 15:53:51 +02:00
bsc_ctrl_commands.c bsc: Add parameter to restart a bts 2016-04-01 19:34:42 +02:00
bsc_ctrl_lookup.c enable ctrl bind config for various programs 2016-02-25 12:18:04 +01:00
bsc_dyn_pdch.c dyn PDCH: fix: clear PDCH flags on TS reconnect (e.g. BTS re-connect) 2016-06-16 04:29:40 +02:00
bsc_init.c dyn PDCH: send PDCH ACT for each TCH/F_PDCH on TS Enable 2016-06-14 10:18:19 +00:00
bsc_msc.c bsc: Check for the rand and then generate a res 2015-07-01 08:16:41 +02:00
bsc_rf_ctrl.c bsc: rf_ctrl will always be created, remove the NULL checks 2014-02-08 12:47:39 +01:00
bsc_rll.c bsc: Reduce the RLL timeout to be smaller than TC1/max_retr+1 2013-12-27 19:21:58 +01:00
bsc_vty.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
bts_ericsson_rbs2000.c Do not expect all BTSs support TSC != BCC 2014-01-19 17:32:56 +01:00
bts_init.c hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00
bts_ipaccess_nanobts.c dyn PDCH: send PDCH ACT for each TCH/F_PDCH on TS Enable 2016-06-14 10:18:19 +00:00
bts_nokia_site.c nokia: Allow to set the reset time for the nokia bts 2015-02-07 13:27:36 +01:00
bts_siemens_bs11.c Do not expect all BTSs support TSC != BCC 2014-01-19 17:32:56 +01:00
bts_sysmobts.c Do not expect all BTSs support TSC != BCC 2014-01-19 17:32:56 +01:00
bts_unknown.c misc: Remove sys/types.h includes from the files 2011-04-18 17:31:39 +02:00
chan_alloc.c dyn PDCH: set lchan->state after PDCH DEACT / before PDCH ACT 2016-06-16 04:29:40 +02:00
e1_config.c hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00
gsm_04_08_utils.c Remove trivial wrapper function 2016-04-12 10:13:57 -04:00
handover_decision.c Use proper measurement for handover 2016-05-20 16:26:33 +00:00
handover_logic.c libbsc: skip channel state LCHAN_S_INACTIVE while handover 2016-07-09 08:53:16 +00:00
meas_proc.c src: use namespace prefix osmo_signal* 2011-05-06 12:12:31 +02:00
meas_rep.c misc: Remove sys/types.h includes from the files 2011-04-18 17:31:39 +02:00
net_init.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
paging.c paging: Go through all BTS to stop paging 2015-08-03 12:02:14 +02:00
rest_octets.c bsc: Create minimal SI6 rest octets 2016-05-30 21:28:40 +00:00
system_information.c Make si2q scheduling optional 2016-05-31 09:32:12 +00:00