mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Make follow_me_strategy more flexible.
This commit is contained in:
@@ -15,12 +15,13 @@
|
|||||||
|
|
||||||
-- 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>
|
||||||
-- Portions created by the Initial Developer are Copyright (C) 2019
|
-- Portions created by the Initial Developer are Copyright (C) 2019 - 2020
|
||||||
-- the Initial Developer. All Rights Reserved.
|
-- the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
--includes
|
--includes
|
||||||
local Database = require "resources.functions.database";
|
local Database = require "resources.functions.database";
|
||||||
local route_to_bridge = require "resources.functions.route_to_bridge"
|
local route_to_bridge = require "resources.functions.route_to_bridge"
|
||||||
|
local Settings = require "resources.functions.lazy_settings"
|
||||||
require "resources.functions.trim";
|
require "resources.functions.trim";
|
||||||
|
|
||||||
--get the variables
|
--get the variables
|
||||||
@@ -50,7 +51,7 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
--set the strategy
|
--set the strategy
|
||||||
follow_me_strategy = 'enterprise'; --simultaneous, enterprise
|
local follow_me_strategy = settings:get('follow_me', 'strategy', 'text') or 'enterprise'; --simultaneous, enterprise
|
||||||
|
|
||||||
--include json library
|
--include json library
|
||||||
debug["sql"] = false;
|
debug["sql"] = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user