Update follow_me.lua
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
--
|
--
|
||||||
-- The Initial Developer of the Original Code is
|
-- The Initial Developer of the Original Code is
|
||||||
-- Mark J Crane <markjcrane@fusionpbx.com>
|
-- Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
-- Copyright (C) 2010-2014
|
-- Copyright (C) 2010-2018
|
||||||
-- the Initial Developer. All Rights Reserved.
|
-- the Initial Developer. All Rights Reserved.
|
||||||
--
|
--
|
||||||
-- Contributor(s):
|
-- Contributor(s):
|
||||||
@@ -138,11 +138,6 @@
|
|||||||
|
|
||||||
--update the extension
|
--update the extension
|
||||||
sql = "update v_extensions set ";
|
sql = "update v_extensions set ";
|
||||||
if (enabled == "true") then
|
|
||||||
sql = sql .. "dial_string = null, ";
|
|
||||||
else
|
|
||||||
sql = sql .. "dial_string = :dial_string, ";
|
|
||||||
end
|
|
||||||
sql = sql .. "do_not_disturb = 'false', ";
|
sql = sql .. "do_not_disturb = 'false', ";
|
||||||
sql = sql .. "forward_all_enabled= 'false' ";
|
sql = sql .. "forward_all_enabled= 'false' ";
|
||||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||||
|
|||||||
Reference in New Issue
Block a user