mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add an option to the select Greeting: none (#6356)
* Update play_greeting.lua * Update voicemail_edit.php
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user