From c93ca4b8050a77036745efad485fb9e09286c101 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Tue, 22 Jul 2014 16:42:01 +0200 Subject: [PATCH] MT#7673 create preference voicemail_echo_number --- db_scripts/diff/15089.down | 4 ++++ db_scripts/diff/15089.up | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 db_scripts/diff/15089.down create mode 100644 db_scripts/diff/15089.up diff --git a/db_scripts/diff/15089.down b/db_scripts/diff/15089.down new file mode 100644 index 00000000..44dfd7c4 --- /dev/null +++ b/db_scripts/diff/15089.down @@ -0,0 +1,4 @@ +USE provisioning + +DELETE FROM`voip_preferences` + WHERE attribute = 'voicemail_echo_number'; diff --git a/db_scripts/diff/15089.up b/db_scripts/diff/15089.up new file mode 100644 index 00000000..bbe162fc --- /dev/null +++ b/db_scripts/diff/15089.up @@ -0,0 +1,5 @@ +USE provisioning + +SELECT id INTO @vpgid FROM voip_preference_groups WHERE name = 'Number Manipulations'; +INSERT INTO `voip_preferences` VALUES (NULL,@vpgid,'voicemail_echo_number','Number to be played in voicebox',1,1,1,0,0,0,now(),0,0,'string',0,'If set, will be played as Number of the voicebox owner. Otherwise the number of the preference "cli" is used.'); +