-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathinstall.sql
More file actions
76 lines (54 loc) · 2.02 KB
/
install.sql
File metadata and controls
76 lines (54 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
--
-- Database: `asterisk`
--
-- --------------------------------------------------------
--
-- Table structure for table `dialplaninjection_commands`
--
CREATE TABLE IF NOT EXISTS `dialplaninjection_commands` (
`id` int(11) NOT NULL auto_increment,
`injectionid` int(11) NOT NULL default '0',
`command` text NOT NULL,
`sort` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
-- --------------------------------------------------------
--
-- Table structure for table `dialplaninjection_commands_list`
--
CREATE TABLE IF NOT EXISTS `dialplaninjection_commands_list` (
`id` int(11) NOT NULL auto_increment,
`description` varchar(100) NOT NULL default '',
`command` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `dialplaninjection_commands_list`
--
-- --------------------------------------------------------
--
-- Table structure for table `dialplaninjection_dialplaninjections`
--
CREATE TABLE IF NOT EXISTS `dialplaninjection_dialplaninjections` (
`id` int(11) NOT NULL auto_increment,
`description` varchar(100) NOT NULL default '',
`destination` varchar(250) NOT NULL default '',
`exten` varchar(15) default NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `description` (`description`),
UNIQUE KEY `exten` (`exten`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Table structure for table `dialplaninjection_module`
--
CREATE TABLE IF NOT EXISTS `dialplaninjection_module` (
`id` varchar(50) NOT NULL default '',
`value` varchar(100) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `dialplaninjection_module`
--
INSERT IGNORE INTO `dialplaninjection_module` VALUES ('modulerawname', 'dialplaninjection');
INSERT IGNORE INTO `dialplaninjection_module` VALUES ('moduledisplayname', 'Dialplan Injection');
INSERT IGNORE INTO `dialplaninjection_module` VALUES ('moduleversion', '0.1.1m');