view doc/app_sip.sql @ 1517:9e233ef0b07e

Add 3GPP TS 29.283 V15.1.0 (2019-09) Add AVPs: - MCPTT-ID, UTF8String, code 4500, section 7.3.2 - Data-Identification, Grouped, code 4501, section 7.3.3 - Data-Identification-Prefix, Unsigned32, code 4502, section 7.3.11 - Data-Identification-Flags, Unsigned64, code 4503, section 7.3.12 - DPR-Flags, Unsigned32, code 4504, section 7.3.13 - DPA-Flags, Unsigned32, code 4505, section 7.3.14 - DUR-Flags, Unsigned32, code 4506, section 7.3.15 - DUA-Flags, Unsigned32, code 4507, section 7.3.16 - NDR-Flags, Unsigned32, code 4508, section 7.3.17 - NDA-Flags, Unsigned32, code 4509, section 7.3.18 - User-Data-Id, Unsigned32, code 4510, section 7.3.19 - MC-Service-User-Profile-Data, Grouped, code 4511, section 7.3.20 - Sequence-Number-29.283, Unsigned32, code 4512, section 7.3.21 - Data, Grouped, code 4513, section 7.3.22 - MCVideo-ID, UTF8String, code 4514, section 7.3.24 - MCData-ID, UTF8String, code 4515, section 7.3.25 Note: Name conflict with 3GPP TS 29.140 Sequence-Number (1107). and 3GPP TS 29.329 Sequence-Number (716). 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). 3GPP TS 29.283 V13.1.0 (2016-06) allocated Sequence-Number (4512). Fix: Sequence-Number (4512) renamed to Sequence-Number-29.283 (4512).
author Luke Mewburn <luke@mewburn.net>
date Thu, 09 Apr 2020 10:32:09 +1000
parents 533188d2e6cc
children
line wrap: on
line source

--Can be used in phpMyAdmin

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- DIAMETER SERVER DATABASE
--

-- --------------------------------------------------------

--
-- Table structure for table `ds_data_types`
--

CREATE TABLE IF NOT EXISTS `ds_data_types` (
  `id_data_type` int(11) NOT NULL AUTO_INCREMENT,
  `label_type` varchar(255) NOT NULL,
  PRIMARY KEY (`id_data_type`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_networks`
--

CREATE TABLE IF NOT EXISTS `ds_networks` (
  `id_network` int(11) NOT NULL AUTO_INCREMENT,
  `label_network` varchar(255) NOT NULL,
  PRIMARY KEY (`id_network`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_sip_aor`
--

CREATE TABLE IF NOT EXISTS `ds_sip_aor` (
  `id_sip_aor` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `sip_aor` varchar(255) NOT NULL,
  `sip_server_uri` varchar(255) DEFAULT NULL,
  `registered` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id_sip_aor`,`id_user`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_sip_services`
--

CREATE TABLE IF NOT EXISTS `ds_sip_services` (
  `id_service` int(11) NOT NULL AUTO_INCREMENT,
  `label_service` varchar(255) NOT NULL,
  PRIMARY KEY (`id_service`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_users`
--

CREATE TABLE IF NOT EXISTS `ds_users` (
  `id_user` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `SIP_Server_URI` varchar(255) DEFAULT NULL,
  `temp_SIP_Server_URI` varchar(255) DEFAULT NULL,
  `authentication_pending` tinyint(1) NOT NULL DEFAULT '0',
  `registrated` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id_user`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_user_data`
--

CREATE TABLE IF NOT EXISTS `ds_user_data` (
  `id_user_data` int(11) NOT NULL AUTO_INCREMENT,
  `id_sip_aor` int(11) NOT NULL,
  `id_data_type` int(11) NOT NULL,
  `data` longblob NOT NULL,
  PRIMARY KEY (`id_user_data`,`id_sip_aor`,`id_data_type`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_user_networks`
--

CREATE TABLE IF NOT EXISTS `ds_user_networks` (
  `id_user_network` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `id_network` int(11) NOT NULL,
  PRIMARY KEY (`id_user_network`,`id_user`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

-- --------------------------------------------------------

--
-- Table structure for table `ds_user_services`
--

CREATE TABLE IF NOT EXISTS `ds_user_services` (
  `id_user_service` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `id_service` int(11) NOT NULL,
  `compulsory` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id_user_service`,`id_user`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

"Welcome to our mercurial repository"