laforge
/
openbts-osmo
Archived
1
0
Fork 0
This repository has been archived on 2022-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
openbts-osmo/public-trunk/HLR/maketables.sql

21 lines
505 B
SQL

create database if not exists OpenBTS;
connect OpenBTS;
create table if not exists HRL (
IMSI CHAR(15) NOT NULL, -- subscriber IMSI
MSISDN CHAR(20), -- subscriber E.164/ISDN address
location VARCHAR(255), -- IP address of current Asterisk server
-- Provisioning mask. Each char is the state of one service.
-- Codes:
-- 0: no service
-- I: inbound only
-- L: inbound, outbound local only
-- F: full service
-- index 0, speech.
-- index 1, SMS.
provisioning VARCHAR(2) NOT NULL,
);