From 0b4d67738bd8780e99fbd7c6042c5b92bba71128 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 8 Oct 2013 20:07:47 +0200 Subject: [PATCH] MT#4025 Add contract_sound_set usr preference. This is used for customer-specific announcements like PBX AA and office-hours. While at it, enhance sound_set preference description. --- db_scripts/diff/15021.down | 9 +++++++++ db_scripts/diff/15021.up | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 db_scripts/diff/15021.down create mode 100644 db_scripts/diff/15021.up diff --git a/db_scripts/diff/15021.down b/db_scripts/diff/15021.down new file mode 100644 index 00000000..1cda3d9a --- /dev/null +++ b/db_scripts/diff/15021.down @@ -0,0 +1,9 @@ +USE provisioning; + +UPDATE voip_preferences SET + label='Sound Set', + description='Soundset' +WHERE attribute = 'sound_set'; + +DELETE FROM voip_preferences WHERE attribute = 'contract_sound_set'; + diff --git a/db_scripts/diff/15021.up b/db_scripts/diff/15021.up new file mode 100644 index 00000000..03abe7f6 --- /dev/null +++ b/db_scripts/diff/15021.up @@ -0,0 +1,13 @@ +USE provisioning; + +UPDATE voip_preferences SET + label='System Sound Set', + description='Sound Set used for system prompts like error announcements etc.' +WHERE attribute = 'sound_set'; + +INSERT INTO voip_preferences VALUES( + NULL, 5, 'contract_sound_set', 'Customer Sound Set', + 1, 1, 1, 0, 0, now(), 0, 1, 'int', 0, + 'Customer specific Sound Set used for PBX auto-attendant prompts, customer-specific announcements etc.' +); +