From d98e054f3449aac858c05f4c7ee8362de2506c4b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 30 May 2023 17:12:52 -0600 Subject: [PATCH] Update follow me delay calculated with the database --- app/scripts/resources/scripts/app/follow_me/index.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/follow_me/index.lua b/app/scripts/resources/scripts/app/follow_me/index.lua index e944bfdfe7..3b05f19d09 100644 --- a/app/scripts/resources/scripts/app/follow_me/index.lua +++ b/app/scripts/resources/scripts/app/follow_me/index.lua @@ -242,7 +242,7 @@ --get the follow me destinations if (follow_me_uuid ~= nil) then sql = "select d.domain_uuid, d.domain_name, f.follow_me_destination as destination_number, "; - sql = sql .. "f.follow_me_delay as destination_delay, f.follow_me_timeout as destination_timeout, "; + sql = sql .. "f.follow_me_delay * 500 as destination_delay, f.follow_me_timeout as destination_timeout, "; sql = sql .. "f.follow_me_prompt as destination_prompt "; sql = sql .. "from v_follow_me_destinations as f, v_domains as d "; sql = sql .. "where f.follow_me_uuid = :follow_me_uuid ";