From ae98ad2d49599b53e006bd3a9b21a6faf5d2e13f Mon Sep 17 00:00:00 2001 From: David Jacob Date: Thu, 16 Feb 2023 17:51:01 -0500 Subject: [PATCH] Fix page issue of hold music heard (#6555) Adding "mintwo" flag will tell the system that there has to be a minimum of two people in the conference to keep it open. This fixes the problem of when a user initiates a *8[ext] to someone and the far end hangs up and the initiator does not hang up the line they will hear hold music till they hang up. Adding this will disconnect the intercom page if either party hangs up the call. --- app/scripts/resources/scripts/page.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/scripts/page.lua b/app/scripts/resources/scripts/page.lua index eaeb2d5e52..a1a7226670 100644 --- a/app/scripts/resources/scripts/page.lua +++ b/app/scripts/resources/scripts/page.lua @@ -250,7 +250,7 @@ else moderator_flag = ""; end - session:execute("conference", conference_bridge.."+flags{endconf"..moderator_flag.."}"); + session:execute("conference", conference_bridge.."+flags{endconf,mintwo"..moderator_flag.."}"); else session:execute("playback", "tone_stream://%(500,500,480,620);loops=3"); end