osmo-msc/openbsc/include/openbsc
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 Move osmo_gsup_messages.[ch] to libosmocore 2016-04-29 13:10:37 +02:00
abis_nm.h ctrl/abis: When the max_power_reduction changes, send it to the BTS 2014-03-26 18:08:22 +01:00
abis_om2000.h OM2000: First attempt in automatically configuring most MOs 2011-03-06 22:12:24 +01:00
abis_rsl.h dyn PDCH: send PDCH ACT for each TCH/F_PDCH on TS Enable 2016-06-14 10:18:19 +00:00
arfcn_range_encode.h si: Fix range1024 encoding 2014-01-16 12:04:30 +01:00
auth.h MM Auth: introduce AUTH_ERROR constant. 2016-03-31 11:56:29 +02:00
bsc_api.h amr: Attempt to unbreak the AMR support in the BSC 2015-10-02 15:30:29 +02:00
bsc_msc.h bsc: Check for the rand and then generate a res 2015-07-01 08:16:41 +02:00
bsc_msg_filter.h filter: Move the con_type into the filter_state 2015-05-03 22:09:02 +02:00
bsc_nat.h NAT: reload BSCs config dynamically 2016-04-14 08:37:34 -04:00
bsc_nat_callstats.h nat: Move the callstats to a new header file due sccp usage 2013-04-22 09:07:39 +02:00
bsc_nat_sccp.h filter: Move the con_type into the filter_state 2015-05-03 22:09:02 +02:00
bsc_rll.h misc: Move from u_int to uint types of stdint.h 2011-04-18 17:31:39 +02:00
bss.h hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00
chan_alloc.h chan_alloc: remove ts_alloc() and ts_free() 2015-01-01 12:46:26 +01:00
crc24.h crc24: Include stdint.h as a possible compile fix 2011-04-19 20:06:26 +02:00
ctrl.h enable ctrl bind config for various programs 2016-02-25 12:18:04 +01:00
db.h Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
debug.h add DSUA debug constant 2016-06-13 09:18:51 +00:00
e1_config.h fix some "implicit declaration" warnings in libbsc 2011-09-06 09:32:14 +02:00
gb_proxy.h gbproxy: Count more GSM 04.08 messages 2015-11-10 09:35:30 +01:00
gprs_gb_parse.h gbproxy: Patch BSSGP P-TMSI in PAGING PS messages 2014-10-27 11:59:28 +01:00
gprs_gmm.h rename gsm0408_gprs_rcvmsg() to gsm0408_gprs_rcvmsg_gb() 2016-06-02 03:00:53 +02:00
gprs_gsup_client.h gsup/oap: add OAP to GSUP client. 2015-11-02 12:56:47 +01:00
gprs_llc.h SGSN: move TLLI unassignment into separate function 2016-07-04 08:42:37 +00:00
gprs_sgsn.h prepare sgsn_mm_ctx for Gb and Iu mode (UMTS) 2016-06-01 12:09:36 +00:00
gprs_utils.h move osmo_shift_* / osmo_match_shift_* to libosmogsm 2016-04-29 13:10:37 +02:00
gsm_04_08.h gsm0408: Provide unique strings for the gsm 04.08 message 2016-01-30 09:57:49 +01:00
gsm_04_11.h sms: Increment the RP Message Reference for each transaction 2014-02-20 11:35:56 +01:00
gsm_04_80.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
gsm_data.h Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
gsm_data_shared.h rm dup: use channel type names from libosmocore 2016-06-18 11:34:21 +00:00
gsm_subscriber.h Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
gtphub.h gtphub: simplify/fix: one TEI mapping per tunnel. 2015-12-07 13:37:11 +01:00
handover.h comment tweak for bsc_handover_start() 2016-06-05 23:01:25 +00:00
handover_decision.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
ipaccess.h use new libosmocore gsm_23_003.h for IMEI/IMSI length 2016-04-29 13:10:37 +02:00
meas_feed.h msc: Add channel information to the meas_feed, bump version to v1. 2015-09-14 10:08:41 +02:00
meas_rep.h port over to libosmocore include/osmocom/gsm/meas_rep.h 2014-08-25 09:20:33 +02:00
mgcp.h osmux: Allow to listen to a specific address 2015-10-12 20:06:16 +02:00
mgcp_internal.h mgcp: Use the right bind addresses for NET and BTS 2015-10-12 09:37:35 +02:00
mgcp_transcode.h mgcp: Add transcoding from PCMU as well 2015-08-19 15:44:44 +02:00
misdn.h src: port openBSC over libosmo-abis 2011-08-19 22:38:35 +02:00
mncc.h osmo-nitb: add -M to pass specific MNCC socket path 2016-02-25 12:18:03 +01:00
mncc_int.h mncc: Use the default codec from the built-in mncc mode 2015-09-14 10:12:29 +02:00
nat_rewrite_trie.h nat: Allow to use the prefix lookup to rewrite numbers 2013-07-31 16:36:40 +02:00
network_listen.h [ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attribute 2010-07-22 21:54:19 +02:00
oap.h OAP: use osmo_oap_ prefix for OAP, rather than plain oap_ 2016-04-29 13:10:37 +02:00
oap_messages.h osmo_oap_decode(): Use common argument ordering 2016-04-29 13:10:37 +02:00
openbscdefines.h License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
osmo_bsc.h bsc: Add access list filtering to the BSC 2015-05-03 22:33:35 +02:00
osmo_bsc_grace.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
osmo_bsc_rf.h ctrl: Remember last 'rf_locked' control command 2013-09-11 20:27:08 +02:00
osmo_msc.h bsc_msc: Remove use_count from the subscriber connection 2010-06-28 18:01:47 +08:00
osmo_msc_data.h bsc: Rename core_ncc to core_mnc 2015-07-13 11:06:10 +02:00
osmux.h osmux: Remember the allocated CID and make sure it is released 2015-10-12 09:11:25 +02:00
paging.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
rest_octets.h bsc: Create minimal SI6 rest octets 2016-05-30 21:28:40 +00:00
rrlp.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
rs232.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
rtp_proxy.h Use 'defines' for length and duration of RTP payload 2014-01-26 08:49:35 +01:00
sgsn.h SGSN: add vty config for choosing GPRS encryption 2016-07-04 08:42:07 +00:00
signal.h sgsn: Add various signals consumed by CDR or other client code 2015-05-06 17:14:51 +02:00
silent_call.h silent_call: Use the gsm_subscriber_connection instead of lchan->conn 2010-06-21 16:40:09 +08:00
smpp.h smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
sms_queue.h sms: Allow setting amount of failures through the vty. 2010-12-26 09:40:30 +01:00
socket.h src: use namespace prefix osmo_fd* and osmo_select* 2011-05-06 12:11:23 +02:00
system_information.h Add vty check for max si2quater size 2016-04-22 14:56:06 +02:00
token_auth.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
transaction.h sub: Remove the queue from the subscriber code 2015-04-29 18:53:28 +02:00
trau_mux.h trau: Fix compiler warning about decoded_trau_frame 2014-02-20 11:19:32 +01:00
trau_upqueue.h fix some "implicit declaration" warnings in libtrau 2011-09-06 09:32:14 +02:00
ussd.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
vty.h Add GTP hub initial code base. 2015-11-16 15:16:26 +01:00