From f591c04f226bdeee60ddd9522ee0ae1754bc707d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 4 Aug 2022 12:43:16 -0600 Subject: [PATCH] Update index.lua --- app/scripts/resources/scripts/app/ring_groups/index.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/app/ring_groups/index.lua b/app/scripts/resources/scripts/app/ring_groups/index.lua index 82918e98cd..831e1bd2ec 100644 --- a/app/scripts/resources/scripts/app/ring_groups/index.lua +++ b/app/scripts/resources/scripts/app/ring_groups/index.lua @@ -1,5 +1,5 @@ -- Part of FusionPBX --- Copyright (C) 2010-2020 Mark J Crane +-- Copyright (C) 2010-2022 Mark J Crane -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -302,6 +302,10 @@ --check the missed calls function missed() + --add missed call channel variable + if (session) then + session:setVariable("missed_call", 'true'); + end --send missed call email if (missed_call_app ~= nil and missed_call_data ~= nil) then