From 94d1a99635b3a2d4c659e9216f7ed9ef23204aa3 Mon Sep 17 00:00:00 2001 From: Sipwise Jenkins Builder Date: Thu, 22 Jun 2023 19:20:55 +0200 Subject: [PATCH] MT#57453 Update schema files for MR11.4 release Change-Id: I63569e674c4bed25710bbdd4cfa7d55c4b11bfd0 --- schema/kamailio.sql | 2 +- schema/ngcp.sql | 3 +-- schema/provisioning.json | 22 +++++----------------- schema/provisioning.sql | 10 +++------- 4 files changed, 10 insertions(+), 27 deletions(-) diff --git a/schema/kamailio.sql b/schema/kamailio.sql index 1ef64e50..3242cbef 100644 --- a/schema/kamailio.sql +++ b/schema/kamailio.sql @@ -1069,7 +1069,7 @@ INSERT INTO `dom_preferences` VALUES (27,'','0','voip.sipwise.local','play_annou INSERT INTO `dom_preferences` VALUES (28,'','0','voip.sipwise.local','mobile_push_enable',0,'never',NOW()); INSERT INTO `dom_preferences` VALUES (29,'','0','voip.sipwise.local','busy_hg_member_mode',0,'ring',NOW()); INSERT INTO `domain` VALUES (1,'voip.sipwise.local',NOW(),NULL); -INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','f18820efc46b27ca1e79defc53a13ce0','9b98383b437577f1d1fb8ea5f6e88bca','273fb5630bf94858f8deac25d0bacc26','9bcb88b6-541a-43da-8fdc-816f5557ff93','',NOW()); +INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','6b359b89c7a97447d0400459b1150a46','2c99fdedfba9f10c80e49c132c7ff432','204bd2896cfae521526ab7ff170291a7','9bcb88b6-541a-43da-8fdc-816f5557ff93','',NOW()); INSERT INTO `usr_preferences` VALUES (1,'9bcb88b6-541a-43da-8fdc-816f5557ff93','no_such_number','voip.sipwise.local','cloud_pbx_hunt_policy',0,'none',NOW()); INSERT INTO `usr_preferences` VALUES (5,'9bcb88b6-541a-43da-8fdc-816f5557ff93','no_such_number','voip.sipwise.local','emergency_location_format',0,'cirpack',NOW()); INSERT INTO `usr_preferences` VALUES (6,'9bcb88b6-541a-43da-8fdc-816f5557ff93','no_such_number','voip.sipwise.local','play_announce_before_recording',0,'never',NOW()); diff --git a/schema/ngcp.sql b/schema/ngcp.sql index a023e38c..5b352979 100644 --- a/schema/ngcp.sql +++ b/schema/ngcp.sql @@ -20,7 +20,7 @@ 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=842 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=841 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; /*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; @@ -30883,7 +30883,6 @@ INSERT INTO `db_schema` VALUES (837,15768,'spce',NOW()); INSERT INTO `db_schema` VALUES (838,15770,'spce',NOW()); INSERT INTO `db_schema` VALUES (839,15771,'spce',NOW()); INSERT INTO `db_schema` VALUES (840,15772,'spce',NOW()); -INSERT INTO `db_schema` VALUES (841,15773,'spce',NOW()); INSERT INTO `timezone` VALUES ('1','localtime',NOW(),NOW(),NULL); INSERT INTO `tzinfo_version` VALUES ('1','0',NOW(),NOW()); COMMIT; diff --git a/schema/provisioning.json b/schema/provisioning.json index f3fe0429..80619e3e 100644 --- a/schema/provisioning.json +++ b/schema/provisioning.json @@ -6620,7 +6620,7 @@ "COLUMN_TYPE" : "timestamp", "EXTRA" : "", "IS_NULLABLE" : "NO", - "ORDINAL_POSITION" : 19, + "ORDINAL_POSITION" : 18, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/create_timestamp" }, @@ -6680,7 +6680,7 @@ "COLUMN_TYPE" : "timestamp", "EXTRA" : "on update current_timestamp()", "IS_NULLABLE" : "NO", - "ORDINAL_POSITION" : 18, + "ORDINAL_POSITION" : 17, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/modify_timestamp" }, @@ -6704,21 +6704,9 @@ "COLUMN_TYPE" : "varchar(255)", "EXTRA" : "", "IS_NULLABLE" : "YES", - "ORDINAL_POSITION" : 15, - "TABLE_NAME" : "voip_subscribers", - "key_col" : "voip_subscribers/pbx_extension" - }, - "voip_subscribers/pbx_hunt_cancel_mode" : { - "CHARACTER_SET_NAME" : "utf8mb3", - "COLLATION_NAME" : "utf8mb3_general_ci", - "COLUMN_DEFAULT" : "'cancel'", - "COLUMN_NAME" : "pbx_hunt_cancel_mode", - "COLUMN_TYPE" : "enum('bye','cancel')", - "EXTRA" : "", - "IS_NULLABLE" : "YES", "ORDINAL_POSITION" : 14, "TABLE_NAME" : "voip_subscribers", - "key_col" : "voip_subscribers/pbx_hunt_cancel_mode" + "key_col" : "voip_subscribers/pbx_extension" }, "voip_subscribers/pbx_hunt_policy" : { "CHARACTER_SET_NAME" : "utf8mb3", @@ -6752,7 +6740,7 @@ "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", - "ORDINAL_POSITION" : 17, + "ORDINAL_POSITION" : 16, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/profile_id" }, @@ -6764,7 +6752,7 @@ "COLUMN_TYPE" : "int(11) unsigned", "EXTRA" : "", "IS_NULLABLE" : "YES", - "ORDINAL_POSITION" : 16, + "ORDINAL_POSITION" : 15, "TABLE_NAME" : "voip_subscribers", "key_col" : "voip_subscribers/profile_set_id" }, diff --git a/schema/provisioning.sql b/schema/provisioning.sql index a941e999..fd0aba73 100644 --- a/schema/provisioning.sql +++ b/schema/provisioning.sql @@ -1186,7 +1186,7 @@ CREATE TABLE `voip_preferences` ( UNIQUE KEY `attribute_idx` (`attribute`), KEY `vpgid_ref` (`voip_preference_groups_id`), CONSTRAINT `vpgid_ref` FOREIGN KEY (`voip_preference_groups_id`) REFERENCES `voip_preference_groups` (`id`) ON UPDATE CASCADE -) ENGINE=InnoDB AUTO_INCREMENT=399 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=398 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; /*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; @@ -1209,7 +1209,7 @@ CREATE TABLE `voip_preferences_enum` ( PRIMARY KEY (`id`), KEY `preference_id` (`preference_id`), CONSTRAINT `voip_preferences_enum_ibfk_1` FOREIGN KEY (`preference_id`) REFERENCES `voip_preferences` (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=390 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=388 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; /*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; @@ -1455,7 +1455,6 @@ CREATE TABLE `voip_subscribers` ( `is_pbx_group` tinyint(1) NOT NULL DEFAULT 0, `pbx_hunt_policy` enum('serial','parallel','random','circular','none') DEFAULT 'none', `pbx_hunt_timeout` int(4) unsigned DEFAULT NULL, - `pbx_hunt_cancel_mode` enum('bye','cancel') DEFAULT 'cancel', `pbx_extension` varchar(255) DEFAULT NULL, `profile_set_id` int(11) unsigned DEFAULT NULL, `profile_id` int(11) unsigned DEFAULT NULL, @@ -3805,7 +3804,6 @@ INSERT INTO `voip_preferences` VALUES (394,8,'csc_device_provisioning','CSC Devi INSERT INTO `voip_preferences` VALUES (395,8,'csc_hunt_groups','CSC Hunt Groups',1,1,1,0,0,0,0,0,0,0,0,NOW(),1,1,'boolean',0,'\'CSC Hunt Groups\' - An internal flag to be able to map Hunt Groups visibility to subscriber profiles. Not directly used',0,0,1); INSERT INTO `voip_preferences` VALUES (396,6,'peer_auth_registrar_server','Specific value for the registrar server',0,1,0,0,0,1,0,0,0,0,0,NOW(),0,0,'string',0,'Registrar server value is used as a registration R-URI as well as From/To domain in the outbound REGISTER.',0,0,0); INSERT INTO `voip_preferences` VALUES (397,8,'reseller_id','Internal Reseller #\'',1,1,1,0,0,0,0,0,0,0,0,NOW(),1,0,'int',0,NULL,0,0,0); -INSERT INTO `voip_preferences` VALUES (398,9,'cloud_pbx_hunt_cancel_mode','termination mode for early stage legs',0,1,1,0,0,0,0,0,0,0,0,NOW(),1,1,'enum',0,'This is a termination mode for call legs in the early dialog stage. Can be: bye or cancel.',0,0,0); INSERT INTO `voip_preferences_enum` VALUES (8,62,'use domain default',NULL,1,1,0,0,NULL,0,0,0,0,NULL,NULL); INSERT INTO `voip_preferences_enum` VALUES (9,62,'no','no',1,1,0,0,NULL,0,0,0,0,NULL,NULL); INSERT INTO `voip_preferences_enum` VALUES (10,62,'no','no',0,0,1,0,NULL,0,0,0,0,1,NULL); @@ -4157,8 +4155,6 @@ INSERT INTO `voip_preferences_enum` VALUES (384,382,'7','7',1,1,1,1,0,0,0,0,0,0, INSERT INTO `voip_preferences_enum` VALUES (385,382,'8 (slower, better quality)','8',1,1,1,1,0,0,0,0,0,0,NULL); INSERT INTO `voip_preferences_enum` VALUES (386,382,'9','9',1,1,1,1,0,0,0,0,0,0,NULL); INSERT INTO `voip_preferences_enum` VALUES (387,382,'10 (slowest, best quality)','10',1,1,1,1,0,0,0,0,0,0,NULL); -INSERT INTO `voip_preferences_enum` VALUES (388,398,'bye','bye',1,0,0,0,0,0,0,0,0,0,0); -INSERT INTO `voip_preferences_enum` VALUES (389,398,'cancel','cancel',1,0,0,0,0,0,0,0,0,0,0); INSERT INTO `voip_sound_groups` VALUES (1,'early_rejects'); INSERT INTO `voip_sound_groups` VALUES (2,'pbx'); INSERT INTO `voip_sound_groups` VALUES (3,'calling_card'); @@ -4323,7 +4319,7 @@ INSERT INTO `voip_sound_handles` VALUES (149,'recent_call_deleted',12,1); INSERT INTO `voip_sound_handles` VALUES (150,'ringback_tone',13,1); INSERT INTO `voip_sound_handles` VALUES (151,'aa_timeout',2,1); INSERT INTO `voip_sound_handles` VALUES (152,'aa_default',2,1); -INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','f18820efc46b27ca1e79defc53a13ce0',0,NULL,NULL,NULL,0,0,'none',NULL,'cancel',NULL,NULL,NULL,NOW(),NOW()); +INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','6b359b89c7a97447d0400459b1150a46',0,NULL,NULL,NULL,0,0,'none',NULL,NULL,NULL,NULL,NOW(),NOW()); INSERT INTO `voip_usr_preferences` VALUES (1,3,97,'none',NOW()); INSERT INTO `voip_usr_preferences` VALUES (7,3,372,'cirpack',NOW()); INSERT INTO `voip_usr_preferences` VALUES (8,3,305,'never',NOW());