Move the 'log_debug' preference in the 'Internals' group.
Hide the 'log_debug' preference on domain and profile level,
Withdraw the usage of this preference on subscriber and customer level.
Change-Id: Id62962aa9b69d330ecaf43f78292e4934f4d6e1f
SET @group_id = (SELECT id FROM voip_preference_groups WHERE name = 'Cloud PBX' LIMIT 1);
SET @group_id = (SELECT id FROM voip_preference_groups WHERE name = 'Internals' LIMIT 1);
INSERT INTO voip_preferences SET
voip_preference_groups_id = @group_id,
@ -10,8 +10,8 @@ label = 'Debug log level',
type = 1,
max_occur = 1,
usr_pref = 1,
prof_pref = 1,
dom_pref = 1,
prof_pref = 0,
dom_pref = 0,
peer_pref = 1,
contract_pref = 0,
contract_location_pref = 0,
@ -20,12 +20,12 @@ devprof_pref = 0,
fielddev_pref = 0,
modify_timestamp = now(),
internal = 0,
expose_to_customer = 1,
expose_to_customer = 0,
data_type = 'boolean',
read_only = 0,
description = 'Enable scoped SIP debug logging for subscriber, domain, or peer. When enabled, all log levels for dialogs in this scope are promoted to be recorded regardless of the global proxy log setting. The default is disabled.',
@ -4162,7 +4162,7 @@ INSERT INTO `voip_preferences` VALUES (408,3,'otp_secret','OTP Secret',0,1,1,0,0
INSERTINTO`voip_preferences`VALUES(409,3,'show_otp_registration_info','Show OTP Registration Info',0,1,1,0,0,0,0,0,0,0,0,'1970-01-01 00:00:01',1,0,'boolean',1,'Show Time-based One-Time-Password (TOTP) secret and registration info for the next CSC logins.',0,0,0);
INSERTINTO`voip_preferences`VALUES(410,3,'dnd','Do Not Disturb (DND) mode',1,1,1,1,0,0,0,0,0,0,0,'1970-01-01 00:00:01',0,1,'boolean',0,'Enable Do Not Disturb (DND) mode. If activated the subscriber will not receive any call. The call forwards will not be taken into account.',0,0,1);
INSERTINTO`voip_preferences`VALUES(411,4,'colr','Hide own number for inbound calls',1,1,1,0,0,0,0,0,0,0,0,'1970-01-01 00:00:01',0,1,'boolean',0,'\'Connectedlineidentificationrestriction\' - if set to true, the CLI is not displayed to the remote party on incoming calls.',0,0,1);
INSERTINTO`voip_preferences`VALUES(412,9,'log_debug','Debug log level',1,1,1,1,1,1,0,0,0,0,0,'1970-01-01 00:00:01',0,1,'boolean',0,'Enable scoped SIP debug logging for subscriber, domain, or peer. When enabled, all log levels for dialogs in this scope are promoted to be recorded regardless of the global proxy log setting. The default is disabled.',0,0,1);
INSERTINTO`voip_preferences`VALUES(412,8,'log_debug','Debug log level',1,1,1,0,0,1,0,0,0,0,0,'1970-01-01 00:00:01',0,0,'boolean',0,'Enable scoped SIP debug logging for subscriber, domain, or peer. When enabled, all log levels for dialogs in this scope are promoted to be recorded regardless of the global proxy log setting. The default is disabled.',0,0,0);