Add an option to the select Greeting: none (#6356)

* Update play_greeting.lua

* Update voicemail_edit.php
This commit is contained in:
FusionPBX
2022-05-02 12:09:20 -06:00
committed by GitHub
parent eee7786529
commit 791d0046c0
2 changed files with 7 additions and 1 deletions

View File

@@ -47,6 +47,11 @@
dtmf_digits = '';
if (string.len(greeting_id) > 0 and greeting_id ~= "default") then
--greeting set to none, return without a greeting
if (greeting_id == "0") then
return true;
end
--sleep
session:execute("playback","silence_stream://200");