From d33a266bd2befd0c0519bf70114dbfe5d6ffc82c Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 20 Oct 2020 15:55:51 -0400 Subject: [PATCH] TT#94201 add new ICE option ice_client_preference Change-Id: I60d69c1b1379adbf31e543994280cdd61f11aa15 --- db_scripts/diff/15637.down | 6 ++++++ db_scripts/diff/15637.up | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 db_scripts/diff/15637.down create mode 100644 db_scripts/diff/15637.up diff --git a/db_scripts/diff/15637.down b/db_scripts/diff/15637.down new file mode 100644 index 00000000..a00116e1 --- /dev/null +++ b/db_scripts/diff/15637.down @@ -0,0 +1,6 @@ +use provisioning; +SET autocommit=0; + +DELETE FROM voip_preferences_enum WHERE label = "Use remote client's ICE preference" and value = 'ice_client_preference'; + +COMMIT; diff --git a/db_scripts/diff/15637.up b/db_scripts/diff/15637.up new file mode 100644 index 00000000..10340b0c --- /dev/null +++ b/db_scripts/diff/15637.up @@ -0,0 +1,13 @@ +USE provisioning; +SET autocommit=0; + + +SELECT preference_id INTO @pref_id FROM voip_preferences_enum WHERE label = 'Always with plain SDP' and value = 'ice_strip_candidates' LIMIT 1; + +INSERT INTO voip_preferences_enum +(preference_id, label, value, usr_pref, dom_pref, peer_pref, contract_pref, prof_pref, default_val) +VALUES +(@pref_id, "Use remote client's ICE preference", 'ice_client_preference', 1, 1, 1, 0, 1, 0); + + +COMMIT;