MT#56845 New subscriber preference: `cloud_pbx_hunt_cancel_mode`, schemes update

Change-Id: Icb774c5d4b0c16a9aa8812d05fc3c4f38c0b1e98
mr11.5
Sipwise Jenkins Builder 3 years ago
parent 91f1ea3e52
commit b5154890b1

@ -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','231501f187a03194d714cfd6d7864656','de88af620556a96ead8284902c8e26c2','327520841144ed8f1b326fe8be3e2afd','9bcb88b6-541a-43da-8fdc-816f5557ff93','',NOW());
INSERT INTO `subscriber` VALUES (1,'no_such_number','voip.sipwise.local','0676c2e016a3b2215c045ae25f81df38','f34bbbf613348b274fd24d8836653356','1c9d1bd99fdba88235f19a8251a29552','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());

@ -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=843 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
) ENGINE=InnoDB AUTO_INCREMENT=844 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 */;
@ -30884,7 +30884,8 @@ 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 `db_schema` VALUES (842,15775,'spce',NOW());
INSERT INTO `db_schema` VALUES (842,15774,'spce',NOW());
INSERT INTO `db_schema` VALUES (843,15775,'spce',NOW());
INSERT INTO `timezone` VALUES ('1','localtime',NOW(),NOW(),NULL);
INSERT INTO `tzinfo_version` VALUES ('1','0',NOW(),NOW());
COMMIT;

@ -6620,7 +6620,7 @@
"COLUMN_TYPE" : "timestamp",
"EXTRA" : "",
"IS_NULLABLE" : "NO",
"ORDINAL_POSITION" : 18,
"ORDINAL_POSITION" : 19,
"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" : 17,
"ORDINAL_POSITION" : 18,
"TABLE_NAME" : "voip_subscribers",
"key_col" : "voip_subscribers/modify_timestamp"
},
@ -6704,10 +6704,22 @@
"COLUMN_TYPE" : "varchar(255)",
"EXTRA" : "",
"IS_NULLABLE" : "YES",
"ORDINAL_POSITION" : 14,
"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"
},
"voip_subscribers/pbx_hunt_policy" : {
"CHARACTER_SET_NAME" : "utf8mb3",
"COLLATION_NAME" : "utf8mb3_general_ci",
@ -6740,7 +6752,7 @@
"COLUMN_TYPE" : "int(11) unsigned",
"EXTRA" : "",
"IS_NULLABLE" : "YES",
"ORDINAL_POSITION" : 16,
"ORDINAL_POSITION" : 17,
"TABLE_NAME" : "voip_subscribers",
"key_col" : "voip_subscribers/profile_id"
},
@ -6752,7 +6764,7 @@
"COLUMN_TYPE" : "int(11) unsigned",
"EXTRA" : "",
"IS_NULLABLE" : "YES",
"ORDINAL_POSITION" : 15,
"ORDINAL_POSITION" : 16,
"TABLE_NAME" : "voip_subscribers",
"key_col" : "voip_subscribers/profile_set_id"
},

@ -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=398 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
) ENGINE=InnoDB AUTO_INCREMENT=399 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=388 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
) ENGINE=InnoDB AUTO_INCREMENT=390 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,6 +1455,7 @@ 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,
@ -3886,6 +3887,7 @@ 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);
@ -4237,6 +4239,8 @@ 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');
@ -4401,7 +4405,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','231501f187a03194d714cfd6d7864656',0,NULL,NULL,NULL,0,0,'none',NULL,NULL,NULL,NULL,NOW(),NOW());
INSERT INTO `voip_subscribers` VALUES (3,'no_such_number',2,'9bcb88b6-541a-43da-8fdc-816f5557ff93','0676c2e016a3b2215c045ae25f81df38',0,NULL,NULL,NULL,0,0,'none',NULL,'cancel',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());

Loading…
Cancel
Save