From 50529552a164b81af8b5a441b820aca6128f4e22 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 5 Mar 2019 13:46:50 +0100 Subject: [PATCH] TT#51168 Use proper type for location_from_subscriber_mode Must be 0 for string-key/string-val instead of 1 for string-key/int-val, otherwise kamailio complains about invalid int parameter in lua script. Change-Id: I3421f3706efab9703fb046e0c6981785bb4bc696 --- db_scripts/diff/15515.down | 4 ++++ db_scripts/diff/15515.up | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 db_scripts/diff/15515.down create mode 100644 db_scripts/diff/15515.up diff --git a/db_scripts/diff/15515.down b/db_scripts/diff/15515.down new file mode 100644 index 00000000..30409ea8 --- /dev/null +++ b/db_scripts/diff/15515.down @@ -0,0 +1,4 @@ +USE provisioning; + +UPDATE voip_preferences + SET type = 1 WHERE attribute = 'location_from_subscriber_mode'; diff --git a/db_scripts/diff/15515.up b/db_scripts/diff/15515.up new file mode 100644 index 00000000..1ffb66ba --- /dev/null +++ b/db_scripts/diff/15515.up @@ -0,0 +1,4 @@ +USE provisioning; + +UPDATE voip_preferences + SET type = 0 WHERE attribute = 'location_from_subscriber_mode';