From 7ae378e3950386c58a854f3f07817321bd0bad30 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Mon, 19 Jan 2015 13:56:50 +0100 Subject: [PATCH] MT#11005 add queue wrap-up time and max length prefs Change-Id: I0d51bb1057a2fd0e8692898edda7e6bef2a4457c --- db_scripts/diff/15137.up | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 db_scripts/diff/15137.up diff --git a/db_scripts/diff/15137.up b/db_scripts/diff/15137.up new file mode 100644 index 00000000..4f04e1f2 --- /dev/null +++ b/db_scripts/diff/15137.up @@ -0,0 +1,17 @@ +USE provisioning +set autocommit=0; + +SELECT id INTO @vppbxid FROM voip_preference_groups WHERE name = 'Cloud PBX'; + +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, @vppbxid, 'max_queue_length', 'Call Queue length', 0, 1, 1, 0, 0, 0, 0, now(), 0, 1, + 'string', 0, 'Maximum number of callers in a PBX Call Queue. By default 5' + ), + (NULL, @vppbxid, 'queue_wrap_up_time', 'Call Queue wrap-up time, sec', 0, 1, 1, 0, 0, 0, 0, now(), 0, 1, + 'string', 0, 'Idle interval before connecting first caller in PBX Call Queue. By default it is 10 seconds' + ); + +commit;