From 7d717e95792ce8305891ddbd7f5dd50b9b8acead Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Wed, 11 Mar 2015 14:20:06 +0100 Subject: [PATCH] MT#12053 Add conference_max_participants preference and sound handle --- db_scripts/diff/15153.up | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 db_scripts/diff/15153.up diff --git a/db_scripts/diff/15153.up b/db_scripts/diff/15153.up new file mode 100644 index 00000000..a01952dd --- /dev/null +++ b/db_scripts/diff/15153.up @@ -0,0 +1,17 @@ +USE provisioning +SET autocommit=0; + +SELECT id INTO @grpid FROM voip_preference_groups WHERE name = 'Internals'; + +INSERT INTO voip_preferences( + id,voip_preference_groups_id, attribute, label, type, max_occur, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, expose_to_customer, + data_type, read_only, description + ) VALUES + (NULL, @grpid, 'conference_max_participants', 'Maximum Number of Participants in Conference Room', 0, 1, 0, 0, 0, 0, 1, now(), 0, 1, + 'string', 0, 'Maximum Number of simultaneous participants in one conference room.' + ); + +SELECT id FROM voip_sound_groups WHERE name='conference' INTO @grp_id; +INSERT INTO voip_sound_handles (name,group_id) VALUES ('conference_max_participants', @grp_id); + +commit;