TT#40081 add pai_clir and clip_no_screening preferences

* clip_no_screening - boolean, usr_prof only
    * pai_clir - boolean, usr_prof only

Change-Id: Ie8a5842b40fb8bb40a5df0e4d03fb5a4ec9b5b7f
changes/54/22454/1
Kirill Solomko 8 years ago
parent 43e2607a70
commit e40abb43b6

@ -0,0 +1,6 @@
USE provisioning;
DELETE FROM voip_preferences WHERE attribute = 'clip_no_screening';
DELETE FROM voip_preferences WHERE attribute = 'pai_clir';
COMMIT;

@ -0,0 +1,45 @@
USE provisioning;
INSERT INTO voip_preferences
SET
voip_preference_groups_id = (select id from voip_preference_groups where name="Access Restrictions"),
attribute = "clip_no_screening",
label = "CLIP no screening",
type = 1,
max_occur = 1,
usr_pref = 1,
prof_pref = 0,
dom_pref = 0,
peer_pref = 0,
contract_pref = 0,
contract_location_pref = 0,
dev_pref = 0,
devprof_pref = 0,
internal = 0,
expose_to_customer = 1,
data_type = "boolean",
read_only = 0,
description = 'CLIP no screening, when enabled the UPN in From is not checked by allowed_clis and accepted be anything';
INSERT INTO voip_preferences
SET
voip_preference_groups_id = (select id from voip_preference_groups where name="Number Manipulations"),
attribute = "pai_clir",
label = "P-Asserted-Identify CLIR",
type = 1,
max_occur = 1,
usr_pref = 1,
prof_pref = 0,
dom_pref = 0,
peer_pref = 0,
contract_pref = 0,
contract_location_pref = 0,
dev_pref = 0,
devprof_pref = 0,
internal = 0,
expose_to_customer = 1,
data_type = "boolean",
read_only = 0,
description = 'P-Asserted-Identity header is anonymized if the preference is enabled';
COMMIT;
Loading…
Cancel
Save