From b342a0f8da6536c30f18a3333fc83bb5f944a4a3 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Thu, 26 Feb 2015 06:24:29 +0100 Subject: [PATCH] MT#11615 introduce preference ignore_cf_when_hunting --- db_scripts/diff/15149.up | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db_scripts/diff/15149.up diff --git a/db_scripts/diff/15149.up b/db_scripts/diff/15149.up new file mode 100644 index 00000000..f24bb907 --- /dev/null +++ b/db_scripts/diff/15149.up @@ -0,0 +1,11 @@ +USE provisioning + +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, 'ignore_cf_when_hunting', 'Ignore Call Forward when Hunting', 1, 1, 0, 0, 1, 0, 1, now(), 0, 1, + 'boolean', 0, 'Ignore the Call Forward from a Cloud PBX subscriber when it is called within a huntgroup' + );