diff --git a/schema/dump.db b/schema/dump.db index 5af686f2..d1501bd3 100644 --- a/schema/dump.db +++ b/schema/dump.db @@ -2062,7 +2062,7 @@ CREATE TABLE `subscriber` ( LOCK TABLES `subscriber` WRITE; /*!40000 ALTER TABLE `subscriber` DISABLE KEYS */; -INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','9a1f7585f920d54df2533185ea7e826d','','476dea9f470266f9c38fe4c660f78e5e','f25259bf46c498593f8790f6772dbb1b',NULL,'9bcb88b6-541a-43da-8fdc-816f5557ff93','','0000-00-00 00:00:00'),(2,'nagios','voip.sipwise.local','nagios4Sipwise!','','e5290263a1b27f90c5630eecc7319715','aba8e5f08f6fc0dd1e18e9e27550b8f0',NULL,'ac1697cf-6933-45ef-9abf-b1278054ded0','','0000-00-00 00:00:00'); +INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','77ac365e1f2b899b08c820975c7d0bad','','414f3cc42add538692ca1fbd477e553a','66d0f05beffc7da03721fe6eaf1921f4',NULL,'9bcb88b6-541a-43da-8fdc-816f5557ff93','','0000-00-00 00:00:00'),(2,'nagios','voip.sipwise.local','nagios4Sipwise!','','e5290263a1b27f90c5630eecc7319715','aba8e5f08f6fc0dd1e18e9e27550b8f0',NULL,'ac1697cf-6933-45ef-9abf-b1278054ded0','','0000-00-00 00:00:00'); /*!40000 ALTER TABLE `subscriber` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `trusted`; @@ -2251,7 +2251,7 @@ CREATE TABLE `cfg_schema` ( LOCK TABLES `cfg_schema` WRITE; /*!40000 ALTER TABLE `cfg_schema` DISABLE KEYS */; -INSERT INTO `cfg_schema` VALUES (1,1,'','2012-09-18 04:07:38'),(2,2,'','2012-09-18 04:07:38'),(3,8374,'spce','2012-09-18 04:07:38'),(4,8411,'spce','2012-09-18 04:07:38'),(5,8615,'spce','2012-09-18 04:07:38'),(6,8708,'spce','2012-09-18 04:07:38'),(7,8871,'spce','2012-09-18 04:07:39'),(8,8873,'spce','2012-09-18 04:07:39'),(9,8886,'spce','2012-09-18 04:07:39'),(10,9084,'spce','2012-09-18 04:07:39'),(11,9119,'spce','2012-09-18 04:07:39'),(12,9259,'spce','2012-09-18 04:07:39'),(13,9562,'spce','2012-09-18 04:07:39'),(14,9564,'spce','2012-09-18 04:07:40'),(15,9658,'spce','2012-09-18 04:07:40'),(16,10088,'spce','2012-09-18 04:07:40'),(17,10226,'spce','2012-09-18 04:07:40'),(18,10233,'spce','2012-09-18 04:07:40'),(19,10432,'spce','2012-09-18 04:07:40'),(20,10443,'spce','2012-09-18 04:07:40'),(21,10472,'spce','2012-09-18 04:07:41'),(22,10534,'spce','2012-09-18 04:07:41'),(23,10699,'spce','2012-09-18 04:07:41'),(24,10700,'spce','2012-09-18 04:07:41'),(25,8874,'spce','2012-09-18 04:07:41'),(26,9830,'spce','2012-09-18 04:07:41'),(27,10468,'spce','2012-09-18 04:07:41'); +INSERT INTO `cfg_schema` VALUES (1,1,'','2012-09-19 04:07:24'),(2,2,'','2012-09-19 04:07:24'),(3,8374,'spce','2012-09-19 04:07:24'),(4,8411,'spce','2012-09-19 04:07:24'),(5,8615,'spce','2012-09-19 04:07:24'),(6,8708,'spce','2012-09-19 04:07:24'),(7,8871,'spce','2012-09-19 04:07:25'),(8,8873,'spce','2012-09-19 04:07:25'),(9,8886,'spce','2012-09-19 04:07:25'),(10,9084,'spce','2012-09-19 04:07:25'),(11,9119,'spce','2012-09-19 04:07:25'),(12,9259,'spce','2012-09-19 04:07:25'),(13,9562,'spce','2012-09-19 04:07:25'),(14,9564,'spce','2012-09-19 04:07:26'),(15,9658,'spce','2012-09-19 04:07:26'),(16,10088,'spce','2012-09-19 04:07:26'),(17,10226,'spce','2012-09-19 04:07:26'),(18,10233,'spce','2012-09-19 04:07:26'),(19,10432,'spce','2012-09-19 04:07:26'),(20,10443,'spce','2012-09-19 04:07:26'),(21,10472,'spce','2012-09-19 04:07:27'),(22,10534,'spce','2012-09-19 04:07:27'),(23,10699,'spce','2012-09-19 04:07:27'),(24,10700,'spce','2012-09-19 04:07:27'),(25,8874,'spce','2012-09-19 04:07:27'),(26,9830,'spce','2012-09-19 04:07:27'),(27,10468,'spce','2012-09-19 04:07:28'); /*!40000 ALTER TABLE `cfg_schema` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `db_schema`; @@ -2264,12 +2264,12 @@ CREATE TABLE `db_schema` ( `applied_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `rev_idx` (`revision`,`node`) -) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=159 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; LOCK TABLES `db_schema` WRITE; /*!40000 ALTER TABLE `db_schema` DISABLE KEYS */; -INSERT INTO `db_schema` VALUES (1,10,'spce','2012-09-18 04:07:07'),(2,20,'spce','2012-09-18 04:07:08'),(3,30,'spce','2012-09-18 04:07:08'),(4,40,'spce','2012-09-18 04:07:08'),(5,50,'spce','2012-09-18 04:07:08'),(6,60,'spce','2012-09-18 04:07:09'),(7,70,'spce','2012-09-18 04:07:09'),(8,80,'spce','2012-09-18 04:07:09'),(9,3972,'spce','2012-09-18 04:07:09'),(10,3975,'spce','2012-09-18 04:07:09'),(11,4026,'spce','2012-09-18 04:07:09'),(12,4042,'spce','2012-09-18 04:07:10'),(13,4063,'spce','2012-09-18 04:07:10'),(14,4085,'spce','2012-09-18 04:07:10'),(15,4095,'spce','2012-09-18 04:07:10'),(16,4112,'spce','2012-09-18 04:07:10'),(17,4145,'spce','2012-09-18 04:07:11'),(18,4496,'spce','2012-09-18 04:07:11'),(19,4665,'spce','2012-09-18 04:07:11'),(20,4668,'spce','2012-09-18 04:07:11'),(21,4701,'spce','2012-09-18 04:07:11'),(22,4711,'spce','2012-09-18 04:07:11'),(23,4712,'spce','2012-09-18 04:07:12'),(24,4717,'spce','2012-09-18 04:07:12'),(25,4735,'spce','2012-09-18 04:07:12'),(26,4762,'spce','2012-09-18 04:07:12'),(27,4832,'spce','2012-09-18 04:07:12'),(28,4875,'spce','2012-09-18 04:07:12'),(29,4968,'spce','2012-09-18 04:07:12'),(30,4984,'spce','2012-09-18 04:07:13'),(31,5000,'spce','2012-09-18 04:07:13'),(32,5249,'spce','2012-09-18 04:07:13'),(33,5283,'spce','2012-09-18 04:07:13'),(34,5300,'spce','2012-09-18 04:07:13'),(35,5347,'spce','2012-09-18 04:07:13'),(36,5471,'spce','2012-09-18 04:07:14'),(37,5472,'spce','2012-09-18 04:07:14'),(38,5538,'spce','2012-09-18 04:07:14'),(39,5543,'spce','2012-09-18 04:07:14'),(40,5553,'spce','2012-09-18 04:07:14'),(41,5603,'spce','2012-09-18 04:07:14'),(42,5604,'spce','2012-09-18 04:07:15'),(43,5607,'spce','2012-09-18 04:07:15'),(44,5670,'spce','2012-09-18 04:07:15'),(45,5708,'spce','2012-09-18 04:07:15'),(46,5709,'spce','2012-09-18 04:07:16'),(47,5722,'spce','2012-09-18 04:07:16'),(48,5726,'spce','2012-09-18 04:07:16'),(49,5728,'spce','2012-09-18 04:07:16'),(50,5737,'spce','2012-09-18 04:07:16'),(51,5744,'spce','2012-09-18 04:07:17'),(52,5749,'spce','2012-09-18 04:07:17'),(53,5800,'spce','2012-09-18 04:07:17'),(54,5824,'spce','2012-09-18 04:07:17'),(55,5826,'spce','2012-09-18 04:07:17'),(56,5831,'spce','2012-09-18 04:07:17'),(57,5833,'spce','2012-09-18 04:07:18'),(58,5843,'spce','2012-09-18 04:07:18'),(59,5973,'spce','2012-09-18 04:07:18'),(60,6254,'spce','2012-09-18 04:07:18'),(61,6346,'spce','2012-09-18 04:07:18'),(62,6424,'spce','2012-09-18 04:07:19'),(63,6425,'spce','2012-09-18 04:07:23'),(64,6435,'spce','2012-09-18 04:07:23'),(65,6436,'spce','2012-09-18 04:07:24'),(66,6459,'spce','2012-09-18 04:07:24'),(67,6465,'spce','2012-09-18 04:07:24'),(68,6551,'spce','2012-09-18 04:07:24'),(69,6560,'spce','2012-09-18 04:07:24'),(70,6568,'spce','2012-09-18 04:07:24'),(71,6619,'spce','2012-09-18 04:07:25'),(72,6624,'spce','2012-09-18 04:07:25'),(73,6643,'spce','2012-09-18 04:07:25'),(74,6712,'spce','2012-09-18 04:07:25'),(75,6746,'spce','2012-09-18 04:07:25'),(76,7006,'spce','2012-09-18 04:07:25'),(77,7036,'spce','2012-09-18 04:07:25'),(78,7065,'spce','2012-09-18 04:07:26'),(79,7095,'spce','2012-09-18 04:07:26'),(80,7209,'spce','2012-09-18 04:07:26'),(81,7252,'spce','2012-09-18 04:07:26'),(82,7259,'spce','2012-09-18 04:07:26'),(83,7260,'spce','2012-09-18 04:07:26'),(84,7485,'spce','2012-09-18 04:07:26'),(85,7493,'spce','2012-09-18 04:07:27'),(86,7496,'spce','2012-09-18 04:07:27'),(87,7500,'spce','2012-09-18 04:07:27'),(88,7644,'spce','2012-09-18 04:07:27'),(89,7647,'spce','2012-09-18 04:07:27'),(90,7655,'spce','2012-09-18 04:07:27'),(91,7656,'spce','2012-09-18 04:07:27'),(92,7764,'spce','2012-09-18 04:07:28'),(93,7937,'spce','2012-09-18 04:07:28'),(94,7991,'spce','2012-09-18 04:07:28'),(95,8169,'spce','2012-09-18 04:07:28'),(96,8293,'spce','2012-09-18 04:07:28'),(97,8378,'spce','2012-09-18 04:07:28'),(98,8408,'spce','2012-09-18 04:07:29'),(99,8461,'spce','2012-09-18 04:07:29'),(100,8466,'spce','2012-09-18 04:07:29'),(101,8467,'spce','2012-09-18 04:07:29'),(102,8629,'spce','2012-09-18 04:07:29'),(103,8704,'spce','2012-09-18 04:07:29'),(104,8846,'spce','2012-09-18 04:07:30'),(105,8878,'spce','2012-09-18 04:07:30'),(106,8997,'spce','2012-09-18 04:07:30'),(107,9069,'spce','2012-09-18 04:07:30'),(108,9086,'spce','2012-09-18 04:07:30'),(109,9106,'spce','2012-09-18 04:07:30'),(110,9114,'spce','2012-09-18 04:07:31'),(111,9119,'spce','2012-09-18 04:07:31'),(112,9150,'spce','2012-09-18 04:07:31'),(113,9154,'spce','2012-09-18 04:07:31'),(114,9159,'spce','2012-09-18 04:07:31'),(115,9166,'spce','2012-09-18 04:07:31'),(116,9187,'spce','2012-09-18 04:07:31'),(117,9188,'spce','2012-09-18 04:07:32'),(118,9204,'spce','2012-09-18 04:07:32'),(119,9205,'spce','2012-09-18 04:07:32'),(120,9221,'spce','2012-09-18 04:07:32'),(121,9222,'spce','2012-09-18 04:07:32'),(122,9228,'spce','2012-09-18 04:07:33'),(123,9249,'spce','2012-09-18 04:07:33'),(124,9256,'spce','2012-09-18 04:07:33'),(125,9303,'spce','2012-09-18 04:07:33'),(126,9312,'spce','2012-09-18 04:07:33'),(127,9458,'spce','2012-09-18 04:07:33'),(128,9625,'spce','2012-09-18 04:07:33'),(129,9630,'spce','2012-09-18 04:07:34'),(130,9665,'spce','2012-09-18 04:07:34'),(131,9675,'spce','2012-09-18 04:07:34'),(132,9702,'spce','2012-09-18 04:07:34'),(133,9703,'spce','2012-09-18 04:07:34'),(134,9723,'spce','2012-09-18 04:07:34'),(135,9733,'spce','2012-09-18 04:07:35'),(136,9791,'spce','2012-09-18 04:07:35'),(137,9868,'spce','2012-09-18 04:07:35'),(138,10180,'spce','2012-09-18 04:07:35'),(139,10203,'spce','2012-09-18 04:07:35'),(140,10210,'spce','2012-09-18 04:07:35'),(141,10268,'spce','2012-09-18 04:07:35'),(142,10272,'spce','2012-09-18 04:07:36'),(143,10287,'spce','2012-09-18 04:07:36'),(144,10290,'spce','2012-09-18 04:07:36'),(145,10331,'spce','2012-09-18 04:07:36'),(146,10332,'spce','2012-09-18 04:07:36'),(147,10423,'spce','2012-09-18 04:07:36'),(148,10538,'spce','2012-09-18 04:07:36'),(149,10639,'spce','2012-09-18 04:07:37'),(150,10728,'spce','2012-09-18 04:07:37'),(151,10860,'spce','2012-09-18 04:07:37'),(152,10877,'spce','2012-09-18 04:07:37'),(153,10890,'spce','2012-09-18 04:07:37'),(154,10934,'spce','2012-09-18 04:07:37'),(155,10950,'spce','2012-09-18 04:07:38'),(156,10951,'spce','2012-09-18 04:07:38'),(157,11039,'spce','2012-09-18 04:07:38'); +INSERT INTO `db_schema` VALUES (1,10,'spce','2012-09-19 04:06:53'),(2,20,'spce','2012-09-19 04:06:54'),(3,30,'spce','2012-09-19 04:06:54'),(4,40,'spce','2012-09-19 04:06:54'),(5,50,'spce','2012-09-19 04:06:55'),(6,60,'spce','2012-09-19 04:06:55'),(7,70,'spce','2012-09-19 04:06:55'),(8,80,'spce','2012-09-19 04:06:55'),(9,3972,'spce','2012-09-19 04:06:55'),(10,3975,'spce','2012-09-19 04:06:55'),(11,4026,'spce','2012-09-19 04:06:56'),(12,4042,'spce','2012-09-19 04:06:56'),(13,4063,'spce','2012-09-19 04:06:56'),(14,4085,'spce','2012-09-19 04:06:56'),(15,4095,'spce','2012-09-19 04:06:56'),(16,4112,'spce','2012-09-19 04:06:57'),(17,4145,'spce','2012-09-19 04:06:57'),(18,4496,'spce','2012-09-19 04:06:57'),(19,4665,'spce','2012-09-19 04:06:57'),(20,4668,'spce','2012-09-19 04:06:57'),(21,4701,'spce','2012-09-19 04:06:57'),(22,4711,'spce','2012-09-19 04:06:58'),(23,4712,'spce','2012-09-19 04:06:58'),(24,4717,'spce','2012-09-19 04:06:58'),(25,4735,'spce','2012-09-19 04:06:58'),(26,4762,'spce','2012-09-19 04:06:58'),(27,4832,'spce','2012-09-19 04:06:58'),(28,4875,'spce','2012-09-19 04:06:58'),(29,4968,'spce','2012-09-19 04:06:59'),(30,4984,'spce','2012-09-19 04:06:59'),(31,5000,'spce','2012-09-19 04:06:59'),(32,5249,'spce','2012-09-19 04:06:59'),(33,5283,'spce','2012-09-19 04:06:59'),(34,5300,'spce','2012-09-19 04:06:59'),(35,5347,'spce','2012-09-19 04:07:00'),(36,5471,'spce','2012-09-19 04:07:00'),(37,5472,'spce','2012-09-19 04:07:00'),(38,5538,'spce','2012-09-19 04:07:00'),(39,5543,'spce','2012-09-19 04:07:00'),(40,5553,'spce','2012-09-19 04:07:01'),(41,5603,'spce','2012-09-19 04:07:01'),(42,5604,'spce','2012-09-19 04:07:01'),(43,5607,'spce','2012-09-19 04:07:01'),(44,5670,'spce','2012-09-19 04:07:01'),(45,5708,'spce','2012-09-19 04:07:01'),(46,5709,'spce','2012-09-19 04:07:02'),(47,5722,'spce','2012-09-19 04:07:02'),(48,5726,'spce','2012-09-19 04:07:02'),(49,5728,'spce','2012-09-19 04:07:02'),(50,5737,'spce','2012-09-19 04:07:03'),(51,5744,'spce','2012-09-19 04:07:03'),(52,5749,'spce','2012-09-19 04:07:03'),(53,5800,'spce','2012-09-19 04:07:03'),(54,5824,'spce','2012-09-19 04:07:03'),(55,5826,'spce','2012-09-19 04:07:04'),(56,5831,'spce','2012-09-19 04:07:04'),(57,5833,'spce','2012-09-19 04:07:04'),(58,5843,'spce','2012-09-19 04:07:04'),(59,5973,'spce','2012-09-19 04:07:04'),(60,6254,'spce','2012-09-19 04:07:04'),(61,6346,'spce','2012-09-19 04:07:04'),(62,6424,'spce','2012-09-19 04:07:05'),(63,6425,'spce','2012-09-19 04:07:09'),(64,6435,'spce','2012-09-19 04:07:09'),(65,6436,'spce','2012-09-19 04:07:10'),(66,6459,'spce','2012-09-19 04:07:10'),(67,6465,'spce','2012-09-19 04:07:10'),(68,6551,'spce','2012-09-19 04:07:10'),(69,6560,'spce','2012-09-19 04:07:10'),(70,6568,'spce','2012-09-19 04:07:10'),(71,6619,'spce','2012-09-19 04:07:10'),(72,6624,'spce','2012-09-19 04:07:11'),(73,6643,'spce','2012-09-19 04:07:11'),(74,6712,'spce','2012-09-19 04:07:11'),(75,6746,'spce','2012-09-19 04:07:11'),(76,7006,'spce','2012-09-19 04:07:11'),(77,7036,'spce','2012-09-19 04:07:11'),(78,7065,'spce','2012-09-19 04:07:11'),(79,7095,'spce','2012-09-19 04:07:12'),(80,7209,'spce','2012-09-19 04:07:12'),(81,7252,'spce','2012-09-19 04:07:12'),(82,7259,'spce','2012-09-19 04:07:12'),(83,7260,'spce','2012-09-19 04:07:12'),(84,7485,'spce','2012-09-19 04:07:12'),(85,7493,'spce','2012-09-19 04:07:12'),(86,7496,'spce','2012-09-19 04:07:13'),(87,7500,'spce','2012-09-19 04:07:13'),(88,7644,'spce','2012-09-19 04:07:13'),(89,7647,'spce','2012-09-19 04:07:13'),(90,7655,'spce','2012-09-19 04:07:13'),(91,7656,'spce','2012-09-19 04:07:13'),(92,7764,'spce','2012-09-19 04:07:14'),(93,7937,'spce','2012-09-19 04:07:14'),(94,7991,'spce','2012-09-19 04:07:14'),(95,8169,'spce','2012-09-19 04:07:14'),(96,8293,'spce','2012-09-19 04:07:14'),(97,8378,'spce','2012-09-19 04:07:14'),(98,8408,'spce','2012-09-19 04:07:15'),(99,8461,'spce','2012-09-19 04:07:15'),(100,8466,'spce','2012-09-19 04:07:15'),(101,8467,'spce','2012-09-19 04:07:15'),(102,8629,'spce','2012-09-19 04:07:15'),(103,8704,'spce','2012-09-19 04:07:15'),(104,8846,'spce','2012-09-19 04:07:16'),(105,8878,'spce','2012-09-19 04:07:16'),(106,8997,'spce','2012-09-19 04:07:16'),(107,9069,'spce','2012-09-19 04:07:16'),(108,9086,'spce','2012-09-19 04:07:16'),(109,9106,'spce','2012-09-19 04:07:16'),(110,9114,'spce','2012-09-19 04:07:16'),(111,9119,'spce','2012-09-19 04:07:17'),(112,9150,'spce','2012-09-19 04:07:17'),(113,9154,'spce','2012-09-19 04:07:17'),(114,9159,'spce','2012-09-19 04:07:17'),(115,9166,'spce','2012-09-19 04:07:17'),(116,9187,'spce','2012-09-19 04:07:17'),(117,9188,'spce','2012-09-19 04:07:17'),(118,9204,'spce','2012-09-19 04:07:18'),(119,9205,'spce','2012-09-19 04:07:18'),(120,9221,'spce','2012-09-19 04:07:18'),(121,9222,'spce','2012-09-19 04:07:18'),(122,9228,'spce','2012-09-19 04:07:19'),(123,9249,'spce','2012-09-19 04:07:19'),(124,9256,'spce','2012-09-19 04:07:19'),(125,9303,'spce','2012-09-19 04:07:19'),(126,9312,'spce','2012-09-19 04:07:19'),(127,9458,'spce','2012-09-19 04:07:19'),(128,9625,'spce','2012-09-19 04:07:19'),(129,9630,'spce','2012-09-19 04:07:20'),(130,9665,'spce','2012-09-19 04:07:20'),(131,9675,'spce','2012-09-19 04:07:20'),(132,9702,'spce','2012-09-19 04:07:20'),(133,9703,'spce','2012-09-19 04:07:20'),(134,9723,'spce','2012-09-19 04:07:20'),(135,9733,'spce','2012-09-19 04:07:20'),(136,9791,'spce','2012-09-19 04:07:21'),(137,9868,'spce','2012-09-19 04:07:21'),(138,10180,'spce','2012-09-19 04:07:21'),(139,10203,'spce','2012-09-19 04:07:21'),(140,10210,'spce','2012-09-19 04:07:21'),(141,10268,'spce','2012-09-19 04:07:21'),(142,10272,'spce','2012-09-19 04:07:22'),(143,10287,'spce','2012-09-19 04:07:22'),(144,10290,'spce','2012-09-19 04:07:22'),(145,10331,'spce','2012-09-19 04:07:22'),(146,10332,'spce','2012-09-19 04:07:22'),(147,10423,'spce','2012-09-19 04:07:22'),(148,10538,'spce','2012-09-19 04:07:22'),(149,10639,'spce','2012-09-19 04:07:23'),(150,10728,'spce','2012-09-19 04:07:23'),(151,10860,'spce','2012-09-19 04:07:23'),(152,10877,'spce','2012-09-19 04:07:23'),(153,10890,'spce','2012-09-19 04:07:23'),(154,10934,'spce','2012-09-19 04:07:23'),(155,10950,'spce','2012-09-19 04:07:23'),(156,10951,'spce','2012-09-19 04:07:24'),(157,11039,'spce','2012-09-19 04:07:24'),(158,11062,'spce','2012-09-19 04:07:24'); /*!40000 ALTER TABLE `db_schema` ENABLE KEYS */; UNLOCK TABLES; @@ -2646,7 +2646,7 @@ CREATE TABLE `voip_dom_preferences` ( LOCK TABLES `voip_dom_preferences` WRITE; /*!40000 ALTER TABLE `voip_dom_preferences` DISABLE KEYS */; -INSERT INTO `voip_dom_preferences` VALUES (1,2,62,'no','2012-09-18 04:07:31'),(2,2,66,'UPDATE_FALLBACK_INVITE','2012-09-18 04:07:31'); +INSERT INTO `voip_dom_preferences` VALUES (1,2,62,'no','2012-09-19 04:07:17'),(2,2,66,'UPDATE_FALLBACK_INVITE','2012-09-19 04:07:17'); /*!40000 ALTER TABLE `voip_dom_preferences` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; @@ -3474,7 +3474,7 @@ CREATE TABLE `voip_preferences` ( LOCK TABLES `voip_preferences` WRITE; /*!40000 ALTER TABLE `voip_preferences` DISABLE KEYS */; -INSERT INTO `voip_preferences` VALUES (1,'lock',0,1,1,0,0,'2012-09-18 04:07:11',0,'string',1,'See \"lock_voip_account_subscriber\" for a list of possible values. A lock value of \"none\" will not be returned to the caller. Read-only setting.'),(2,'block_in_mode',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Specifies the operational mode of the incoming block list. If unset or set to a false value, it is a blacklist (accept all calls except from numbers listed in the block list), with a true value it is a whitelist (reject all calls except from numbers listed in the block list).'),(3,'block_in_list',0,0,1,0,0,'2012-09-18 04:07:36',0,'string',0,'Contains wildcarded SIP usernames (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\") that are (not) allowed to call the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards like in shell patterns.'),(4,'block_in_clir',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Incoming anonymous calls (with calling line identification restriction) are blocked if set to true.'),(5,'block_out_mode',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Specifies the operational mode of the outgoing block list. If unset or set to a false value, it is a blacklist (allow all calls except to numbers listed in the block list), with a true value it is a whitelist (deny all calls except to numbers listed in the block list).'),(6,'block_out_list',0,0,1,0,0,'2012-09-18 04:07:36',0,'string',0,'Contains wildcarded SIP usernames (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\") that are (not) allowed to be called by the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards like in shell patterns.'),(7,'adm_block_in_mode',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Same as \"block_in_mode\" but may only be set by administrators.'),(8,'adm_block_in_list',0,0,1,0,0,'2012-09-18 04:07:11',0,'string',0,'Same as \"block_in_list\" but may only be set by administrators and is applied prior to the user setting.'),(9,'adm_block_in_clir',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Same as \"block_in_clir\" but may only be set by administrators and is applied prior to the user setting.'),(10,'adm_block_out_mode',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'Same as \"block_out_mode\" but may only be set by administrators.'),(11,'adm_block_out_list',0,0,1,0,0,'2012-09-18 04:07:11',0,'string',0,'Same as \"block_out_list\" but may only be set by administrators and is applied prior to the user setting.'),(12,'cfu',1,0,1,0,0,'2012-09-18 04:07:26',1,'int',1,'The id pointing to the \"Call Forward Unconditional\" entry in the voip_cf_mappings table'),(13,'cfb',1,0,1,0,0,'2012-09-18 04:07:26',1,'int',1,'The id pointing to the \"Call Forward Busy\" entry in the voip_cf_mappings table'),(14,'cfna',1,0,1,0,0,'2012-09-18 04:07:26',1,'int',1,'The id pointing to the \"Call Forward Unavailable\" entry in the voip_cf_mappings table'),(15,'cft',1,0,1,0,0,'2012-09-18 04:07:26',1,'int',1,'The id pointing to the \"Call Forward Timeout\" entry in the voip_cf_mappings table'),(16,'ringtimeout',1,1,1,0,0,'2012-09-18 04:07:11',0,'int',0,'Specifies how many seconds the system should wait before redirecting the call if \"cft\" is set.'),(17,'cli',0,1,1,0,0,'2012-09-18 04:07:36',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). \"network-provided calling line identification\" - specifies the SIP username that is used for outgoing calls in the SIP \"From\" and \"P-Asserted-Identity\" headers (as user- and network-provided calling numbers). The content of the \"From\" header may be overridden by the \"user_cli\" preference and client (if allowed by the \"allowed_clis\" preference) SIP signalling. Automatically set to the primary E.164 number specified in the subscriber details.'),(18,'clir',1,1,1,0,0,'2012-09-18 04:07:11',0,'boolean',0,'\"Calling line identification restriction\" - if set to true, the CLI is not displayed on outgoing calls.'),(19,'cc',0,1,1,0,0,'2012-09-18 04:07:11',0,'string',0,'The country code that will be used for routing of dialed numbers without a country code. Defaults to the country code of the E.164 number if the subscriber has one.'),(20,'ac',0,1,1,0,0,'2012-09-18 04:07:11',0,'string',0,'The area code that will be used for routing of dialed numbers without an area code. Defaults to the area code of the E.164 number if the subscriber has one.'),(22,'emergency_prefix',0,1,1,0,0,'2012-09-18 04:07:29',0,'string',0,'A numeric string intended to be used in rewrite rules for emergency numbers.'),(23,'ncos_id',1,1,1,0,0,'2012-09-18 04:07:11',1,'int',0,NULL),(24,'adm_ncos_id',1,1,1,0,0,'2012-09-18 04:07:11',1,'int',0,NULL),(29,'ncos',0,1,1,0,0,'2012-09-18 04:07:11',-1,'string',0,'Specifies the NCOS level that applies to the user.'),(30,'adm_ncos',0,1,1,0,0,'2012-09-18 04:07:11',-1,'string',0,'Same as \"ncos\", but may only be set by administrators and is applied prior to the user setting.'),(31,'block_out_override_pin',0,1,1,0,0,'2012-09-18 04:07:11',0,'string',0,'A PIN code which may be used in a VSC to disable the outgoing user block list and NCOS level for a call.'),(32,'adm_block_out_override_pin',0,1,1,0,0,'2012-09-18 04:07:11',0,'string',0,'Same as \"block_out_override_pin\" but additionally disables the administrative block list and NCOS level.'),(33,'peer_auth_user',0,1,1,0,1,'2012-09-18 04:07:12',0,'string',0,'A username used for authentication against the peer host.'),(34,'peer_auth_pass',0,1,1,0,1,'2012-09-18 04:07:12',0,'string',0,'A password used for authentication against the peer host.'),(35,'unauth_inbound_calls',1,1,0,1,0,'2012-09-18 04:07:12',0,'boolean',0,'Allow unauthenticated inbound calls from FOREIGN domain to users within this domain. Use with care - it allows to flood your users with voice spam.'),(36,'peer_auth_realm',0,1,1,0,1,'2012-09-18 04:07:14',0,'string',0,'A realm (hostname) used to identify and for authentication against a peer host.'),(38,'always_use_rtpproxy',1,1,1,1,1,'2012-09-18 04:07:14',0,'boolean',0,'Force rtp relay for this peer/domain/user.'),(39,'never_use_rtpproxy',1,1,1,1,1,'2012-09-18 04:07:14',0,'boolean',0,'Do not use rtp relay for this peer/domain/user. Rtp will be relayed if other participants have always_use_rtpproxy preference enabled.'),(40,'peer_auth_register',1,1,1,1,1,'2012-09-18 04:07:14',0,'boolean',0,'Specifies whether registration at the peer host is desired.'),(41,'concurrent_max',1,1,1,1,1,'2012-09-18 04:07:14',0,'int',0,'Maximum number of concurrent sessions (calls) for a subscriber or peer.'),(42,'concurrent_max_out',1,1,1,1,1,'2012-09-18 04:07:14',0,'int',0,'Maximum number of concurrent outgoing sessions (calls) coming from a subscriber or going to a peer.'),(43,'allowed_clis',0,0,1,0,0,'2012-09-18 04:07:15',0,'string',0,'A list of shell patterns specifying which CLIs are allowed to be set by the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards as usual in shell patterns.'),(44,'force_outbound_calls_to_peer',1,1,1,1,1,'2012-09-18 04:07:27',0,'boolean',0,'Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!'),(45,'account_id',1,1,1,0,0,'2012-09-18 04:07:16',1,'int',0,NULL),(46,'ext_contract_id',0,1,1,0,0,'2012-09-18 04:07:16',1,'string',0,NULL),(47,'ext_subscriber_id',0,1,1,0,0,'2012-09-18 04:07:16',1,'string',0,NULL),(48,'find_subscriber_by_uuid',1,1,0,0,1,'2012-09-18 04:07:33',0,'boolean',0,'For incoming calls from this peer, find the destination subscriber also using its auth_username used for outbound registration.'),(50,'rewrite_rule_set',1,1,1,1,1,'2012-09-18 04:07:17',-1,'int',0,'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.'),(51,'rewrite_caller_in_dpid',1,1,1,1,1,'2012-09-18 04:07:17',1,'int',0,NULL),(52,'rewrite_callee_in_dpid',1,1,1,1,1,'2012-09-18 04:07:17',1,'int',0,NULL),(53,'rewrite_caller_out_dpid',1,1,1,1,1,'2012-09-18 04:07:17',1,'int',0,NULL),(54,'rewrite_callee_out_dpid',1,1,1,1,1,'2012-09-18 04:07:17',1,'int',0,NULL),(55,'e164_to_ruri',1,1,1,0,0,'2012-09-18 04:07:18',0,'boolean',0,'Send the E164 number instead of SIP AOR as request username when sending INVITE to the subscriber. If a 404 is received the SIP AOR is sent as request URI as fallback.'),(56,'user_cli',0,1,1,0,0,'2012-09-18 04:07:36',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). \"user-provided calling line identification\" - specifies the SIP username that is used for outgoing calls. If set, this is put in the SIP \"From\" header (as user-provided calling number) if a client sends a CLI which is not allowed by \"allowed_clis\" or if \"allowed_clis\" is not set.'),(57,'prepaid',1,1,1,0,0,'2012-09-18 04:07:24',1,'boolean',0,NULL),(58,'always_use_ipv4_for_rtpproxy',1,1,1,1,1,'2012-09-18 04:07:25',0,'boolean',0,'Always force the IPv4 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv6_for_rtpproxy.'),(59,'always_use_ipv6_for_rtpproxy',1,1,1,1,1,'2012-09-18 04:07:25',0,'boolean',0,'Always force the IPv6 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv4_for_rtpproxy.'),(60,'force_inbound_calls_to_peer',1,1,1,1,0,'2012-09-18 04:07:27',0,'boolean',0,'Force calls to this user to be treated as if the user was not local. This helps in migration scenarios.'),(61,'emergency_suffix',0,1,1,0,0,'2012-09-18 04:07:29',0,'string',0,'A numeric string intended to be used in rewrite rules for emergency numbers.'),(62,'sst_enable',0,1,1,1,1,'2012-09-18 04:07:29',0,'enum',0,'Enable SIP Session Timers.'),(63,'sst_expires',1,1,1,1,1,'2012-09-18 04:07:29',0,'int',0,'SIP Session Timers refresh interval (seconds). Should be always greater than min_timer preference. SBC will make refresh at the half of this interval.'),(64,'sst_min_timer',1,1,1,1,1,'2012-09-18 04:07:29',0,'int',0,'Set Min-SE value in SBC. This is also used to build 422 reply if remote Min-SE is smaller than local Min-SE.'),(65,'sst_max_timer',1,1,1,1,1,'2012-09-18 04:07:29',0,'int',0,'Sets upper limit on accepted Min-SE value in in SBC.'),(66,'sst_refresh_method',0,1,1,1,1,'2012-09-18 04:07:29',0,'enum',0,'SIP Session Timers refresh method.'),(67,'sound_set',1,1,1,1,0,'2012-09-18 04:07:30',0,'int',0,'Soundset'),(68,'reject_emergency',1,1,1,1,0,'2012-09-18 04:07:32',0,'boolean',0,'Reject emergency calls from this user or domain.'),(69,'emergency_cli',0,1,1,0,0,'2012-09-18 04:07:36',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). Emergency CLI which can be used in rewrite rules as substitution value.'),(70,'outbound_socket',0,1,1,1,1,'0000-00-00 00:00:00',0,'enum',0,'Outbound socket to be used for SIP communication to this entity'),(71,'inbound_upn',0,1,1,1,1,'0000-00-00 00:00:00',0,'enum',0,'The SIP header field to fetch the user-provided-number from for inbound calls'),(72,'inbound_npn',0,1,0,0,1,'0000-00-00 00:00:00',0,'enum',0,'The SIP header field to fetch the network-provided-number from for inbound calls'),(73,'outbound_from_user',0,1,1,1,1,'2012-09-18 04:07:34',0,'enum',0,'The content to put into the From username for outbound calls from the platform to the subscriber'),(74,'outbound_from_display',0,1,1,1,1,'2012-09-18 04:07:34',0,'enum',0,'The content to put into the From display-name for outbound calls from the platform to the subscriber'),(75,'outbound_pai_user',0,1,1,1,1,'2012-09-18 04:07:34',0,'enum',0,'The content to put into the P-Asserted-Identity username for outbound calls from the platform to the subscriber (use \"None\" to not set header at all)'),(76,'outbound_ppi_user',0,1,1,1,1,'2012-09-18 04:07:34',0,'enum',0,'The content to put into the P-Preferred-Identity username for outbound calls from the platform to the subscriber (use \"None\" to not set header at all)'),(77,'mobile_push_enable',1,1,1,1,0,'2012-09-18 04:07:34',0,'boolean',0,'Send inbound call to Mobile Push server when called subscriber is not registered. This can not be used together with CFNA as call will be then simply forwarded.'),(78,'extension_in_npn',1,1,1,1,0,'2012-09-18 04:07:35',0,'boolean',0,'Search for partial match of user-provided number (UPN) to subscriber\'s primary E164 number and aliases. If it mathes, take UPN as valid wihout allowed_clis check and copy UPN to network-provided number (NPN).'),(79,'concurrent_max_per_account',1,1,1,1,0,'2012-09-18 04:07:36',0,'int',0,'Maximum number of concurrent sessions (calls) for subscribers within the same account'),(80,'concurrent_max_out_per_account',1,1,1,1,0,'2012-09-18 04:07:36',0,'int',0,'Maximum number of concurrent outgoing sessions (calls) for subscribers within the same account'); +INSERT INTO `voip_preferences` VALUES (1,'lock',0,1,1,0,0,'2012-09-19 04:06:57',0,'string',1,'See \"lock_voip_account_subscriber\" for a list of possible values. A lock value of \"none\" will not be returned to the caller. Read-only setting.'),(2,'block_in_mode',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Specifies the operational mode of the incoming block list. If unset or set to a false value, it is a blacklist (accept all calls except from numbers listed in the block list), with a true value it is a whitelist (reject all calls except from numbers listed in the block list).'),(3,'block_in_list',0,0,1,0,0,'2012-09-19 04:07:22',0,'string',0,'Contains wildcarded SIP usernames (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\") that are (not) allowed to call the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards like in shell patterns.'),(4,'block_in_clir',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Incoming anonymous calls (with calling line identification restriction) are blocked if set to true.'),(5,'block_out_mode',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Specifies the operational mode of the outgoing block list. If unset or set to a false value, it is a blacklist (allow all calls except to numbers listed in the block list), with a true value it is a whitelist (deny all calls except to numbers listed in the block list).'),(6,'block_out_list',0,0,1,0,0,'2012-09-19 04:07:22',0,'string',0,'Contains wildcarded SIP usernames (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\") that are (not) allowed to be called by the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards like in shell patterns.'),(7,'adm_block_in_mode',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Same as \"block_in_mode\" but may only be set by administrators.'),(8,'adm_block_in_list',0,0,1,0,0,'2012-09-19 04:06:57',0,'string',0,'Same as \"block_in_list\" but may only be set by administrators and is applied prior to the user setting.'),(9,'adm_block_in_clir',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Same as \"block_in_clir\" but may only be set by administrators and is applied prior to the user setting.'),(10,'adm_block_out_mode',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'Same as \"block_out_mode\" but may only be set by administrators.'),(11,'adm_block_out_list',0,0,1,0,0,'2012-09-19 04:06:57',0,'string',0,'Same as \"block_out_list\" but may only be set by administrators and is applied prior to the user setting.'),(12,'cfu',1,0,1,0,0,'2012-09-19 04:07:12',1,'int',1,'The id pointing to the \"Call Forward Unconditional\" entry in the voip_cf_mappings table'),(13,'cfb',1,0,1,0,0,'2012-09-19 04:07:12',1,'int',1,'The id pointing to the \"Call Forward Busy\" entry in the voip_cf_mappings table'),(14,'cfna',1,0,1,0,0,'2012-09-19 04:07:12',1,'int',1,'The id pointing to the \"Call Forward Unavailable\" entry in the voip_cf_mappings table'),(15,'cft',1,0,1,0,0,'2012-09-19 04:07:12',1,'int',1,'The id pointing to the \"Call Forward Timeout\" entry in the voip_cf_mappings table'),(16,'ringtimeout',1,1,1,0,0,'2012-09-19 04:06:57',0,'int',0,'Specifies how many seconds the system should wait before redirecting the call if \"cft\" is set.'),(17,'cli',0,1,1,0,0,'2012-09-19 04:07:22',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). \"network-provided calling line identification\" - specifies the SIP username that is used for outgoing calls in the SIP \"From\" and \"P-Asserted-Identity\" headers (as user- and network-provided calling numbers). The content of the \"From\" header may be overridden by the \"user_cli\" preference and client (if allowed by the \"allowed_clis\" preference) SIP signalling. Automatically set to the primary E.164 number specified in the subscriber details.'),(18,'clir',1,1,1,0,0,'2012-09-19 04:06:57',0,'boolean',0,'\"Calling line identification restriction\" - if set to true, the CLI is not displayed on outgoing calls.'),(19,'cc',0,1,1,0,0,'2012-09-19 04:06:57',0,'string',0,'The country code that will be used for routing of dialed numbers without a country code. Defaults to the country code of the E.164 number if the subscriber has one.'),(20,'ac',0,1,1,0,0,'2012-09-19 04:06:57',0,'string',0,'The area code that will be used for routing of dialed numbers without an area code. Defaults to the area code of the E.164 number if the subscriber has one.'),(22,'emergency_prefix',0,1,1,0,0,'2012-09-19 04:07:14',0,'string',0,'A numeric string intended to be used in rewrite rules for emergency numbers.'),(23,'ncos_id',1,1,1,0,0,'2012-09-19 04:06:57',1,'int',0,NULL),(24,'adm_ncos_id',1,1,1,0,0,'2012-09-19 04:06:57',1,'int',0,NULL),(29,'ncos',0,1,1,0,0,'2012-09-19 04:06:57',-1,'string',0,'Specifies the NCOS level that applies to the user.'),(30,'adm_ncos',0,1,1,0,0,'2012-09-19 04:06:57',-1,'string',0,'Same as \"ncos\", but may only be set by administrators and is applied prior to the user setting.'),(31,'block_out_override_pin',0,1,1,0,0,'2012-09-19 04:06:57',0,'string',0,'A PIN code which may be used in a VSC to disable the outgoing user block list and NCOS level for a call.'),(32,'adm_block_out_override_pin',0,1,1,0,0,'2012-09-19 04:06:57',0,'string',0,'Same as \"block_out_override_pin\" but additionally disables the administrative block list and NCOS level.'),(33,'peer_auth_user',0,1,1,0,1,'2012-09-19 04:06:58',0,'string',0,'A username used for authentication against the peer host.'),(34,'peer_auth_pass',0,1,1,0,1,'2012-09-19 04:06:58',0,'string',0,'A password used for authentication against the peer host.'),(35,'unauth_inbound_calls',1,1,0,1,0,'2012-09-19 04:06:58',0,'boolean',0,'Allow unauthenticated inbound calls from FOREIGN domain to users within this domain. Use with care - it allows to flood your users with voice spam.'),(36,'peer_auth_realm',0,1,1,0,1,'2012-09-19 04:07:01',0,'string',0,'A realm (hostname) used to identify and for authentication against a peer host.'),(38,'always_use_rtpproxy',1,1,1,1,1,'2012-09-19 04:07:00',0,'boolean',0,'Force rtp relay for this peer/domain/user.'),(39,'never_use_rtpproxy',1,1,1,1,1,'2012-09-19 04:07:00',0,'boolean',0,'Do not use rtp relay for this peer/domain/user. Rtp will be relayed if other participants have always_use_rtpproxy preference enabled.'),(40,'peer_auth_register',1,1,1,1,1,'2012-09-19 04:07:01',0,'boolean',0,'Specifies whether registration at the peer host is desired.'),(41,'concurrent_max',1,1,1,1,1,'2012-09-19 04:07:01',0,'int',0,'Maximum number of concurrent sessions (calls) for a subscriber or peer.'),(42,'concurrent_max_out',1,1,1,1,1,'2012-09-19 04:07:01',0,'int',0,'Maximum number of concurrent outgoing sessions (calls) coming from a subscriber or going to a peer.'),(43,'allowed_clis',0,0,1,0,0,'2012-09-19 04:07:01',0,'string',0,'A list of shell patterns specifying which CLIs are allowed to be set by the subscriber. \"*\", \"?\" and \"[x-y]\" with \"x\" and \"y\" representing numbers from 0 to 9 may be used as wildcards as usual in shell patterns.'),(44,'force_outbound_calls_to_peer',1,1,1,1,1,'2012-09-19 04:07:13',0,'boolean',0,'Force calls from this user/domain/peer to be routed to PSTN even if the callee is local. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!'),(45,'account_id',1,1,1,0,0,'2012-09-19 04:07:02',1,'int',0,NULL),(46,'ext_contract_id',0,1,1,0,0,'2012-09-19 04:07:02',1,'string',0,NULL),(47,'ext_subscriber_id',0,1,1,0,0,'2012-09-19 04:07:02',1,'string',0,NULL),(48,'find_subscriber_by_uuid',1,1,0,0,1,'2012-09-19 04:07:18',0,'boolean',0,'For incoming calls from this peer, find the destination subscriber also using its auth_username used for outbound registration.'),(50,'rewrite_rule_set',1,1,1,1,1,'2012-09-19 04:07:03',-1,'int',0,'Specifies the list of caller and callee rewrite rules which should be applied for incoming and outgoing calls.'),(51,'rewrite_caller_in_dpid',1,1,1,1,1,'2012-09-19 04:07:03',1,'int',0,NULL),(52,'rewrite_callee_in_dpid',1,1,1,1,1,'2012-09-19 04:07:03',1,'int',0,NULL),(53,'rewrite_caller_out_dpid',1,1,1,1,1,'2012-09-19 04:07:03',1,'int',0,NULL),(54,'rewrite_callee_out_dpid',1,1,1,1,1,'2012-09-19 04:07:03',1,'int',0,NULL),(55,'e164_to_ruri',1,1,1,0,0,'2012-09-19 04:07:04',0,'boolean',0,'Send the E164 number instead of SIP AOR as request username when sending INVITE to the subscriber. If a 404 is received the SIP AOR is sent as request URI as fallback.'),(56,'user_cli',0,1,1,0,0,'2012-09-19 04:07:22',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). \"user-provided calling line identification\" - specifies the SIP username that is used for outgoing calls. If set, this is put in the SIP \"From\" header (as user-provided calling number) if a client sends a CLI which is not allowed by \"allowed_clis\" or if \"allowed_clis\" is not set.'),(57,'prepaid',1,1,1,0,0,'2012-09-19 04:07:10',1,'boolean',0,NULL),(58,'always_use_ipv4_for_rtpproxy',1,1,1,1,1,'2012-09-19 04:07:11',0,'boolean',0,'Always force the IPv4 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv6_for_rtpproxy.'),(59,'always_use_ipv6_for_rtpproxy',1,1,1,1,1,'2012-09-19 04:07:11',0,'boolean',0,'Always force the IPv6 address for the RTP relay, regardless of what is autodetected on SIP/SDP level. This is mutually exclusive with always_use_ipv4_for_rtpproxy.'),(60,'force_inbound_calls_to_peer',1,1,1,1,0,'2012-09-19 04:07:13',0,'boolean',0,'Force calls to this user to be treated as if the user was not local. This helps in migration scenarios.'),(61,'emergency_suffix',0,1,1,0,0,'2012-09-19 04:07:14',0,'string',0,'A numeric string intended to be used in rewrite rules for emergency numbers.'),(62,'sst_enable',0,1,1,1,1,'2012-09-19 04:07:15',0,'enum',0,'Enable SIP Session Timers.'),(63,'sst_expires',1,1,1,1,1,'2012-09-19 04:07:15',0,'int',0,'SIP Session Timers refresh interval (seconds). Should be always greater than min_timer preference. SBC will make refresh at the half of this interval.'),(64,'sst_min_timer',1,1,1,1,1,'2012-09-19 04:07:15',0,'int',0,'Set Min-SE value in SBC. This is also used to build 422 reply if remote Min-SE is smaller than local Min-SE.'),(65,'sst_max_timer',1,1,1,1,1,'2012-09-19 04:07:15',0,'int',0,'Sets upper limit on accepted Min-SE value in in SBC.'),(66,'sst_refresh_method',0,1,1,1,1,'2012-09-19 04:07:15',0,'enum',0,'SIP Session Timers refresh method.'),(67,'sound_set',1,1,1,1,0,'2012-09-19 04:07:16',0,'int',0,'Soundset'),(68,'reject_emergency',1,1,1,1,0,'2012-09-19 04:07:18',0,'boolean',0,'Reject emergency calls from this user or domain.'),(69,'emergency_cli',0,1,1,0,0,'2012-09-19 04:07:22',0,'string',0,'SIP username (the localpart of the whole SIP URI, eg., \"user\" of SIP URI \"user@example.com\"). Emergency CLI which can be used in rewrite rules as substitution value.'),(70,'outbound_socket',0,1,1,1,1,'0000-00-00 00:00:00',0,'enum',0,'Outbound socket to be used for SIP communication to this entity'),(71,'inbound_upn',0,1,1,1,1,'0000-00-00 00:00:00',0,'enum',0,'The SIP header field to fetch the user-provided-number from for inbound calls'),(72,'inbound_npn',0,1,0,0,1,'0000-00-00 00:00:00',0,'enum',0,'The SIP header field to fetch the network-provided-number from for inbound calls'),(73,'outbound_from_user',0,1,1,1,1,'2012-09-19 04:07:20',0,'enum',0,'The content to put into the From username for outbound calls from the platform to the subscriber'),(74,'outbound_from_display',0,1,1,1,1,'2012-09-19 04:07:20',0,'enum',0,'The content to put into the From display-name for outbound calls from the platform to the subscriber'),(75,'outbound_pai_user',0,1,1,1,1,'2012-09-19 04:07:20',0,'enum',0,'The content to put into the P-Asserted-Identity username for outbound calls from the platform to the subscriber (use \"None\" to not set header at all)'),(76,'outbound_ppi_user',0,1,1,1,1,'2012-09-19 04:07:20',0,'enum',0,'The content to put into the P-Preferred-Identity username for outbound calls from the platform to the subscriber (use \"None\" to not set header at all)'),(77,'mobile_push_enable',1,1,1,1,0,'2012-09-19 04:07:20',0,'boolean',0,'Send inbound call to Mobile Push server when called subscriber is not registered. This can not be used together with CFNA as call will be then simply forwarded.'),(78,'extension_in_npn',1,1,1,1,0,'2012-09-19 04:07:21',0,'boolean',0,'Search for partial match of user-provided number (UPN) to subscriber\'s primary E164 number and aliases. If it mathes, take UPN as valid wihout allowed_clis check and copy UPN to network-provided number (NPN).'),(79,'concurrent_max_per_account',1,1,1,1,0,'2012-09-19 04:07:22',0,'int',0,'Maximum number of concurrent sessions (calls) for subscribers within the same account'),(80,'concurrent_max_out_per_account',1,1,1,1,0,'2012-09-19 04:07:22',0,'int',0,'Maximum number of concurrent outgoing sessions (calls) for subscribers within the same account'); /*!40000 ALTER TABLE `voip_preferences` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ; @@ -3569,11 +3569,13 @@ FOR EACH ROW BEGIN INSERT into voip_dom_preferences (domain_id, attribute_id, value) SELECT id, NEW.preference_id, NEW.value FROM voip_domains; - ELSEIF (NEW.peer_pref=1 AND NEW.default_val = 1 AND NEW.value IS NOT NULL) THEN + END IF; + IF (NEW.peer_pref=1 AND NEW.default_val = 1 AND NEW.value IS NOT NULL) THEN INSERT into voip_peer_preferences (peer_host_id, attribute_id, value) SELECT id, NEW.preference_id, NEW.value FROM voip_peer_hosts; - ELSEIF (NEW.usr_pref=1 AND NEW.default_val = 1 AND NEW.value IS NOT NULL) THEN + END IF; + IF (NEW.usr_pref=1 AND NEW.default_val = 1 AND NEW.value IS NOT NULL) THEN INSERT into voip_usr_preferences (subscriber_id, attribute_id, value) SELECT id, NEW.preference_id, NEW.value FROM voip_subscribers; @@ -3596,11 +3598,11 @@ DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`sipwise`@`localhost`*/ /*!50003 TRIGGER enum_update AFTER UPDATE ON voip_preferences_enum FOR EACH ROW BEGIN UPDATE voip_usr_preferences SET value=NEW.value - WHERE attribute_id=NEW.preference_id; + WHERE attribute_id=NEW.preference_id AND value=OLD.value; UPDATE voip_dom_preferences SET value=NEW.value - WHERE attribute_id=NEW.preference_id; + WHERE attribute_id=NEW.preference_id AND value=OLD.value; UPDATE voip_peer_preferences SET value=NEW.value - WHERE attribute_id=NEW.preference_id; + WHERE attribute_id=NEW.preference_id AND value=OLD.value; END */;; DELIMITER ; /*!50003 SET sql_mode = @saved_sql_mode */ ; @@ -4177,7 +4179,7 @@ CREATE TABLE `voip_subscribers` ( LOCK TABLES `voip_subscribers` WRITE; /*!40000 ALTER TABLE `voip_subscribers` DISABLE KEYS */; -INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','9a1f7585f920d54df2533185ea7e826d',0,NULL,NULL,NULL,NULL,NULL,'2012-09-18 04:07:18','0000-00-00 00:00:00'),(4,'nagios',2,'ac1697cf-6933-45ef-9abf-b1278054ded0','nagios4Sipwise!',0,NULL,NULL,NULL,NULL,NULL,'2012-09-18 04:07:18','0000-00-00 00:00:00'); +INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','77ac365e1f2b899b08c820975c7d0bad',0,NULL,NULL,NULL,NULL,NULL,'2012-09-19 04:07:04','0000-00-00 00:00:00'),(4,'nagios',2,'ac1697cf-6933-45ef-9abf-b1278054ded0','nagios4Sipwise!',0,NULL,NULL,NULL,NULL,NULL,'2012-09-19 04:07:04','0000-00-00 00:00:00'); /*!40000 ALTER TABLE `voip_subscribers` ENABLE KEYS */; UNLOCK TABLES; /*!50003 SET @saved_cs_client = @@character_set_client */ ;