From bc275c5cde17abae35d9093692cc66e359cb3236 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Fri, 28 May 2021 12:59:24 +0200 Subject: [PATCH] TT#91051 SHAKEN related voip_preferences * stir_check to enable Identity validation Change-Id: I71bcf9bd93857c0961f0d611289062187c3dad9e --- db_scripts/diff/15681.down | 3 +++ db_scripts/diff/15681.up | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 db_scripts/diff/15681.down create mode 100644 db_scripts/diff/15681.up diff --git a/db_scripts/diff/15681.down b/db_scripts/diff/15681.down new file mode 100644 index 00000000..a56946be --- /dev/null +++ b/db_scripts/diff/15681.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute in ('stir_check'); diff --git a/db_scripts/diff/15681.up b/db_scripts/diff/15681.up new file mode 100644 index 00000000..d16a740e --- /dev/null +++ b/db_scripts/diff/15681.up @@ -0,0 +1,26 @@ +USE provisioning; +SET autocommit=0; + +SELECT id INTO @vpg_id FROM voip_preference_groups WHERE name='Internals'; + +INSERT INTO voip_preferences SET + voip_preference_groups_id = @vpg_id, + attribute = "stir_check", + label = "Enable STIR Identity validation", + type = 0, + max_occur = 1, + usr_pref = 1, + prof_pref = 0, + dom_pref = 1, + peer_pref = 0, + contract_pref = 0, + contract_location_pref = 0, + dev_pref = 0, + devprof_pref = 0, + internal = 0, + expose_to_customer = 0, + data_type = "boolean", + read_only = 0, + description = "RFC8224 Authenticated Identity Management in the Session Initiation Protocol"; + +commit;