_localhost-2024_10_27_16_08_25-dump.sql 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. -- MySQL dump 10.13 Distrib 8.0.28, for macos11 (x86_64)
  2. --
  3. -- Host: 127.0.0.1 Database: libra_bot
  4. -- ------------------------------------------------------
  5. -- Server version 8.0.28
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!50503 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `c_agent`
  18. --
  19. DROP TABLE IF EXISTS `c_agent`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!50503 SET character_set_client = utf8mb4 */;
  22. CREATE TABLE `c_agent` (
  23. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  24. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  25. `agent_num` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席工号',
  26. `agent_name` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席姓名',
  27. `out_id` varchar(32) NOT NULL DEFAULT '' COMMENT '外部id',
  28. `agent_pwd` varchar(64) NOT NULL DEFAULT '' COMMENT '坐席密码',
  29. `agent_type` tinyint NOT NULL DEFAULT '0' COMMENT '坐席类型 0:普通坐席 ;1:组长:2:主管',
  30. `phone_num` varchar(32) NOT NULL DEFAULT '0' COMMENT '分机号',
  31. `distribute` tinyint NOT NULL DEFAULT '1' COMMENT '分配标志 0:不参与排队;1:参与排队',
  32. `agent_state` tinyint NOT NULL DEFAULT '0' COMMENT '账号状态 0:可用;1:禁用',
  33. `identity_type` tinyint NOT NULL DEFAULT '0' COMMENT '身份标识',
  34. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  35. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  36. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  37. PRIMARY KEY (`id`),
  38. UNIQUE KEY `uniq_vcc_id_agent_num` (`saas_id`,`agent_num`),
  39. KEY `idx_vcc_id_out_id` (`saas_id`,`out_id`),
  40. KEY `idx_vcc_id_phone_num` (`saas_id`,`phone_num`)
  41. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='坐席信息表';
  42. /*!40101 SET character_set_client = @saved_cs_client */;
  43. --
  44. -- Dumping data for table `c_agent`
  45. --
  46. LOCK TABLES `c_agent` WRITE;
  47. /*!40000 ALTER TABLE `c_agent` DISABLE KEYS */;
  48. INSERT INTO `c_agent` VALUES (1,'mdj','1000','user0','1000','123456',0,'1000',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:46:31'),(3,'mdj','1001','user1','1001','123456',0,'1001',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(4,'mdj','1002','user2','1002','123456',0,'1002',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(5,'mdj','1003','user3','1003','123456',0,'1003',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(6,'mdj','1004','user4','1004','123456',0,'1004',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(7,'mdj','1005','user5','1005','123456',0,'1005',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(8,'mdj','1006','user6','1006','123456',0,'1006',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(9,'mdj','1007','user7','1007','123456',0,'1007',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(10,'mdj','1008','user8','1008','123456',0,'1008',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10'),(11,'mdj','1009','user9','1009','123456',0,'1009',1,0,0,0,'2024-10-08 08:50:08','2024-10-08 08:49:10');
  49. /*!40000 ALTER TABLE `c_agent` ENABLE KEYS */;
  50. UNLOCK TABLES;
  51. --
  52. -- Table structure for table `c_agent_action_log`
  53. --
  54. DROP TABLE IF EXISTS `c_agent_action_log`;
  55. /*!40101 SET @saved_cs_client = @@character_set_client */;
  56. /*!50503 SET character_set_client = utf8mb4 */;
  57. CREATE TABLE `c_agent_action_log` (
  58. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  59. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  60. `agent_num` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席工号',
  61. `out_id` varchar(32) NOT NULL DEFAULT '' COMMENT '外部id',
  62. `action_type` tinyint NOT NULL DEFAULT '0' COMMENT '行为类型',
  63. `check_state` tinyint NOT NULL DEFAULT '-1' COMMENT '签入或签出',
  64. `pre_check_state` tinyint NOT NULL DEFAULT '-1' COMMENT '签入或签出',
  65. `service_state` tinyint NOT NULL DEFAULT '-1' COMMENT '坐席状态',
  66. `pre_service_state` tinyint NOT NULL DEFAULT '-1' COMMENT '坐席状态',
  67. `check_state_time` timestamp NOT NULL DEFAULT '1999-12-31 16:00:00' COMMENT '签入或签出时间',
  68. `pre_check_state_time` timestamp NOT NULL DEFAULT '1999-12-31 16:00:00' COMMENT '上一次签入或签出时间',
  69. `service_state_time` timestamp NOT NULL DEFAULT '1999-12-31 16:00:00' COMMENT '坐席状态变更时间',
  70. `pre_service_state_time` timestamp NOT NULL DEFAULT '1999-12-31 16:00:00' COMMENT '上一次坐席状态变更时间',
  71. `check_state_duration` bigint NOT NULL DEFAULT '0' COMMENT '行为持续时间',
  72. `service_state_duration` bigint NOT NULL DEFAULT '0' COMMENT '状态持续时间',
  73. `task_id` varchar(32) NOT NULL DEFAULT '' COMMENT '任务Id',
  74. `service_id` varchar(32) NOT NULL DEFAULT '' COMMENT '人工组id',
  75. `event_type` int NOT NULL DEFAULT '0' COMMENT '日志事件类型',
  76. `event_desc` varchar(100) NOT NULL DEFAULT '' COMMENT '日志事件描述',
  77. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  78. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  79. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  80. PRIMARY KEY (`id`),
  81. KEY `idx_create_time` (`create_time`),
  82. KEY `idx_update_time` (`update_time`),
  83. KEY `idx_saas_id_agent_num` (`saas_id`,`agent_num`),
  84. KEY `idx_saas_id_out_id` (`saas_id`,`out_id`),
  85. KEY `idx_saas_id_task_id` (`saas_id`,`task_id`)
  86. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='坐席行为日志表';
  87. /*!40101 SET character_set_client = @saved_cs_client */;
  88. --
  89. -- Dumping data for table `c_agent_action_log`
  90. --
  91. LOCK TABLES `c_agent_action_log` WRITE;
  92. /*!40000 ALTER TABLE `c_agent_action_log` DISABLE KEYS */;
  93. /*!40000 ALTER TABLE `c_agent_action_log` ENABLE KEYS */;
  94. UNLOCK TABLES;
  95. --
  96. -- Table structure for table `c_agent_log`
  97. --
  98. DROP TABLE IF EXISTS `c_agent_log`;
  99. /*!40101 SET @saved_cs_client = @@character_set_client */;
  100. /*!50503 SET character_set_client = utf8mb4 */;
  101. CREATE TABLE `c_agent_log` (
  102. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  103. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  104. `flow_id` varchar(64) NOT NULL DEFAULT '' COMMENT '人工外呼流程ID',
  105. `agent_num` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席工号',
  106. `out_id` varchar(32) NOT NULL DEFAULT '' COMMENT '外部id',
  107. `event_type` tinyint NOT NULL DEFAULT '0' COMMENT '事件类型',
  108. `event` varchar(32) NOT NULL DEFAULT '0' COMMENT '事件',
  109. `content` varchar(64) NOT NULL DEFAULT '' COMMENT '描述',
  110. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  111. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  112. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  113. PRIMARY KEY (`id`),
  114. KEY `idx_saas_id_agent_num` (`saas_id`,`agent_num`),
  115. KEY `idx_saas_id_out_id` (`saas_id`,`out_id`)
  116. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='坐席日志表';
  117. /*!40101 SET character_set_client = @saved_cs_client */;
  118. --
  119. -- Dumping data for table `c_agent_log`
  120. --
  121. LOCK TABLES `c_agent_log` WRITE;
  122. /*!40000 ALTER TABLE `c_agent_log` DISABLE KEYS */;
  123. /*!40000 ALTER TABLE `c_agent_log` ENABLE KEYS */;
  124. UNLOCK TABLES;
  125. --
  126. -- Table structure for table `c_agent_monitor`
  127. --
  128. DROP TABLE IF EXISTS `c_agent_monitor`;
  129. /*!40101 SET @saved_cs_client = @@character_set_client */;
  130. /*!50503 SET character_set_client = utf8mb4 */;
  131. CREATE TABLE `c_agent_monitor` (
  132. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  133. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  134. `agent_num` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席工号',
  135. `out_id` varchar(32) NOT NULL DEFAULT '' COMMENT '外部id',
  136. `identity_type` tinyint NOT NULL DEFAULT '0' COMMENT '身份标识',
  137. `check_state` tinyint NOT NULL DEFAULT '1' COMMENT '是否签入 0:是 1: 否 默认未签入',
  138. `check_scene` varchar(16) NOT NULL DEFAULT '' COMMENT '迁入场景',
  139. `check_in_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '签入时间',
  140. `check_out_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '签出时间',
  141. `service_state` tinyint NOT NULL DEFAULT '0' COMMENT '坐席服务状态 0: 未登录(签出) 1: 置忙 2: 置闲 3: 通话中 4: 后处理 5: 拨号中',
  142. `busy_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '置忙时间',
  143. `idle_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '置闲时间',
  144. `call_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '接通时间',
  145. `hang_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '挂断时间',
  146. `heart_state` tinyint NOT NULL DEFAULT '0' COMMENT '心跳状态 0: 默认 1:正常 2: 异常',
  147. `heart_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '正常心跳时间',
  148. `session_id` varchar(64) NOT NULL DEFAULT '' COMMENT 'sessionId',
  149. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  150. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  151. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  152. PRIMARY KEY (`id`),
  153. UNIQUE KEY `uniq_saas_id_agent_num` (`saas_id`,`agent_num`),
  154. KEY `idx_saas_id_out_id` (`saas_id`,`out_id`)
  155. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='坐席监控表';
  156. /*!40101 SET character_set_client = @saved_cs_client */;
  157. --
  158. -- Dumping data for table `c_agent_monitor`
  159. --
  160. LOCK TABLES `c_agent_monitor` WRITE;
  161. /*!40000 ALTER TABLE `c_agent_monitor` DISABLE KEYS */;
  162. /*!40000 ALTER TABLE `c_agent_monitor` ENABLE KEYS */;
  163. UNLOCK TABLES;
  164. --
  165. -- Table structure for table `c_human_service`
  166. --
  167. DROP TABLE IF EXISTS `c_human_service`;
  168. /*!40101 SET @saved_cs_client = @@character_set_client */;
  169. /*!50503 SET character_set_client = utf8mb4 */;
  170. CREATE TABLE `c_human_service` (
  171. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  172. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  173. `service_id` varchar(32) NOT NULL DEFAULT '' COMMENT '人工组编号',
  174. `service_name` varchar(32) NOT NULL DEFAULT '' COMMENT '人工组名称',
  175. `schedule_key` varchar(32) NOT NULL DEFAULT '' COMMENT '日程编号',
  176. `effective` varchar(32) NOT NULL DEFAULT '0' COMMENT '状态 0:启用(可以或正在进行外呼)1:暂停',
  177. `service_start` varchar(32) NOT NULL DEFAULT '' COMMENT '任务开始时间 yyyyMMddHHmmss',
  178. `service_end` varchar(32) NOT NULL DEFAULT '22200101000000' COMMENT '任务结束时间 yyyyMMddHHmmss',
  179. `distribute` varchar(32) NOT NULL DEFAULT '3' COMMENT '分配策略',
  180. `call_in_limit` varchar(32) NOT NULL DEFAULT '0' COMMENT '呼入线数 限制 固定值0',
  181. `record_type` varchar(32) NOT NULL DEFAULT '1' COMMENT '录音方式 默认0 0:服务器不录 1:服务器录 4:按间隔抽样录 5:按百分比抽样录 固定值 1',
  182. `queue_length` varchar(32) NOT NULL DEFAULT '100' COMMENT '排队长度 固定值 100',
  183. `queue_warning` varchar(32) NOT NULL DEFAULT '100' COMMENT '排队告警 长度 固定值 100',
  184. `queue_timeout` varchar(32) NOT NULL DEFAULT '60' COMMENT '排队超时 时间 固定值 60',
  185. `sum_queue_time` varchar(32) NOT NULL DEFAULT '90' COMMENT '所有排队 时间 单位:秒;默认300: 固定值 90',
  186. `connect_type` varchar(32) NOT NULL DEFAULT '0' COMMENT '连接坐席 类型 默认0 0盲转连接 1桥接连接并超时重排 固定值 0',
  187. `queue_music` varchar(32) NOT NULL DEFAULT '' COMMENT '排队音 全局配置',
  188. `direct_queue_type` varchar(32) NOT NULL DEFAULT '' COMMENT '直接连接 媒体类型 默认1 接入码直接转人工服务能听到排队音 0:直接排队不连接媒体; 1:直接排队连接媒体 全局配置',
  189. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  190. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  191. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  192. PRIMARY KEY (`id`),
  193. KEY `idx_create_time` (`create_time`),
  194. KEY `idx_update_time` (`update_time`),
  195. KEY `idx_saas_id_service_id` (`saas_id`,`service_id`)
  196. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='人工服务组信息';
  197. /*!40101 SET character_set_client = @saved_cs_client */;
  198. --
  199. -- Dumping data for table `c_human_service`
  200. --
  201. LOCK TABLES `c_human_service` WRITE;
  202. /*!40000 ALTER TABLE `c_human_service` DISABLE KEYS */;
  203. INSERT INTO `c_human_service` VALUES (1,'mdj','00000000000000000','默认坐席组','mdj','0','22200101000000','22200101000000','3','0','1','100','100','60','90','0','','',0,'2024-10-27 06:51:07','2023-03-28 09:29:28');
  204. /*!40000 ALTER TABLE `c_human_service` ENABLE KEYS */;
  205. UNLOCK TABLES;
  206. --
  207. -- Table structure for table `c_human_service_map`
  208. --
  209. DROP TABLE IF EXISTS `c_human_service_map`;
  210. /*!40101 SET @saved_cs_client = @@character_set_client */;
  211. /*!50503 SET character_set_client = utf8mb4 */;
  212. CREATE TABLE `c_human_service_map` (
  213. `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  214. `saas_id` varchar(16) NOT NULL DEFAULT '' COMMENT '租户隔离',
  215. `service_id` varchar(32) NOT NULL DEFAULT '' COMMENT '人工组编号',
  216. `service_type` varchar(32) NOT NULL DEFAULT '0' COMMENT '服务类型',
  217. `agent_id` varchar(32) NOT NULL DEFAULT '' COMMENT '坐席工号',
  218. `state` tinyint NOT NULL DEFAULT '0' COMMENT '状态 1激活(签入)',
  219. `is_delete` tinyint NOT NULL DEFAULT '0' COMMENT '删除标识',
  220. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  221. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  222. PRIMARY KEY (`id`),
  223. KEY `idx_create_time` (`create_time`),
  224. KEY `idx_update_time` (`update_time`),
  225. KEY `idx_saas_id_service_id_agent_id` (`saas_id`,`service_id`,`agent_id`)
  226. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='人工服务组与坐席关系';
  227. /*!40101 SET character_set_client = @saved_cs_client */;
  228. --
  229. -- Dumping data for table `c_human_service_map`
  230. --
  231. LOCK TABLES `c_human_service_map` WRITE;
  232. /*!40000 ALTER TABLE `c_human_service_map` DISABLE KEYS */;
  233. INSERT INTO `c_human_service_map` VALUES (1,'mdj','00000000000000000','0','1000',0,0,'2024-10-27 06:50:55','2023-03-28 09:34:52'),(2,'mdj','00000000000000000','0','1001',0,0,'2024-10-27 06:50:55','2023-03-28 09:35:49'),(3,'mdj','00000000000000000','0','1002',0,0,'2024-10-27 06:50:55','2023-04-06 11:16:34'),(4,'mdj','00000000000000000','0','1003',0,0,'2024-10-27 06:50:55','2023-04-06 11:16:57'),(5,'mdj','00000000000000000','1','1004',0,0,'2024-10-27 06:50:55','2023-04-12 09:44:38'),(6,'mdj','00000000000000000','0','1005',0,0,'2024-10-27 06:50:55','2023-04-12 09:58:27'),(7,'mdj','00000000000000000','0','1006',0,0,'2024-10-27 06:50:55','2023-04-12 11:15:34'),(8,'mdj','00000000000000000','0','1007',0,0,'2024-10-27 06:50:55','2023-04-13 03:01:22'),(9,'mdj','00000000000000000','0','1008',0,0,'2024-10-27 06:50:55','2023-04-13 03:01:26'),(10,'mdj','00000000000000000','0','1009',0,0,'2024-10-27 06:50:55','2023-04-13 03:01:30');
  234. /*!40000 ALTER TABLE `c_human_service_map` ENABLE KEYS */;
  235. UNLOCK TABLES;
  236. --
  237. -- Table structure for table `c_phone`
  238. --
  239. DROP TABLE IF EXISTS `c_phone`;
  240. /*!40101 SET @saved_cs_client = @@character_set_client */;
  241. /*!50503 SET character_set_client = utf8mb4 */;
  242. CREATE TABLE `c_phone` (
  243. `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  244. `saas_id` varchar(16) NOT NULL DEFAULT '',
  245. `phone_num` varchar(32) NOT NULL DEFAULT '0',
  246. `phone_pwd` varchar(32) NOT NULL DEFAULT '',
  247. `sip_server` varchar(64) NOT NULL DEFAULT '',
  248. `wss_server` varchar(64) NOT NULL DEFAULT '',
  249. `ice_server` varchar(64) NOT NULL DEFAULT '',
  250. `is_delete` tinyint NOT NULL DEFAULT '0',
  251. `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  252. `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  253. PRIMARY KEY (`id`),
  254. KEY `idx_vcc_id_phone_num` (`saas_id`,`phone_num`)
  255. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='分机信息表';
  256. /*!40101 SET character_set_client = @saved_cs_client */;
  257. --
  258. -- Dumping data for table `c_phone`
  259. --
  260. LOCK TABLES `c_phone` WRITE;
  261. /*!40000 ALTER TABLE `c_phone` DISABLE KEYS */;
  262. INSERT INTO `c_phone` VALUES (1,'mdj','1000','slibra@#123456','sip:1000@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(2,'mdj','1001','slibra@#123456','sip:1001@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(3,'mdj','1002','slibra@#123456','sip:1002@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(4,'mdj','1003','slibra@#123456','sip:1003@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(5,'mdj','1004','slibra@#123456','sip:1004@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(6,'mdj','1005','slibra@#123456','sip:1005@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(7,'mdj','1006','slibra@#123456','sip:1006@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(8,'mdj','1007','slibra@#123456','sip:1007@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(9,'mdj','1008','slibra@#123456','sip:1008@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56'),(10,'mdj','1009','slibra@#123456','sip:1009@pbx.fuxicarbon.com:5060','wss://pbx.fuxicarbon.com:7443','stun:pbx.fuxicarbon.com:3478',1,'2024-10-08 08:43:56','2024-10-08 08:43:56');
  263. /*!40000 ALTER TABLE `c_phone` ENABLE KEYS */;
  264. UNLOCK TABLES;
  265. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  266. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  267. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  268. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  269. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  270. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  271. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  272. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  273. -- Dump completed on 2024-10-27 16:08:26