diff --git a/schema/dump.db b/schema/dump.db
index ce687f15..f6106bb1 100644
--- a/schema/dump.db
+++ b/schema/dump.db
@@ -657,7 +657,7 @@ CREATE TABLE `contracts` (
 
 LOCK TABLES `contracts` WRITE;
 /*!40000 ALTER TABLE `contracts` DISABLE KEYS */;
-INSERT INTO `contracts` VALUES (1,NULL,NULL,NULL,NULL,'active',NULL,'2012-09-03 16:02:25','2012-09-03 16:02:25','2012-09-03 16:02:25',NULL);
+INSERT INTO `contracts` VALUES (1,NULL,NULL,NULL,NULL,'active',NULL,'2012-09-03 16:24:20','2012-09-03 16:24:20','2012-09-03 16:24:20',NULL);
 /*!40000 ALTER TABLE `contracts` ENABLE KEYS */;
 UNLOCK TABLES;
 DROP TABLE IF EXISTS `credit_payments`;
@@ -2060,7 +2060,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','499187eef57cdee845f8e98bf81c04b4','','1cece14d3af643f05273228e790ce1b7','90d1398204f968fc9bca32689d933b90',NULL,'9bcb88b6-541a-43da-8fdc-816f5557ff93','','2012-09-03 16:02:41'),(2,'nagios','voip.sipwise.local','nagios4Sipwise!','','e5290263a1b27f90c5630eecc7319715','aba8e5f08f6fc0dd1e18e9e27550b8f0',NULL,'ac1697cf-6933-45ef-9abf-b1278054ded0','','2012-09-03 16:02:41');
+INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','3ce39530696080435b2625be8de48786','','d2635d573e32f8e49bea5b8244d6f54f','457794a1beffd43c1cbe04e3cb5c0229',NULL,'9bcb88b6-541a-43da-8fdc-816f5557ff93','','2012-09-03 16:24:36'),(2,'nagios','voip.sipwise.local','nagios4Sipwise!','','e5290263a1b27f90c5630eecc7319715','aba8e5f08f6fc0dd1e18e9e27550b8f0',NULL,'ac1697cf-6933-45ef-9abf-b1278054ded0','','2012-09-03 16:24:36');
 /*!40000 ALTER TABLE `subscriber` ENABLE KEYS */;
 UNLOCK TABLES;
 DROP TABLE IF EXISTS `trusted`;
@@ -2249,7 +2249,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-03 16:03:09'),(2,2,'','2012-09-03 16:03:09'),(3,8374,'spce','2012-09-03 16:03:09'),(4,8411,'spce','2012-09-03 16:03:10'),(5,8615,'spce','2012-09-03 16:03:10'),(6,8708,'spce','2012-09-03 16:03:10'),(7,8871,'spce','2012-09-03 16:03:10'),(8,8873,'spce','2012-09-03 16:03:10'),(9,8886,'spce','2012-09-03 16:03:10'),(10,9084,'spce','2012-09-03 16:03:11'),(11,9119,'spce','2012-09-03 16:03:11'),(12,9259,'spce','2012-09-03 16:03:11'),(13,9562,'spce','2012-09-03 16:03:11'),(14,9564,'spce','2012-09-03 16:03:11'),(15,9658,'spce','2012-09-03 16:03:11'),(16,10088,'spce','2012-09-03 16:03:12'),(17,10226,'spce','2012-09-03 16:03:12'),(18,10233,'spce','2012-09-03 16:03:12'),(19,10432,'spce','2012-09-03 16:03:12'),(20,10443,'spce','2012-09-03 16:03:12'),(21,10472,'spce','2012-09-03 16:03:12'),(22,10534,'spce','2012-09-03 16:03:12'),(23,10699,'spce','2012-09-03 16:03:13'),(24,10700,'spce','2012-09-03 16:03:13'),(25,8874,'spce','2012-09-03 16:03:13'),(26,9830,'spce','2012-09-03 16:03:13'),(27,10468,'spce','2012-09-03 16:03:13');
+INSERT INTO `cfg_schema` VALUES (1,1,'','2012-09-03 16:25:05'),(2,2,'','2012-09-03 16:25:05'),(3,8374,'spce','2012-09-03 16:25:05'),(4,8411,'spce','2012-09-03 16:25:05'),(5,8615,'spce','2012-09-03 16:25:05'),(6,8708,'spce','2012-09-03 16:25:05'),(7,8871,'spce','2012-09-03 16:25:05'),(8,8873,'spce','2012-09-03 16:25:06'),(9,8886,'spce','2012-09-03 16:25:06'),(10,9084,'spce','2012-09-03 16:25:06'),(11,9119,'spce','2012-09-03 16:25:06'),(12,9259,'spce','2012-09-03 16:25:06'),(13,9562,'spce','2012-09-03 16:25:06'),(14,9564,'spce','2012-09-03 16:25:06'),(15,9658,'spce','2012-09-03 16:25:07'),(16,10088,'spce','2012-09-03 16:25:07'),(17,10226,'spce','2012-09-03 16:25:07'),(18,10233,'spce','2012-09-03 16:25:07'),(19,10432,'spce','2012-09-03 16:25:07'),(20,10443,'spce','2012-09-03 16:25:07'),(21,10472,'spce','2012-09-03 16:25:08'),(22,10534,'spce','2012-09-03 16:25:08'),(23,10699,'spce','2012-09-03 16:25:08'),(24,10700,'spce','2012-09-03 16:25:08'),(25,8874,'spce','2012-09-03 16:25:08'),(26,9830,'spce','2012-09-03 16:25:09'),(27,10468,'spce','2012-09-03 16:25:09');
 /*!40000 ALTER TABLE `cfg_schema` ENABLE KEYS */;
 UNLOCK TABLES;
 DROP TABLE IF EXISTS `db_schema`;
@@ -2267,7 +2267,7 @@ CREATE TABLE `db_schema` (
 
 LOCK TABLES `db_schema` WRITE;
 /*!40000 ALTER TABLE `db_schema` DISABLE KEYS */;
-INSERT INTO `db_schema` VALUES (1,10,'spce','2012-09-03 16:02:25'),(2,20,'spce','2012-09-03 16:02:26'),(3,30,'spce','2012-09-03 16:02:27'),(4,40,'spce','2012-09-03 16:02:27'),(5,50,'spce','2012-09-03 16:02:28'),(6,60,'spce','2012-09-03 16:02:28'),(7,70,'spce','2012-09-03 16:02:28'),(8,80,'spce','2012-09-03 16:02:28'),(9,3972,'spce','2012-09-03 16:02:29'),(10,3975,'spce','2012-09-03 16:02:29'),(11,4026,'spce','2012-09-03 16:02:29'),(12,4042,'spce','2012-09-03 16:02:29'),(13,4063,'spce','2012-09-03 16:02:29'),(14,4085,'spce','2012-09-03 16:02:30'),(15,4095,'spce','2012-09-03 16:02:30'),(16,4112,'spce','2012-09-03 16:02:30'),(17,4145,'spce','2012-09-03 16:02:30'),(18,4496,'spce','2012-09-03 16:02:31'),(19,4665,'spce','2012-09-03 16:02:31'),(20,4668,'spce','2012-09-03 16:02:31'),(21,4701,'spce','2012-09-03 16:02:32'),(22,4711,'spce','2012-09-03 16:02:32'),(23,4712,'spce','2012-09-03 16:02:32'),(24,4717,'spce','2012-09-03 16:02:32'),(25,4735,'spce','2012-09-03 16:02:32'),(26,4762,'spce','2012-09-03 16:02:33'),(27,4832,'spce','2012-09-03 16:02:33'),(28,4875,'spce','2012-09-03 16:02:33'),(29,4968,'spce','2012-09-03 16:02:33'),(30,4984,'spce','2012-09-03 16:02:33'),(31,5000,'spce','2012-09-03 16:02:34'),(32,5249,'spce','2012-09-03 16:02:34'),(33,5283,'spce','2012-09-03 16:02:34'),(34,5300,'spce','2012-09-03 16:02:35'),(35,5347,'spce','2012-09-03 16:02:35'),(36,5471,'spce','2012-09-03 16:02:35'),(37,5472,'spce','2012-09-03 16:02:35'),(38,5538,'spce','2012-09-03 16:02:35'),(39,5543,'spce','2012-09-03 16:02:36'),(40,5553,'spce','2012-09-03 16:02:36'),(41,5603,'spce','2012-09-03 16:02:36'),(42,5604,'spce','2012-09-03 16:02:36'),(43,5607,'spce','2012-09-03 16:02:36'),(44,5670,'spce','2012-09-03 16:02:37'),(45,5708,'spce','2012-09-03 16:02:37'),(46,5709,'spce','2012-09-03 16:02:38'),(47,5722,'spce','2012-09-03 16:02:38'),(48,5726,'spce','2012-09-03 16:02:39'),(49,5728,'spce','2012-09-03 16:02:39'),(50,5737,'spce','2012-09-03 16:02:39'),(51,5744,'spce','2012-09-03 16:02:39'),(52,5749,'spce','2012-09-03 16:02:39'),(53,5800,'spce','2012-09-03 16:02:40'),(54,5824,'spce','2012-09-03 16:02:40'),(55,5826,'spce','2012-09-03 16:02:40'),(56,5831,'spce','2012-09-03 16:02:40'),(57,5833,'spce','2012-09-03 16:02:41'),(58,5843,'spce','2012-09-03 16:02:41'),(59,5973,'spce','2012-09-03 16:02:41'),(60,6254,'spce','2012-09-03 16:02:41'),(61,6346,'spce','2012-09-03 16:02:41'),(62,6424,'spce','2012-09-03 16:02:42'),(63,6425,'spce','2012-09-03 16:02:51'),(64,6435,'spce','2012-09-03 16:02:51'),(65,6436,'spce','2012-09-03 16:02:52'),(66,6459,'spce','2012-09-03 16:02:52'),(67,6465,'spce','2012-09-03 16:02:52'),(68,6551,'spce','2012-09-03 16:02:52'),(69,6560,'spce','2012-09-03 16:02:53'),(70,6568,'spce','2012-09-03 16:02:53'),(71,6619,'spce','2012-09-03 16:02:53'),(72,6624,'spce','2012-09-03 16:02:53'),(73,6643,'spce','2012-09-03 16:02:53'),(74,6712,'spce','2012-09-03 16:02:53'),(75,6746,'spce','2012-09-03 16:02:54'),(76,7006,'spce','2012-09-03 16:02:54'),(77,7036,'spce','2012-09-03 16:02:54'),(78,7065,'spce','2012-09-03 16:02:54'),(79,7095,'spce','2012-09-03 16:02:54'),(80,7209,'spce','2012-09-03 16:02:55'),(81,7252,'spce','2012-09-03 16:02:55'),(82,7259,'spce','2012-09-03 16:02:55'),(83,7260,'spce','2012-09-03 16:02:55'),(84,7485,'spce','2012-09-03 16:02:55'),(85,7493,'spce','2012-09-03 16:02:55'),(86,7496,'spce','2012-09-03 16:02:56'),(87,7500,'spce','2012-09-03 16:02:56'),(88,7644,'spce','2012-09-03 16:02:56'),(89,7647,'spce','2012-09-03 16:02:56'),(90,7655,'spce','2012-09-03 16:02:56'),(91,7656,'spce','2012-09-03 16:02:57'),(92,7764,'spce','2012-09-03 16:02:57'),(93,7937,'spce','2012-09-03 16:02:57'),(94,7991,'spce','2012-09-03 16:02:57'),(95,8169,'spce','2012-09-03 16:02:57'),(96,8293,'spce','2012-09-03 16:02:58'),(97,8378,'spce','2012-09-03 16:02:58'),(98,8408,'spce','2012-09-03 16:02:58'),(99,8461,'spce','2012-09-03 16:02:58'),(100,8466,'spce','2012-09-03 16:02:58'),(101,8467,'spce','2012-09-03 16:02:59'),(102,8629,'spce','2012-09-03 16:02:59'),(103,8704,'spce','2012-09-03 16:02:59'),(104,8846,'spce','2012-09-03 16:02:59'),(105,8878,'spce','2012-09-03 16:02:59'),(106,8997,'spce','2012-09-03 16:03:00'),(107,9069,'spce','2012-09-03 16:03:00'),(108,9086,'spce','2012-09-03 16:03:00'),(109,9106,'spce','2012-09-03 16:03:00'),(110,9114,'spce','2012-09-03 16:03:00'),(111,9119,'spce','2012-09-03 16:03:01'),(112,9150,'spce','2012-09-03 16:03:01'),(113,9154,'spce','2012-09-03 16:03:01'),(114,9159,'spce','2012-09-03 16:03:01'),(115,9166,'spce','2012-09-03 16:03:01'),(116,9187,'spce','2012-09-03 16:03:02'),(117,9188,'spce','2012-09-03 16:03:02'),(118,9204,'spce','2012-09-03 16:03:02'),(119,9205,'spce','2012-09-03 16:03:03'),(120,9221,'spce','2012-09-03 16:03:03'),(121,9222,'spce','2012-09-03 16:03:03'),(122,9228,'spce','2012-09-03 16:03:03'),(123,9249,'spce','2012-09-03 16:03:03'),(124,9256,'spce','2012-09-03 16:03:04'),(125,9303,'spce','2012-09-03 16:03:04'),(126,9312,'spce','2012-09-03 16:03:04'),(127,9458,'spce','2012-09-03 16:03:04'),(128,9625,'spce','2012-09-03 16:03:04'),(129,9630,'spce','2012-09-03 16:03:05'),(130,9665,'spce','2012-09-03 16:03:05'),(131,9675,'spce','2012-09-03 16:03:05'),(132,9702,'spce','2012-09-03 16:03:05'),(133,9703,'spce','2012-09-03 16:03:05'),(134,9723,'spce','2012-09-03 16:03:06'),(135,9733,'spce','2012-09-03 16:03:06'),(136,9791,'spce','2012-09-03 16:03:06'),(137,9868,'spce','2012-09-03 16:03:06'),(138,10180,'spce','2012-09-03 16:03:07'),(139,10203,'spce','2012-09-03 16:03:07'),(140,10210,'spce','2012-09-03 16:03:07'),(141,10268,'spce','2012-09-03 16:03:07'),(142,10272,'spce','2012-09-03 16:03:07'),(143,10287,'spce','2012-09-03 16:03:07'),(144,10290,'spce','2012-09-03 16:03:08'),(145,10331,'spce','2012-09-03 16:03:08'),(146,10332,'spce','2012-09-03 16:03:08'),(147,10423,'spce','2012-09-03 16:03:08'),(148,10538,'spce','2012-09-03 16:03:08'),(149,10639,'spce','2012-09-03 16:03:08'),(150,10728,'spce','2012-09-03 16:03:09'),(151,10860,'spce','2012-09-03 16:03:09'),(152,10877,'spce','2012-09-03 16:03:09'),(153,10890,'spce','2012-09-03 16:03:09'),(154,10934,'spce','2012-09-03 16:03:09');
+INSERT INTO `db_schema` VALUES (1,10,'spce','2012-09-03 16:24:20'),(2,20,'spce','2012-09-03 16:24:21'),(3,30,'spce','2012-09-03 16:24:22'),(4,40,'spce','2012-09-03 16:24:22'),(5,50,'spce','2012-09-03 16:24:22'),(6,60,'spce','2012-09-03 16:24:23'),(7,70,'spce','2012-09-03 16:24:23'),(8,80,'spce','2012-09-03 16:24:23'),(9,3972,'spce','2012-09-03 16:24:23'),(10,3975,'spce','2012-09-03 16:24:24'),(11,4026,'spce','2012-09-03 16:24:24'),(12,4042,'spce','2012-09-03 16:24:25'),(13,4063,'spce','2012-09-03 16:24:25'),(14,4085,'spce','2012-09-03 16:24:25'),(15,4095,'spce','2012-09-03 16:24:25'),(16,4112,'spce','2012-09-03 16:24:26'),(17,4145,'spce','2012-09-03 16:24:26'),(18,4496,'spce','2012-09-03 16:24:26'),(19,4665,'spce','2012-09-03 16:24:26'),(20,4668,'spce','2012-09-03 16:24:26'),(21,4701,'spce','2012-09-03 16:24:27'),(22,4711,'spce','2012-09-03 16:24:27'),(23,4712,'spce','2012-09-03 16:24:27'),(24,4717,'spce','2012-09-03 16:24:27'),(25,4735,'spce','2012-09-03 16:24:27'),(26,4762,'spce','2012-09-03 16:24:28'),(27,4832,'spce','2012-09-03 16:24:28'),(28,4875,'spce','2012-09-03 16:24:28'),(29,4968,'spce','2012-09-03 16:24:28'),(30,4984,'spce','2012-09-03 16:24:28'),(31,5000,'spce','2012-09-03 16:24:29'),(32,5249,'spce','2012-09-03 16:24:29'),(33,5283,'spce','2012-09-03 16:24:29'),(34,5300,'spce','2012-09-03 16:24:29'),(35,5347,'spce','2012-09-03 16:24:30'),(36,5471,'spce','2012-09-03 16:24:30'),(37,5472,'spce','2012-09-03 16:24:30'),(38,5538,'spce','2012-09-03 16:24:30'),(39,5543,'spce','2012-09-03 16:24:30'),(40,5553,'spce','2012-09-03 16:24:31'),(41,5603,'spce','2012-09-03 16:24:31'),(42,5604,'spce','2012-09-03 16:24:31'),(43,5607,'spce','2012-09-03 16:24:31'),(44,5670,'spce','2012-09-03 16:24:31'),(45,5708,'spce','2012-09-03 16:24:32'),(46,5709,'spce','2012-09-03 16:24:33'),(47,5722,'spce','2012-09-03 16:24:33'),(48,5726,'spce','2012-09-03 16:24:33'),(49,5728,'spce','2012-09-03 16:24:33'),(50,5737,'spce','2012-09-03 16:24:34'),(51,5744,'spce','2012-09-03 16:24:34'),(52,5749,'spce','2012-09-03 16:24:34'),(53,5800,'spce','2012-09-03 16:24:34'),(54,5824,'spce','2012-09-03 16:24:35'),(55,5826,'spce','2012-09-03 16:24:35'),(56,5831,'spce','2012-09-03 16:24:35'),(57,5833,'spce','2012-09-03 16:24:35'),(58,5843,'spce','2012-09-03 16:24:35'),(59,5973,'spce','2012-09-03 16:24:36'),(60,6254,'spce','2012-09-03 16:24:36'),(61,6346,'spce','2012-09-03 16:24:36'),(62,6424,'spce','2012-09-03 16:24:36'),(63,6425,'spce','2012-09-03 16:24:45'),(64,6435,'spce','2012-09-03 16:24:46'),(65,6436,'spce','2012-09-03 16:24:46'),(66,6459,'spce','2012-09-03 16:24:46'),(67,6465,'spce','2012-09-03 16:24:47'),(68,6551,'spce','2012-09-03 16:24:47'),(69,6560,'spce','2012-09-03 16:24:47'),(70,6568,'spce','2012-09-03 16:24:47'),(71,6619,'spce','2012-09-03 16:24:47'),(72,6624,'spce','2012-09-03 16:24:48'),(73,6643,'spce','2012-09-03 16:24:48'),(74,6712,'spce','2012-09-03 16:24:48'),(75,6746,'spce','2012-09-03 16:24:48'),(76,7006,'spce','2012-09-03 16:24:48'),(77,7036,'spce','2012-09-03 16:24:48'),(78,7065,'spce','2012-09-03 16:24:49'),(79,7095,'spce','2012-09-03 16:24:49'),(80,7209,'spce','2012-09-03 16:24:49'),(81,7252,'spce','2012-09-03 16:24:49'),(82,7259,'spce','2012-09-03 16:24:50'),(83,7260,'spce','2012-09-03 16:24:50'),(84,7485,'spce','2012-09-03 16:24:50'),(85,7493,'spce','2012-09-03 16:24:50'),(86,7496,'spce','2012-09-03 16:24:50'),(87,7500,'spce','2012-09-03 16:24:50'),(88,7644,'spce','2012-09-03 16:24:51'),(89,7647,'spce','2012-09-03 16:24:51'),(90,7655,'spce','2012-09-03 16:24:51'),(91,7656,'spce','2012-09-03 16:24:51'),(92,7764,'spce','2012-09-03 16:24:52'),(93,7937,'spce','2012-09-03 16:24:52'),(94,7991,'spce','2012-09-03 16:24:52'),(95,8169,'spce','2012-09-03 16:24:52'),(96,8293,'spce','2012-09-03 16:24:52'),(97,8378,'spce','2012-09-03 16:24:53'),(98,8408,'spce','2012-09-03 16:24:53'),(99,8461,'spce','2012-09-03 16:24:53'),(100,8466,'spce','2012-09-03 16:24:53'),(101,8467,'spce','2012-09-03 16:24:53'),(102,8629,'spce','2012-09-03 16:24:54'),(103,8704,'spce','2012-09-03 16:24:54'),(104,8846,'spce','2012-09-03 16:24:54'),(105,8878,'spce','2012-09-03 16:24:54'),(106,8997,'spce','2012-09-03 16:24:54'),(107,9069,'spce','2012-09-03 16:24:55'),(108,9086,'spce','2012-09-03 16:24:55'),(109,9106,'spce','2012-09-03 16:24:55'),(110,9114,'spce','2012-09-03 16:24:55'),(111,9119,'spce','2012-09-03 16:24:56'),(112,9150,'spce','2012-09-03 16:24:56'),(113,9154,'spce','2012-09-03 16:24:56'),(114,9159,'spce','2012-09-03 16:24:56'),(115,9166,'spce','2012-09-03 16:24:56'),(116,9187,'spce','2012-09-03 16:24:56'),(117,9188,'spce','2012-09-03 16:24:57'),(118,9204,'spce','2012-09-03 16:24:57'),(119,9205,'spce','2012-09-03 16:24:58'),(120,9221,'spce','2012-09-03 16:24:58'),(121,9222,'spce','2012-09-03 16:24:58'),(122,9228,'spce','2012-09-03 16:24:58'),(123,9249,'spce','2012-09-03 16:24:58'),(124,9256,'spce','2012-09-03 16:24:59'),(125,9303,'spce','2012-09-03 16:24:59'),(126,9312,'spce','2012-09-03 16:24:59'),(127,9458,'spce','2012-09-03 16:24:59'),(128,9625,'spce','2012-09-03 16:25:00'),(129,9630,'spce','2012-09-03 16:25:00'),(130,9665,'spce','2012-09-03 16:25:00'),(131,9675,'spce','2012-09-03 16:25:00'),(132,9702,'spce','2012-09-03 16:25:00'),(133,9703,'spce','2012-09-03 16:25:00'),(134,9723,'spce','2012-09-03 16:25:01'),(135,9733,'spce','2012-09-03 16:25:01'),(136,9791,'spce','2012-09-03 16:25:01'),(137,9868,'spce','2012-09-03 16:25:01'),(138,10180,'spce','2012-09-03 16:25:02'),(139,10203,'spce','2012-09-03 16:25:02'),(140,10210,'spce','2012-09-03 16:25:02'),(141,10268,'spce','2012-09-03 16:25:02'),(142,10272,'spce','2012-09-03 16:25:02'),(143,10287,'spce','2012-09-03 16:25:03'),(144,10290,'spce','2012-09-03 16:25:03'),(145,10331,'spce','2012-09-03 16:25:03'),(146,10332,'spce','2012-09-03 16:25:03'),(147,10423,'spce','2012-09-03 16:25:03'),(148,10538,'spce','2012-09-03 16:25:03'),(149,10639,'spce','2012-09-03 16:25:04'),(150,10728,'spce','2012-09-03 16:25:04'),(151,10860,'spce','2012-09-03 16:25:04'),(152,10877,'spce','2012-09-03 16:25:04'),(153,10890,'spce','2012-09-03 16:25:04'),(154,10934,'spce','2012-09-03 16:25:05');
 /*!40000 ALTER TABLE `db_schema` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -2644,7 +2644,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-03 16:03:01'),(2,2,66,'UPDATE_FALLBACK_INVITE','2012-09-03 16:03:01');
+INSERT INTO `voip_dom_preferences` VALUES (1,2,62,'no','2012-09-03 16:24:56'),(2,2,66,'UPDATE_FALLBACK_INVITE','2012-09-03 16:24:56');
 /*!40000 ALTER TABLE `voip_dom_preferences` ENABLE KEYS */;
 UNLOCK TABLES;
 /*!50003 SET @saved_cs_client      = @@character_set_client */ ;
@@ -3472,7 +3472,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-03 16:02:31',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-03 16:02:31',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-03 16:03:07',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-03 16:02:31',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-03 16:02:31',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-03 16:03:07',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-03 16:02:31',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-03 16:02:31',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-03 16:02:31',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-03 16:02:31',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-03 16:02:31',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-03 16:02:55',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-03 16:02:55',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-03 16:02:55',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-03 16:02:55',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-03 16:02:31',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-03 16:03:07',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-03 16:02:31',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-03 16:02:31',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-03 16:02:31',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-03 16:02:58',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-03 16:02:31',1,'int',0,NULL),(24,'adm_ncos_id',1,1,1,0,0,'2012-09-03 16:02:31',1,'int',0,NULL),(29,'ncos',0,1,1,0,0,'2012-09-03 16:02:31',-1,'string',0,'Specifies the NCOS level that applies to the user.'),(30,'adm_ncos',0,1,1,0,0,'2012-09-03 16:02:31',-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-03 16:02:31',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-03 16:02:31',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-03 16:02:33',0,'string',0,'A username used for authentication against the peer host.'),(34,'peer_auth_pass',0,1,1,0,1,'2012-09-03 16:02:33',0,'string',0,'A password used for authentication against the peer host.'),(35,'unauth_inbound_calls',1,1,0,1,0,'2012-09-03 16:02:33',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-03 16:02:36',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-03 16:02:36',0,'boolean',0,'Force rtp relay for this peer/domain/user.'),(39,'never_use_rtpproxy',1,1,1,1,1,'2012-09-03 16:02:36',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-03 16:02:36',0,'boolean',0,'Specifies whether registration at the peer host is desired.'),(41,'concurrent_max',1,1,1,1,1,'2012-09-03 16:02:36',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-03 16:02:36',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-03 16:02:36',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-03 16:02:56',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-03 16:02:39',1,'int',0,NULL),(46,'ext_contract_id',0,1,1,0,0,'2012-09-03 16:02:39',1,'string',0,NULL),(47,'ext_subscriber_id',0,1,1,0,0,'2012-09-03 16:02:39',1,'string',0,NULL),(48,'find_subscriber_by_uuid',1,1,0,0,1,'2012-09-03 16:03:03',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-03 16:02:40',-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-03 16:02:40',1,'int',0,NULL),(52,'rewrite_callee_in_dpid',1,1,1,1,1,'2012-09-03 16:02:40',1,'int',0,NULL),(53,'rewrite_caller_out_dpid',1,1,1,1,1,'2012-09-03 16:02:40',1,'int',0,NULL),(54,'rewrite_callee_out_dpid',1,1,1,1,1,'2012-09-03 16:02:40',1,'int',0,NULL),(55,'e164_to_ruri',1,1,1,0,0,'2012-09-03 16:02:41',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-03 16:03:07',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-03 16:02:52',1,'boolean',0,NULL),(58,'always_use_ipv4_for_rtpproxy',1,1,1,1,1,'2012-09-03 16:02:54',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-03 16:02:54',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-03 16:02:56',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-03 16:02:58',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-03 16:02:59',0,'enum',0,'Enable SIP Session Timers.'),(63,'sst_expires',1,1,1,1,1,'2012-09-03 16:02:59',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-03 16:02:59',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-03 16:02:59',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-03 16:02:59',0,'enum',0,'SIP Session Timers refresh method.'),(67,'sound_set',1,1,1,1,0,'2012-09-03 16:03:00',0,'int',0,'Soundset'),(68,'reject_emergency',1,1,1,1,0,'2012-09-03 16:03:03',0,'boolean',0,'Reject emergency calls from this user or domain.'),(69,'emergency_cli',0,1,1,0,0,'2012-09-03 16:03:07',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,'2012-09-03 16:03:04',0,'enum',0,'Outbound socket to be used for SIP communication to this entity'),(71,'inbound_upn',0,1,1,1,1,'2012-09-03 16:03:04',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,'2012-09-03 16:03:04',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-03 16:03:06',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-03 16:03:06',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-03 16:03:06',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-03 16:03:06',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-03 16:03:05',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-03 16:03:07',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-03 16:03:08',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-03 16:03:08',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-03 16:24:26',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-03 16:24:26',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-03 16:25:03',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-03 16:24:26',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-03 16:24:26',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-03 16:25:03',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-03 16:24:26',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-03 16:24:26',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-03 16:24:26',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-03 16:24:26',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-03 16:24:26',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-03 16:24:50',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-03 16:24:50',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-03 16:24:50',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-03 16:24:50',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-03 16:24:26',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-03 16:25:02',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-03 16:24:26',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-03 16:24:26',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-03 16:24:26',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-03 16:24:53',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-03 16:24:26',1,'int',0,NULL),(24,'adm_ncos_id',1,1,1,0,0,'2012-09-03 16:24:26',1,'int',0,NULL),(29,'ncos',0,1,1,0,0,'2012-09-03 16:24:26',-1,'string',0,'Specifies the NCOS level that applies to the user.'),(30,'adm_ncos',0,1,1,0,0,'2012-09-03 16:24:26',-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-03 16:24:26',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-03 16:24:26',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-03 16:24:28',0,'string',0,'A username used for authentication against the peer host.'),(34,'peer_auth_pass',0,1,1,0,1,'2012-09-03 16:24:28',0,'string',0,'A password used for authentication against the peer host.'),(35,'unauth_inbound_calls',1,1,0,1,0,'2012-09-03 16:24:28',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-03 16:24:31',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-03 16:24:30',0,'boolean',0,'Force rtp relay for this peer/domain/user.'),(39,'never_use_rtpproxy',1,1,1,1,1,'2012-09-03 16:24:30',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-03 16:24:31',0,'boolean',0,'Specifies whether registration at the peer host is desired.'),(41,'concurrent_max',1,1,1,1,1,'2012-09-03 16:24:31',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-03 16:24:31',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-03 16:24:31',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-03 16:24:50',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-03 16:24:33',1,'int',0,NULL),(46,'ext_contract_id',0,1,1,0,0,'2012-09-03 16:24:33',1,'string',0,NULL),(47,'ext_subscriber_id',0,1,1,0,0,'2012-09-03 16:24:33',1,'string',0,NULL),(48,'find_subscriber_by_uuid',1,1,0,0,1,'2012-09-03 16:24:58',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-03 16:24:35',-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-03 16:24:35',1,'int',0,NULL),(52,'rewrite_callee_in_dpid',1,1,1,1,1,'2012-09-03 16:24:35',1,'int',0,NULL),(53,'rewrite_caller_out_dpid',1,1,1,1,1,'2012-09-03 16:24:35',1,'int',0,NULL),(54,'rewrite_callee_out_dpid',1,1,1,1,1,'2012-09-03 16:24:35',1,'int',0,NULL),(55,'e164_to_ruri',1,1,1,0,0,'2012-09-03 16:24:36',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-03 16:25:02',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-03 16:24:46',1,'boolean',0,NULL),(58,'always_use_ipv4_for_rtpproxy',1,1,1,1,1,'2012-09-03 16:24:48',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-03 16:24:48',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-03 16:24:50',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-03 16:24:53',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-03 16:24:54',0,'enum',0,'Enable SIP Session Timers.'),(63,'sst_expires',1,1,1,1,1,'2012-09-03 16:24:54',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-03 16:24:54',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-03 16:24:54',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-03 16:24:54',0,'enum',0,'SIP Session Timers refresh method.'),(67,'sound_set',1,1,1,1,0,'2012-09-03 16:24:54',0,'int',0,'Soundset'),(68,'reject_emergency',1,1,1,1,0,'2012-09-03 16:24:58',0,'boolean',0,'Reject emergency calls from this user or domain.'),(69,'emergency_cli',0,1,1,0,0,'2012-09-03 16:25:03',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,'2012-09-03 16:24:59',0,'enum',0,'Outbound socket to be used for SIP communication to this entity'),(71,'inbound_upn',0,1,1,1,1,'2012-09-03 16:24:59',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,'2012-09-03 16:24:59',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-03 16:25:01',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-03 16:25:01',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-03 16:25:01',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-03 16:25:01',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-03 16:25:00',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-03 16:25:02',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-03 16:25:03',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-03 16:25:03',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 */ ;
@@ -4175,7 +4175,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','499187eef57cdee845f8e98bf81c04b4',0,NULL,NULL,NULL,NULL,NULL,'2012-09-03 16:02:41','2012-09-03 16:02:41'),(4,'nagios',2,'ac1697cf-6933-45ef-9abf-b1278054ded0','nagios4Sipwise!',0,NULL,NULL,NULL,NULL,NULL,'2012-09-03 16:02:41','2012-09-03 16:02:41');
+INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','3ce39530696080435b2625be8de48786',0,NULL,NULL,NULL,NULL,NULL,'2012-09-03 16:24:36','2012-09-03 16:24:36'),(4,'nagios',2,'ac1697cf-6933-45ef-9abf-b1278054ded0','nagios4Sipwise!',0,NULL,NULL,NULL,NULL,NULL,'2012-09-03 16:24:36','2012-09-03 16:24:36');
 /*!40000 ALTER TABLE `voip_subscribers` ENABLE KEYS */;
 UNLOCK TABLES;
 /*!50003 SET @saved_cs_client      = @@character_set_client */ ;