From 2b60e5d11552cc04d697a26cf973ab2036c49671 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Wed, 15 Aug 2012 21:24:40 +0000 Subject: [PATCH] db rev script for extension_in_npn preference --- db_scripts/diff/10268.down | 3 +++ db_scripts/diff/10268.up | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 db_scripts/diff/10268.down create mode 100644 db_scripts/diff/10268.up diff --git a/db_scripts/diff/10268.down b/db_scripts/diff/10268.down new file mode 100644 index 00000000..18cf652f --- /dev/null +++ b/db_scripts/diff/10268.down @@ -0,0 +1,3 @@ +use provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'extension_in_npn'; diff --git a/db_scripts/diff/10268.up b/db_scripts/diff/10268.up new file mode 100644 index 00000000..8d612c67 --- /dev/null +++ b/db_scripts/diff/10268.up @@ -0,0 +1,4 @@ +use provisioning; + +INSERT INTO voip_preferences (attribute, type, usr_pref, dom_pref, peer_pref, data_type, max_occur, description) + VALUES('extension_in_npn', 1, 1, 1, 0, 'boolean', 1, 'Search for partial match of user-provided number (UPN) to subscriber\'s primary E164 number and aliases. If it mathes, take UPN as valid wihout allowed_clis check and copy UPN to network-provided number (NPN).');