From 2771fe837ae451ecb0ce661f2c2279232391a447 Mon Sep 17 00:00:00 2001 From: borisk1976 <33390094+borisk1976@users.noreply.github.com> Date: Mon, 24 Dec 2018 00:06:40 +0500 Subject: [PATCH] Update index.lua (#3953) When bridge application ends with "originate_disposition: ALLOTTED_TIMEOUT" for example, the "missed call" feature doesn't work for ring group because of hangup hook isn't called. Should we just avoid using this channel variable or add additional processing at the end? Like for timeout action? I choose to call "missed" at the end of script. But may be we should add it to other places too? --- resources/install/scripts/app/ring_groups/index.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/install/scripts/app/ring_groups/index.lua b/resources/install/scripts/app/ring_groups/index.lua index 33922303e7..a143685225 100644 --- a/resources/install/scripts/app/ring_groups/index.lua +++ b/resources/install/scripts/app/ring_groups/index.lua @@ -879,6 +879,8 @@ if ring_group_timeout_app and #ring_group_timeout_app > 0 then session:execute(ring_group_timeout_app, ring_group_timeout_data); end + --check and report missed call + missed() end else if (ring_group_timeout_app ~= nil) then