Browse Source

更新告警音

Yu.ding 4 years ago
parent
commit
2c423586d7

BIN
.DS_Store


BIN
usr/.DS_Store


BIN
usr/local/.DS_Store


BIN
usr/local/defaults/.DS_Store


BIN
usr/local/defaults/etc/.DS_Store


BIN
usr/local/defaults/etc/asterisk/.DS_Store


BIN
usr/local/defaults/etc/asterisk/sysconf/.DS_Store


+ 73 - 10
usr/local/defaults/etc/asterisk/sysconf/database/coopaging_db.sql

@@ -1014,20 +1014,83 @@ CREATE TABLE `t_paging_play_list` (
 
 LOCK TABLES `t_paging_play_list` WRITE;
 /*!40000 ALTER TABLE `t_paging_play_list` DISABLE KEYS */;
-INSERT INTO `t_paging_play_list` VALUES (1,'emergency',NULL,'{"display":true}','[]','2019-08-02 08:01:07','2019-08-05 11:07:41');
-INSERT INTO `t_paging_play_list` VALUES (2,'fire',NULL,'{"display":true}','[]','2019-08-02 08:02:19','2019-08-02 08:46:19');
-INSERT INTO `t_paging_play_list` VALUES (3,'air_defence',NULL,'{"display":true}','[]','2019-08-02 08:03:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (4,'debris_flow',NULL,'{"display":false}','[]','2019-08-02 08:04:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (5,'tornado',NULL,'{"display":false}','[]','2019-08-02 08:05:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (6,'earthquake',NULL,'{"display":false}','[]','2019-08-02 08:06:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (7,'tsunami',NULL,'{"display":false}','[]','2019-08-02 08:07:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (8,'emergency_1',NULL,'{"display":false}','[]','2019-08-02 08:08:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (9,'emergency_2',NULL,'{"display":false}','[]','2019-08-02 08:09:26','2019-08-02 08:46:26');
-INSERT INTO `t_paging_play_list` VALUES (10,'emergency_3',NULL,'{"display":false}','[]','2019-08-02 08:10:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (1,'bell',NULL,'{"display":true}','[1]','2019-08-02 08:08:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (2,'emergency',NULL,'{"display":true}','[1]','2019-08-02 08:01:07','2019-08-05 11:07:41');
+INSERT INTO `t_paging_play_list` VALUES (3,'fire',NULL,'{"display":true}','[1]','2019-08-02 08:02:19','2019-08-02 08:46:19');
+INSERT INTO `t_paging_play_list` VALUES (4,'air_defence',NULL,'{"display":false}','[1]','2019-08-02 08:03:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (5,'tornado',NULL,'{"display":false}','[1]','2019-08-02 08:05:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (6,'earthquake',NULL,'{"display":false}','[1]','2019-08-02 08:06:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (7,'debris_flow',NULL,'{"display":false}','[1]','2019-08-02 08:04:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (8,'tsunami',NULL,'{"display":false}','[1]','2019-08-02 08:07:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (9,'emergency_1',NULL,'{"display":false}','[1]','2019-08-02 08:09:26','2019-08-02 08:46:26');
+INSERT INTO `t_paging_play_list` VALUES (10,'emergency_2',NULL,'{"display":false}','[1]','2019-08-02 08:10:26','2019-08-02 08:46:26');
 /*!40000 ALTER TABLE `t_paging_play_list` ENABLE KEYS */;
 UNLOCK TABLES;
 
 --
+-- Table structure for table `t_paging_music_library`
+--
+
+DROP TABLE IF EXISTS `t_paging_music_library`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+
+CREATE TABLE `t_paging_music_library` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `name` varchar(255) DEFAULT NULL,
+  `path` varchar(255) DEFAULT NULL,
+  `type` varchar(255) DEFAULT NULL,
+  `createdAt` datetime DEFAULT NULL,
+  `updatedAt` datetime DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `path` (`path`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `t_paging_play_list`
+--
+
+LOCK TABLES `t_paging_music_library` WRITE;
+/*!40000 ALTER TABLE `t_paging_music_library` DISABLE KEYS */;
+INSERT INTO `t_paging_music_library` VALUES (1,'钟声提醒','/music/bell.mp3','warning','2019-08-02 08:01:07','2019-08-05 11:07:41');
+INSERT INTO `t_paging_music_library` VALUES (2,'紧急告警','/music/emergency.mp3','warning','2019-08-02 08:01:07','2019-08-05 11:07:41');
+INSERT INTO `t_paging_music_library` VALUES (3,'消防警报','/music/fire.mp3','warning','2019-08-02 08:01:07','2019-08-05 11:07:41');
+INSERT INTO `t_paging_music_library` VALUES (4,'防空警报','/music/air_defence.mp3','warning','2019-08-02 08:01:07','2019-08-05 11:07:41');
+INSERT INTO `t_paging_music_library` VALUES (5,'龙卷风警报','/music/tornado.mp3','warning','2019-08-02 08:01:07','2019-08-05 11:07:41');
+/*!40000 ALTER TABLE `t_paging_music_library` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `t_paging_library_list_map`
+--
+
+DROP TABLE IF EXISTS `t_paging_library_list_map`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+
+CREATE TABLE `t_paging_library_list_map` (
+  `createdAt` datetime NOT NULL,
+  `updatedAt` datetime NOT NULL,
+  `MusicLibraryId` int(11) NOT NULL,
+  `PlayListId` int(11) NOT NULL,
+  PRIMARY KEY (`MusicLibraryId`,`PlayListId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `t_paging_play_list`
+--
+
+LOCK TABLES `t_paging_library_list_map` WRITE;
+/*!40000 ALTER TABLE `t_paging_library_list_map` DISABLE KEYS */;
+INSERT INTO `t_paging_library_list_map` VALUES ('2019-08-02 08:01:07','2019-08-05 11:07:41',1,1);
+INSERT INTO `t_paging_library_list_map` VALUES ('2019-08-02 08:01:07','2019-08-05 11:07:41',2,2);
+INSERT INTO `t_paging_library_list_map` VALUES ('2019-08-02 08:01:07','2019-08-05 11:07:41',3,3);
+INSERT INTO `t_paging_library_list_map` VALUES ('2019-08-02 08:01:07','2019-08-05 11:07:41',4,4);
+INSERT INTO `t_paging_library_list_map` VALUES ('2019-08-02 08:01:07','2019-08-05 11:07:41',5,5);
+/*!40000 ALTER TABLE `t_paging_library_list_map` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
 -- Table structure for table `t_holidays_range`
 --