From 8fccfc74e2359140f01a42588609ae83264c21bf Mon Sep 17 00:00:00 2001 From: Marco Capetta Date: Mon, 11 Jul 2022 15:43:10 +0200 Subject: [PATCH] TT#179901 Discontinue iNew dedicated features and code (part 2) Remove party_call_control suscbriber's preference Change-Id: Ie23585b03526e6cf2f71c09cedb14040293f0d22 --- db_scripts/diff/15736.down | 20 ++++++++++++++++++++ db_scripts/diff/15736.up | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 db_scripts/diff/15736.down create mode 100644 db_scripts/diff/15736.up diff --git a/db_scripts/diff/15736.down b/db_scripts/diff/15736.down new file mode 100644 index 00000000..c47b463f --- /dev/null +++ b/db_scripts/diff/15736.down @@ -0,0 +1,20 @@ +use provisioning; +set autocommit=0; + +SELECT id into @vpg_id FROM voip_preference_groups where name = 'Applications'; +INSERT INTO voip_preferences ( + voip_preference_groups_id, attribute, label, + type, max_occur, usr_pref, prof_pref, + dom_pref, peer_pref, contract_pref, contract_location_pref, + modify_timestamp, internal, expose_to_customer, + data_type, read_only, + description) + VALUES + (@vpg_id, 'party_call_control', 'Party Call Control', + 0, 1, 1, 1, + 1, 0, 1, 0, + NOW(), 0, 0, + 'boolean', 0, + 'Enable Party Call Control (PCC) Application to route calls to a remote API server first and continue the call only upon an accepted reply'); + +commit; \ No newline at end of file diff --git a/db_scripts/diff/15736.up b/db_scripts/diff/15736.up new file mode 100644 index 00000000..1f47ebb6 --- /dev/null +++ b/db_scripts/diff/15736.up @@ -0,0 +1,6 @@ +use provisioning; +set autocommit=0; + +DELETE from voip_preferences where attribute = 'party_call_control'; + +commit; \ No newline at end of file