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.
This commit is contained in:
David Jacob 2023-02-16 17:51:01 -05:00 committed by GitHub
parent 5fe06f76c1
commit ae98ad2d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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